-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add support for Gateway API within Cilium #17358
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
Conversation
|
Hi @jValdron. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
/retest |
Looks like a retest fixed pull-kops-e2e-aws-upgrade-k130-ko130-to-klatest-kolatest-many-addons, but seems like the e2e tests around Cilium are failing. I'll try to run them locally to see what happens. |
"Pod scheduling timeout." is a known issue with the test infra, no worries. |
@jValdron Instead of |
So you're suggesting we keep the flag in Cilium (simply to enable the flag in the config map) but that we require a custom addon to utilize it? I can look into that. |
Sounds good, thanks! |
I still have to test the changes on an actual cluster, will try and get that done next week. |
I think you have a few docs files that should not be touched and |
Docs update are definitely unexpected. Rebasing off the latest master made things much worse :/ Edit: I see what happened, my origin wasn't set proper. Edit 2: Should be all fixed up. |
/retest |
/retest |
/test pull-kops-e2e-cni-cilium-eni |
@jValdron please update the PR description. |
Squashed commit of the following: Update documentation and CRDs Update pkg/model/components/cilium.go Remove gateway API managed addon Update CRDs Fix RBAC and update docs Fix up files that shouldn't of been touched Remove namespace from cluster RBAC resources
Alright, PR title/description updated and squashed the commits into a single commit. Thanks for all the reviews, etc :) |
/hold cancel |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hakman The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Awesome, thanks @jValdron! |
/retest |
1 similar comment
/retest |
…-upstream-release-1.32 Automated cherry pick of #17358: Add support for Gateway API within Cilium
I'm looking to add support for gateway API, mostly for Cilium, but there's no way to manage Cilium myself in kOps (AFAIK).
As @hakman mentioned below, it sounds like we're not quite ready to bundle the Gateway API CRDs with kOps yet, so this will require the CRDs to be deployed either manually or through a custom addon. This isn't that big of an issue, even if you enable gateway API in Cilium without them, as it will simply complain that the CRDs can't be found but keep going.
I've added a flag to Cilium to enable Gateway API support (configures it through a change in the config map and adds RBAC):
I have tested the new feature using https://kops.sigs.k8s.io/contributing/adding_a_feature/#testing
Cilium status seems to be good after enabling the gateway API under networking and Cilium:
The expected RBAC is created and the config map is updated with
enable-gateway-api
as expected.