-
Notifications
You must be signed in to change notification settings - Fork 619
api: support infra deployment in the gateway namespace #4982
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
8385605 to
7a963e3
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4982 +/- ##
==========================================
- Coverage 66.75% 66.74% -0.01%
==========================================
Files 209 209
Lines 32058 32058
==========================================
- Hits 21399 21396 -3
- Misses 9381 9383 +2
- Partials 1278 1279 +1 ☔ View full report in Codecov by Sentry. |
c0d2e29 to
c22f4d6
Compare
arkodg
left a comment
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.
LGTM thanks !
Signed-off-by: Karol Szwaj <[email protected]>
Signed-off-by: Karol Szwaj <[email protected]>
Co-authored-by: Arko Dasgupta <[email protected]> Signed-off-by: Karol Szwaj <[email protected]>
Co-authored-by: Arko Dasgupta <[email protected]> Signed-off-by: Karol Szwaj <[email protected]>
Signed-off-by: Karol Szwaj <[email protected]>
Signed-off-by: Karol Szwaj <[email protected]>
3d0bd84 to
ce9e640
Compare
|
awesome!!! Thx !! |
|
Hi All, @arkodg, I try to introduce the gateway-namespace deployment in my EnvoyGateway configuration, but it seems to fail - resources are still created in the controller's nsp instead of the separate gateway namespaces, what I have is: What is added in the docs (https://gateway.envoyproxy.io/docs/api/extension_types/#kubernetesdeploymode) seems to pose a doubt for me on where actually this type: GatewayNamespace sohuld be added - under kubernetes? Will you help me figuring this out? |
|
@HannaManista this feature is still WIP, only the API is merged |
|
Thanks for quick asnwer! So it means it is not yet ready to be used? Do you have an estimated time when this will be implemented? |
|
should be ready by v1.4 ( end April 2025) |
|
Hi, I can see that this issue was added in v1.4.0 (#5137 ) by @cnvergence so it should be also available to be used. As I mentioned earlier, I need to enable creating Gateway pods and services in gateway's namespace (not controller's nsp), so based on docs I should set |
|
Hi @HannaManista, the docs should be added soon, you can take a look already here |
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: EnvoyGateway
metadata:
name: envoy-gateway
namespace: envoy-gateway-system
spec:
provider:
type: Kubernetes
kubernetes:
deploy:
type: GatewayNamespace |
|
Great! Thanks, I'll try it out :) |
|
And did you have opportunity to try out if the change in deploy mode from (default) ControllerNamespace to GatewayNamespace causes gateway's downtime? Taking of course a scenario where the gateway is deployed in different namespace than the controller |
|
yes its not going to be hitless |
|
Hi cnvergence, I tried to switch from version 1.3 to 1.4 and encountered an error on the envoy-gateway pod: |
|
Hi @HannaManista, it is related to #6064. The fix was merged with the main last week and will be released in v1.4.1. |



What type of PR is this?
api: support infra deployment in the gateway namespace
What this PR does / why we need it:
api for supporting gateway namespace for envoy proxy infrastructure pods, there will be two modes, hoping that gateway-api proposal will pass in kubernetes-sigs/gateway-api#3366
This is the first part of #2629 issue
Which issue(s) this PR fixes:
Release Notes: No