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

clustermesh: Add support for kubernetes service annotations #1938

Merged

Conversation

joaoubaldo
Copy link
Contributor

@joaoubaldo joaoubaldo commented Aug 25, 2023

Add a --service-annotation argument so that custom annotations can be added to the Kubernetes Service when clustermesh is being enabled.
A use case for this flag is to create a private NLB in AWS instead of a public classic LB:

cilium clustermesh enable --service-type LoadBalancer --service-annotation 'service.beta.kubernetes.io/aws-load-balancer-internal=0.0.0.0/0' --service-annotation 'service.beta.kubernetes.io/aws-load-balancer-type=nlb'

@joaoubaldo joaoubaldo requested review from a team as code owners August 25, 2023 15:50
@maintainer-s-little-helper
Copy link

Commit 382c4fb does not contain "Signed-off-by".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

Copy link
Contributor

@derailed derailed left a comment

Choose a reason for hiding this comment

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

@joaoubaldo Thanks for the PR! LGTM

@thorn3r
Copy link
Contributor

thorn3r commented Sep 6, 2023

@joaoubaldo looks like you're hitting some CI failures that were fixed last month but your branch base is out of date. Could you rebase onto latest?

Add a `--service-annotation` argument so that custom annotations can be added to the Kubernetes Service when clustermesh is being enabled.
A use case for this flag is to create a private NLB in AWS instead of a public classic LB:

> cilium clustermesh enable --service-type LoadBalancer --service-annotation 'service.beta.kubernetes.io/aws-load-balancer-internal=0.0.0.0/0' --service-annotation 'service.beta.kubernetes.io/aws-load-balancer-type=nlb

Signed-off-by: Joao Ubaldo <me@joaoubaldo.com>
@joaoubaldo joaoubaldo force-pushed the clustermesh_support_service_annotations branch from 9ec75c5 to ade7a01 Compare September 7, 2023 09:13
@joaoubaldo joaoubaldo temporarily deployed to ci September 7, 2023 09:14 — with GitHub Actions Inactive
@joaoubaldo
Copy link
Contributor Author

@thorn3r rebased and all workflows that were executed passed now. Thanks

@tklauser
Copy link
Member

@thorn3r could you please take another look?

Copy link
Contributor

@thorn3r thorn3r left a comment

Choose a reason for hiding this comment

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

thanks, looks great!

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Sep 13, 2023
@tklauser tklauser merged commit a681b5e into cilium:main Sep 13, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants