Post-quantum TLS in Kubernetes: ingress, Gateway API, Istio and Consul
On this page
Short answer: In Kubernetes, post-quantum TLS is decided by whatever terminates TLS: your ingress or Gateway controller for traffic from outside, and your service mesh for pod-to-pod mTLS. Envoy-based gateways and meshes need X25519MLKEM768 in their ECDH curve list (Istio: meshConfig.tlsDefaults.ecdhCurves; Consul: ecdhCurves on the Mesh resource). NGINX-based controllers need an image built on OpenSSL 3.5+. And if you still run the community ingress-nginx, it was retired in March 2026 and gets no more releases, so moving off it is the first step anyway.
Step 1: find where TLS terminates
kubectl get ingressclass,gatewayclass
kubectl get ingress,gateway -A
kubectl get pods -A -o jsonpath='{range .items[*]}{.spec.containers[*].image}{"\n"}{end}' \
| grep -Ei "ingress|gateway|envoy|istio|traefik|haproxy|caddy|ztunnel" | sort -uEach image you find is one place to check. External traffic usually terminates at an ingress or Gateway; internal traffic at sidecars or ztunnel.
ingress-nginx (community): retired
The Kubernetes project retired ingress-nginx in March 2026: no more releases, bug fixes or security patches. Its images won't gain post-quantum support. The project recommends migrating to Gateway API (or another maintained Ingress controller). Pick a replacement that supports the hybrid group from the options below.
F5 NGINX Ingress Controller and NGINX Gateway Fabric
NGINX supports X25519MLKEM768 when compiled against OpenSSL 3.5+. Per the NGINX team (December 2025), the default Debian 12 based NGINX Ingress Controller image does not include it, but the Alpine image does:
# Helm values (F5 NGINX Ingress Controller)
controller:
image:
repository: nginx/nginx-ingress
tag: 5.2.1-alpineNGINX Gateway Fabric 2.2.1 (Alpine 3.22 based) is PQC-enabled. If your controller lets you set ssl_ecdh_curve, use a list with the hybrid first: X25519MLKEM768:X25519:prime256v1.
Istio (Envoy): gateways and mesh mTLS
Istio separates two settings.
Gateways and other non-mesh TLS: set the default ECDH curves in mesh config:
apiVersion: install.istio.io/v1alpha1 # or sailoperator.io/v1 Istio resource
kind: IstioOperator
spec:
meshConfig:
tlsDefaults:
ecdhCurves:
- X25519MLKEM768
- X25519Keep X25519 (or other classical curves) after the hybrid: listing only X25519MLKEM768 makes clients without ML-KEM fail to connect.
Mesh-internal mTLS is not covered by tlsDefaults. Red Hat OpenShift Service Mesh 3.3 (upstream Istio 1.28) documents a compliance policy that switches the mesh to post-quantum key exchange:
spec:
values:
pilot:
env:
COMPLIANCE_POLICY: "pqc"
ztunnel: # ambient mode only
env:
COMPLIANCE_POLICY: "pqc"Roll it out on a staging cluster first: mesh-wide policies apply to every workload at once.
Consul service mesh (Envoy)
Consul 2.1+ configures key exchange groups on the Mesh resource for sidecar traffic:
apiVersion: consul.hashicorp.com/v1alpha1
kind: Mesh
metadata:
name: mesh
spec:
tls:
incoming:
tlsMinVersion: TLSv1_3
ecdhCurves: [X25519MLKEM768, X25519]
outgoing:
tlsMinVersion: TLSv1_3
ecdhCurves: [X25519MLKEM768, X25519]The Envoy build matters: Consul's docs note that an Envoy version being "compatible" is not evidence of hybrid support, so use the Envoy builds they list.
Traefik, Caddy and HAProxy controllers
Traefik (3.4.2+) and Caddy (2.10+) negotiate X25519MLKEM768 by default unless curve preferences are pinned: see Caddy and Traefik. HAProxy-based controllers follow the linked OpenSSL: see nginx, HAProxy, Apache.
Cloud-managed ingress
GKE Gateway and Ingress use Google Cloud load balancers, which have negotiated post-quantum key exchange by default since October 2026. On EKS, the AWS Load Balancer Controller creates ALBs, which need a -PQ- security policy set through the alb.ingress.kubernetes.io/ssl-policy annotation. On AKS with Azure Front Door, the default policy includes the hybrid groups. Details in cloud load balancers.
Verify from outside and inside
# External, from a machine with OpenSSL 3.5+
openssl s_client -connect app.example.com:443 -groups X25519MLKEM768 </dev/null 2>/dev/null | grep -i group
# In-cluster, from a debug pod with OpenSSL 3.5+
kubectl run pqcheck --rm -it --image=alpine:3.22 -- sh -c \
'apk add -q openssl && openssl s_client -connect my-svc.my-ns:443 -groups X25519MLKEM768 </dev/null 2>/dev/null | grep -i group'Mesh mTLS needs the mesh's own client certificates, so check it with the mesh's tooling or proxy stats. More in How to check if a server uses post-quantum TLS.
FAQ
How do I enable post-quantum TLS in Istio?
For gateways, set meshConfig.tlsDefaults.ecdhCurves to [X25519MLKEM768, X25519]. Mesh-internal mTLS is separate; OpenShift Service Mesh 3.3 (Istio 1.28) documents COMPLIANCE_POLICY=pqc on istiod and ztunnel.
Does ingress-nginx support post-quantum TLS?
The community ingress-nginx project was retired in March 2026 and gets no more releases. F5's NGINX Ingress Controller Alpine image and NGINX Gateway Fabric support X25519MLKEM768 via OpenSSL 3.5.