-
Notifications
You must be signed in to change notification settings - Fork 3.4k
ci: use custom kubeconfig for cilium-cli cloud provider tests #37970
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/test |
/ci-eks |
f909741
to
dbfc100
Compare
/ci-eks |
dbfc100
to
c2f383a
Compare
/ci-eks |
c2f383a
to
b36ac1c
Compare
/ci-eks |
b36ac1c
to
45df39a
Compare
/ci-eks |
45df39a
to
f8898d7
Compare
/ci-aks |
/test |
f8898d7
to
4a2c9e1
Compare
/ci-aks |
4a2c9e1
to
6e509b9
Compare
/test |
/ci-aks |
/net-perf-gke |
/scale-egw |
/ci-gke |
michi-covalent
approved these changes
Mar 7, 2025
sayboras
approved these changes
Mar 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I came across this change as cilium-cli installation step took like 10+ mins in my PR.
gandro
approved these changes
Mar 11, 2025
brlbil
approved these changes
Mar 11, 2025
michi-covalent
added a commit
to cilium/cilium-cli
that referenced
this pull request
Mar 21, 2025
- Make the same change as cilium/cilium#37970 to remove cloud provider CLIs. This way we can use the same Dockerfile for CI and releases. - Get rid of the step to install kubectl. Let's just use the one that comes in the actions runner. - Clean up images.yaml workflow a bit. Remove the steps for generating image digest files since we don't currently use them. - Handle the release environment so that images get pushed to the release repo quay.io/cilium/cilium-cli on tag pushes. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
michi-covalent
added a commit
to cilium/cilium-cli
that referenced
this pull request
Mar 21, 2025
- Make the same change as cilium/cilium#37970 to remove cloud provider CLIs. This way we can use the same Dockerfile for CI and releases. - Get rid of the step to install kubectl. Let's just use the one that comes in the actions runner. - Clean up images.yaml workflow a bit. Remove the steps for generating image digest files since we don't currently use them. - Handle the release environment so that images get pushed to the release repo quay.io/cilium/cilium-cli on tag pushes. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
michi-covalent
added a commit
to cilium/cilium-cli
that referenced
this pull request
Mar 21, 2025
- Make the same change as cilium/cilium#37970 to remove cloud provider CLIs. This way we can use the same Dockerfile for CI and releases. - Get rid of the step to install kubectl. Let's just use the one that comes in the actions runner. - Clean up images.yaml workflow a bit. Remove the steps for generating image digest files since we don't currently use them. - Handle the release environment so that images get pushed to the release repo quay.io/cilium/cilium-cli on tag pushes. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
michi-covalent
added a commit
to cilium/cilium-cli
that referenced
this pull request
Mar 26, 2025
- Make the same change as cilium/cilium#37970 to remove cloud provider CLIs. This way we can use the same Dockerfile for CI and releases. - Get rid of the step to install kubectl. Let's just use the one that comes in the actions runner. - Clean up images.yaml workflow a bit. Remove the steps for generating image digest files since we don't currently use them. - Handle the release environment so that images get pushed to the release repo quay.io/cilium/cilium-cli on tag pushes. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/CI
Continuous Integration testing issue or flake
cilium-cli
This PR contains changes related with cilium-cli
cilium-cli-exclusive
This PR only impacts cilium-cli binary
release-note/ci
This PR makes changes to the CI.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously, we were bundling all cloud provider SDKs/CLIs within cilium-cli image to be able to access cluster's control plane.
Now, let's switch to service account with all permissions and use that kubeconfig as it doesn't require cloud SDKs/CLIs.
This allows us to remove cloud dependencies from cilium-cli image, reducing image size from ~2.4GB to ~200MB and reducing installation step time from ~40s to ~5s.
For AKS, set datapath mode explicitly as auto detection relies on az CLI.
For GKE, set ipv4NativeRoutingCIDR so we don't rely on gcloud.