api: support infra deployment in the gateway namespace#4982
api: support infra deployment in the gateway namespace#4982arkodg merged 6 commits intoenvoyproxy:mainfrom
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
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Co-authored-by: Arko Dasgupta <arkodg@users.noreply.github.com> Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Co-authored-by: Arko Dasgupta <arkodg@users.noreply.github.com> Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
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