Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial version for k8sd-proxy #4

Closed
wants to merge 7 commits into from
Closed

Initial version for k8sd-proxy #4

wants to merge 7 commits into from

Conversation

berkayoz
Copy link
Member

@berkayoz berkayoz commented Jun 7, 2024

Adds k8s-proxy daemonset for talking to k8sd api
Adds a generator for getting clients that proxy through the proxy pods like kubectl port-forward

@berkayoz berkayoz requested a review from neoaggelos June 7, 2024 11:22
Copy link
Contributor

@neoaggelos neoaggelos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work to start with, left some comments

pkg/ck8s/k8sd-proxy.yaml Outdated Show resolved Hide resolved
pkg/ck8s/k8sd-proxy.yaml Outdated Show resolved Hide resolved
pkg/ck8s/k8sd_proxy.go Outdated Show resolved Hide resolved
pkg/ck8s/k8sd_proxy.go Outdated Show resolved Hide resolved
pkg/ck8s/k8sd_proxy.go Outdated Show resolved Hide resolved
pkg/ck8s/k8sd_proxy.go Outdated Show resolved Hide resolved
pkg/ck8s/k8sd-proxy.yaml Outdated Show resolved Hide resolved
pkg/ck8s/k8sd-proxy.yaml Outdated Show resolved Hide resolved
pkg/ck8s/k8sd_proxy.go Outdated Show resolved Hide resolved
bootstrap/controllers/ck8sconfig_controller.go Outdated Show resolved Hide resolved
@berkayoz berkayoz requested a review from neoaggelos June 10, 2024 06:21
Copy link
Contributor

@bschimke95 bschimke95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work Berkay.

I just went through the code to understand what is going on and comment on some code style. I leave the LGTM to Angelos.

One question: I see where the k8sd-proxy pod spec is generated but I couldn't find where it is actually deployed? Is this TBD or could you point me to the code?

name: Sync upstream images to ghcr.io

on:
workflow_dispatch:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should probably also be done on push: main, or as part of a cron-job?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried to stick to what we have in k8s-snap repo.

.github/workflows/sync-images.yaml Outdated Show resolved Hide resolved
pkg/ck8s/k8sd_proxy.go Show resolved Hide resolved
hack/tools/regsync.sh Outdated Show resolved Hide resolved
hack/upstream-images.yaml Outdated Show resolved Hide resolved
pkg/ck8s/k8sd_proxy.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants