AKS icon indicating copy to clipboard operation
AKS copied to clipboard

[Feature] Static Egress Gateway - Private IP Support

Open chasewilson opened this issue 1 year ago • 15 comments

GA ETA*: Q2 2026

*ETAs are estimations and are subject to change

Private IP Support for Static Egress Gateway

chasewilson avatar Apr 09 '25 15:04 chasewilson

Hello @chasewilson , is there any information regarding this feature and what purpose it serves ?

I'm on a use case, where several clients wanna use their centralized firewall solutions to filter egress from different aks namespaces. Is this something that this feature will cover ?

Will it allow to configure egress ip on any worker node, and configure pods/namespaces to use that specific ip address ?

Thanks !

keisari-ch avatar May 13 '25 07:05 keisari-ch

@chasewilson I do have a use case where we want to control egress connectivity of pod to control outbound connectivity and bring more control to our design. For inbound, we have nginx ingress controller where we can see what happens at the network level but for outbound, currently its challenging Hence, we would like this feature to have it and deploy egress static gateway IP from our private subnets.

Thanks :)

AAFAYZ avatar Aug 07 '25 14:08 AAFAYZ

What's the ETA for the release of this preview?

klbrg avatar Aug 19 '25 14:08 klbrg

We do not have a concrete ETA on static egress gateway private IP as of now but we are looking to implement this in upcoming cycles. We will provide an update when we have a better idea of timelines.

nshankar13 avatar Aug 21 '25 17:08 nshankar13

Is end of October still the ETA for the preview?

klbrg avatar Sep 30 '25 10:09 klbrg

After reading the release notes, my understanding is that this feature is now available. Can you confirm?

https://github.com/Azure/kube-egress-gateway/releases/tag/v0.1.3

klbrg avatar Oct 20 '25 16:10 klbrg

I enabled the egress gateway feature using: az aks create -n <cluster-name> -g <resource-group> --enable-static-egress-gateway It still uses version 0.0.21 under the hood, the feature should be available in version v0.1.3. Anyway I tried manually updating the version and adding a Gateway node pool with VirtualMachines, but it failed. Here's the command I used:

az aks nodepool add --cluster-name <cluster> --resource-group <rg> --name gateway--mode Gateway --node-count 2 --node-vm-size standard_d2as_v5 --vm-set-type VirtualMachines --gateway-prefix-size 31

The error message is confusing:

Node pool type VirtualMachines is not supported for gateway node pool. Only types VMSS and VirtualMachines are supported.

So it says VirtualMachines is not supported, but also lists it as supported

(StaticEgressGatewayOnlySupportVMSSNodepool) Node pool type VirtualMachines is not supported for gateway node pool staticgwa. Only types VMSS and VirtualMachines are supported. See documentation https://learn.microsoft.com/en-us/azure/aks/configure-static-egress-gateway Code: StaticEgressGatewayOnlySupportVMSSNodepool Message: Node pool type VirtualMachines is not supported for gateway node pool staticgwa. Only types VMSS and VirtualMachines are supported. See documentation https://learn.microsoft.com/en-us/azure/aks/configure-static-egress-gateway

korallo159 avatar Oct 29 '25 08:10 korallo159

@chasewilson is there any ETA for this feature to be released in Preview?

Satheeshkumar433 avatar Nov 05 '25 04:11 Satheeshkumar433

Node pool type VirtualMachines is not supported for gateway node pool. Only types VMSS and VirtualMachines are supported.

Agree that this error message is pretty bad, we can clear it up. We are 1 AKS release away from making private IP support available in preview (i.e. the next AKS release will make it available). You will need to have the AFEC flag originally used for static egress gateway registered on your subscription, Microsoft.ContainerService/StaticEgressGatewayPreview and initially it will be behind Kubernetes version 1.34+.

However, due to end of year shutdown schedules, the next AKS release currently has no ETA. If you are internal to MSFT it is available in Azure canary regions.

tyler-lloyd avatar Nov 05 '25 15:11 tyler-lloyd

Any update on Private IP support?

domedellolio avatar Nov 18 '25 18:11 domedellolio

Hello, @tyler-lloyd I see that version 1.34.0 is available. I’ve upgraded, but I’m still encountering the same issue when trying to add node pool of type VirtualMachines.

(StaticEgressGatewayOnlySupportVMSSNodepool) Node pool type VirtualMachines is not supported for gateway node pool gateway. Only types VMSS and VirtualMachines are supported. See documentation https://learn.microsoft.com/en-us/azure/aks/configure-static-egress-gateway Code: StaticEgressGatewayOnlySupportVMSSNodepool Message: Node pool type VirtualMachines is not supported for gateway node pool gateway. Only types VMSS and VirtualMachines are supported. See documentation https://learn.microsoft.com/en-us/azure/aks/configure-static-egress-gateway

korallo159 avatar Nov 19 '25 10:11 korallo159

Private IP support will be ready in the next AKS release. As @tyler-lloyd mentioned above we don't have a concrete ETA due to end of year code freezes, however we anticipate it to be ready sometime in early 2026 in Jan.

nshankar13 avatar Nov 20 '25 00:11 nshankar13

We have successfully deployed the private node pool with the VM type but are getting this error on the StaticEgressGW config. I am assuming this is due to rollout cadence. Is there any way to whitelist our sub / tenant for the update?

Events: Type Reason Age From Message


Normal Reconciling 6m25s (x3 over 100m) staticGatewayConfiguration-controller StaticGatewayConfiguration provisioned with egress prefix Warning ReconcileGatewayLBConfigurationError 6m25s (x24 over 100m) gatewayLBConfiguration-controller gateway VMSS not found Error from server (NotFound): staticgatewayconfigurations.egressgateway.kubernetes.azure.com "describe" not found Error from server (NotFound): staticgatewayconfigurations.egressgateway.kubernetes.azure.com "staticgatewayconfiguration" not found

Thanks, Erik

Kraftwerx avatar Feb 12 '26 17:02 Kraftwerx

@Kraftwerx , the fix for this error is being rolled out currently and should take a couple of weeks to roll out everywhere.

robogatikov avatar Feb 17 '26 01:02 robogatikov

Hi there, the documentation still states Private IP Support is in Preview - is there a new ETA for GA?

undefinedhuman avatar Sep 16 '26 05:09 undefinedhuman