How to enable post-quantum settings in Kubernetes

Kubernetes builds with Go 1.24 or later negotiate hybrid X25519MLKEM768 by default, and operators can set key exchange with --tls-curve-preferences on kube-apiserver and tlsCurvePreferences in the kubelet configuration.

On this page

Does Kubernetes already negotiate post-quantum key exchange, and where do I set it?

Kubernetes v1.33 and later, built with Go 1.24 or later, negotiate the hybrid X25519MLKEM768 group for TLS by default. The settings that control this are --tls-curve-preferences on kube-apiserver and tlsCurvePreferences in KubeletConfiguration. This covers key exchange only. It does not cover certificates, certificate signatures or the service account signing key, which still use the classical algorithms described elsewhere on this page. As of 2026-12-03, the supported minor releases listed on the Kubernetes release page are v1.37, v1.36 and v1.35. Platform engineers who run the clusters and security leads who must record the answer for an assessment both need this distinction, because a default key exchange on the wire says nothing about the keys behind the certificates.

The default comes from the Go runtime, not from Kubernetes. The Go 1.24 release notes state that X25519MLKEM768 is enabled when tls.Config.CurvePreferences is nil, and that the tlsmlkem=0 GODEBUG setting reverts that default. Kubernetes v1.32 was built with Go 1.23 and used the draft X25519Kyber768Draft00 group, which Go 1.24 removed. So a v1.32 cluster and a v1.33 client built with Go 1.24 may not share a key exchange group, which the Kubernetes blog illustrates with a client that supports only X25519MLKEM768. The practical check is to confirm the Go version the release was built with, which Kubernetes records in its .go-version file (1.26.11 at tag v1.37.3), and then confirm the flag values in your own manifests. The kube-apiserver reference documents --tls-curve-preferences with a default of empty, meaning Go's defaults apply, and KubeletConfiguration documents tlsCurvePreferences with a default of nil. Both take numeric Go CurveID values, and the supported values depend on the Go version, so record the CurveID values you set alongside the build version.

Which Kubernetes components expose which TLS and key settings

This table lists the TLS and key settings for each Kubernetes component that handles public-key cryptography, with the default, the version it applies to, and the source and date it was checked. Read the default column first, since a dash or an empty default means you must set the value yourself or confirm the behavior in your own cluster. Settings with no default or a Go-determined default need a check against the Go version your build uses.

Component and settingDefaultApplies toSource and date checked
kube-apiserver --tls-min-versionNo default statedKubernetes release docs, as read for v1.37 and laterkube-apiserver reference, checked 2026-12-03
kube-apiserver --tls-curve-preferences[] (Go defaults apply when omitted)Depends on the Go version used to build the binarykube-apiserver reference, checked 2026-12-03
kube-apiserver --tls-cipher-suitesDefault Go cipher suites when omittedDepends on the Go version used to build the binarykube-apiserver reference, checked 2026-12-03
kubelet tlsCurvePreferencesnil (Go defaults apply)KubeletConfiguration v1beta1, release docsKubeletConfiguration reference, checked 2026-12-03
kubelet tlsMinVersionEmpty stringKubeletConfiguration v1beta1, release docsKubeletConfiguration reference, checked 2026-12-03
etcd --cipher-suitesEmpty, auto-populated by Goetcd v3.6 security guide; the page does not discuss post-quantum cryptographyetcd security guide, checked 2026-12-03
kubeadm encryptionAlgorithmRSA-2048kubeadm ClusterConfiguration; accepts RSA-3072, RSA-4096 and ECDSA-P256kubeadm certs, checked 2026-12-03
kubeadm certificateValidityPeriod8760h (one year) for leaf certificateskubeadm ClusterConfigurationkubeadm certs, checked 2026-12-03

Which key material and settings the API server, etcd and kubelet use

The API server, etcd and kubelet each serve or consume TLS certificates, and the API server also signs service account tokens with its own key pair. Some of these settings only change which certificate and key material a component presents, while others change which key exchange groups its TLS handshakes can negotiate. Check both kinds before deciding what to change.

API server serving certificate and key

The kube-apiserver flags --tls-cert-file and --tls-private-key-file set the x509 certificate and private key that the API server presents to clients. If neither is provided while HTTPS serving is enabled, the server generates a self-signed certificate and key and saves them in the directory given by --cert-dir. These settings change certificate and key material only. They do not change the key exchange groups, which are set by --tls-curve-preferences. Check which certificate and key pair is actually in use, and whether it is the self-signed fallback.

kube-apiserver reference

Service account signing key

The private key passed to --service-account-signing-key-file signs the service account tokens the API server issues. Its matching public key is needed by anything that verifies those tokens. This key pair is one of the required items in a kubeadm-built cluster, where it is stored as sa.key and sa.pub. It is a signature key, so it affects token signing and verification rather than the TLS handshake. Ask which algorithm the key uses and whether any token verifier outside the cluster depends on it. Support for ML-DSA in this path is still an open upstream issue.

ML-DSA tracking issue

etcd client and peer TLS

The API server reaches etcd through its client certificate, set with --etcd-certfile, and etcd authenticates its own clients and peers with mutual TLS. On the etcd side, --cert-file and --peer-cert-file set the server and peer certificates, and --client-cert-auth and --peer-client-cert-auth require client certificates. These are certificate and key settings, and the etcd security guide does not discuss post-quantum cryptography. Check that the client and peer certificates match the CAs each side trusts, and record which cipher suites and minimum TLS version etcd is configured with.

etcd security guide

Kubelet serving and client certificates

The kubelet's tlsCertFile and tlsPrivateKeyFile set the serving certificate it presents, and if both are empty it generates a self-signed pair in the --cert-dir directory. rotateCertificates controls whether the kubelet rotates its client certificate, and serverTLSBootstrap controls whether it requests its serving certificate from the cluster. Both default to false. Key exchange is set separately with tlsCurvePreferences. Check whether each kubelet is using self-signed material and whether rotation is enabled, since that determines how a certificate change reaches each node.

KubeletConfiguration reference

Key exchange groups in the TLS handshake

The --tls-curve-preferences flag on kube-apiserver and tlsCurvePreferences in the kubelet configuration set the key exchange groups these components accept, using numeric Go CurveID values. If the setting is omitted, the Go defaults apply. Kubernetes v1.33 and later are built with Go 1.24, which enables the hybrid X25519MLKEM768 group by default when no curve preferences are set. This setting changes key exchange, not certificates. Check which Go version each component was built with, and whether any curve preference is pinned in your configuration.

Go 1.24 release notes

Encryption provider config for secrets in etcd

By default, the API server stores resources in etcd without at-rest encryption. The --encryption-provider-config flag points to an EncryptionConfiguration file that sets the providers, such as identity, aesgcm, aescbc or secretbox, used to protect stored data. This setting protects data at rest and does not change TLS key exchange or certificates. Check whether the flag is set and which provider is listed first, because the first provider is used for new writes. Confirm the key management approach with your distribution's documentation.

Encrypt data at rest

How the enablement steps differ for kubeadm, managed and self-built clusters

Clusters bootstrapped with kubeadm give you the most direct control over certificate generation. The ClusterConfiguration file is where the key settings live, and kubeadm applies them when it creates the CAs and leaf certificates under /etc/kubernetes/pki. Changes made after the cluster exists do not regenerate those certificates, so plan the settings before the initial kubeadm init, or plan a certificate renewal.

  • encryptionAlgorithm: Accepts RSA-2048 (the default), RSA-3072, RSA-4096 and ECDSA-P256, as documented on 2026-12-03.
  • certificateValidityPeriod: Defaults to 8760h (one year) for leaf certificates.
  • caCertificateValidityPeriod: Defaults to 87600h (ten years) for CA certificates.
  • kube-apiserver and kubelet flags: These are still set on the control plane and node hosts, so the flag-based steps in the other tabs apply to kubeadm clusters too.
  • Service account key pair: The sa.key and sa.pub files are required and are not covered by the certificate fields above, so inventory them separately.

Confirm your kubeadm version against the kubeadm certs documentation before you rely on these field names, since the page was checked on 2026-12-03 and may change with later releases.

Where the key exchange and certificate settings sit in a cluster connection

The diagram starts at kubectl or a kubelet opening a TLS connection to kube-apiserver. The key exchange groups are set by --tls-curve-preferences on kube-apiserver, or tlsCurvePreferences in the kubelet configuration, and the serving certificate comes from --tls-cert-file and --tls-private-key-file. If those flags are not set, kube-apiserver generates a self-signed serving certificate in the --cert-dir directory. kube-apiserver then connects to etcd as a client using --etcd-certfile. Check each component's flags separately, because the client and the server each set their own curve preferences.

Key exchange and serving certificate settings for a kube-apiserver connection.

How to check and set post-quantum key exchange on each Kubernetes component

This sequence confirms which Kubernetes and Go versions each component runs, then reads the TLS curve settings on the API server and kubelet. It ends with a recorded result showing which key exchange group each connection actually negotiated.

  1. Confirm the Kubernetes minor version

    Run kubectl version against the cluster and record the server minor version for the kube-apiserver. As of 2026-12-03, the Kubernetes release page lists v1.37, v1.36 and v1.35 as the supported minor releases, with 1.37.3, 1.36.7 and 1.35.11 as the latest patches, all dated 2026-11-25. Confirm the kubelet version on each node with kubectl get nodes, since kubelets can run a different version from the control plane. The step is closed when every component's version is written down and matches a supported minor release.

  2. Confirm the Go version used to build binaries

    Find out which Go toolchain built each binary, because the default key exchange groups depend on the Go version. The Kubernetes repository's .go-version file at tag v1.37.3 reads 1.26.11. Go 1.24 enables X25519MLKEM768 by default when the curve preferences are unset, and Go 1.26 also enables SecP256r1MLKEM768 and SecP384r1MLKEM1024 by default. Confirm the build Go version with your distribution's release notes or vendor documentation, since a repackaged binary may use a different toolchain. The step is closed when you have a Go version recorded for each binary you run.

  3. Inspect kube-apiserver flags and configuration

    Read the running kube-apiserver command line or its static pod manifest, usually under /etc/kubernetes/manifests on kubeadm clusters, and check whether --tls-curve-preferences is set. The kube-apiserver reference documents its default as an empty list, and says that if it is omitted the default Go curves are used. Also record --tls-cipher-suites and --tls-min-version, which the reference lists without a default. Confirm with your distribution's documentation whether the flag is set through a different mechanism. The step is closed when you have the exact value of each flag, or a recorded note that it is unset.

  4. Inspect kubelet configuration on each node

    On each node, read the KubeletConfiguration file, which is typically passed with --config, and check the tlsCurvePreferences, tlsCipherSuites and tlsMinVersion fields. The v1beta1 reference documents tlsCurvePreferences with a default of nil, using the same numeric CurveID semantics as the API server flag. Also check tlsCertFile and tlsPrivateKeyFile, because if they are empty the kubelet generates a self-signed serving certificate in the --cert-dir directory. The step is closed when every node's kubelet configuration is recorded with each field's value or its default.

  5. Set numeric CurveID values if policy requires them

    If your policy requires a specific list of groups, set --tls-curve-preferences on kube-apiserver and tlsCurvePreferences in the kubelet configuration using numeric Go crypto/tls CurveID values. The supported values depend on the Go version of the binary, so check the CurveID values against the Go release used to build that component before setting them. Limiting the list removes groups that are not in your policy, and it can prevent clients from negotiating a group the server does not offer. Confirm the list with your security owner before you apply it. The step is closed when the new values are written into the manifest or configuration file and the file has been saved.

  6. Restart components and check the file change

    Restart kube-apiserver and the kubelet on each node so the new flags or configuration take effect. On kubeadm clusters, the kubelet picks up changes to the static pod manifest and recreates the API server pod. Confirm the new process is running with the expected flags by reading its command line, and check the logs for any startup errors about unsupported curve values. The step is closed when each component restarts cleanly and its command line or configuration matches the file you saved.

  7. Verify the negotiated group with a TLS client

    Connect to the API server and each kubelet's serving port with a TLS client that reports the negotiated key exchange group, such as an openssl s_client build that supports ML-KEM, or a Go client built with Go 1.24 or later. The expected result is X25519MLKEM768, or SecP256r1MLKEM768 when the client and server both use Go 1.26. If the connection negotiates a classical group, check whether the server's curve preferences or the client's Go version excludes the hybrid groups. The step is closed when you have recorded the negotiated group for each endpoint you tested.

  8. Record the check and its limits

    Write down each component's version, Go build version, flag and configuration values, and the negotiated group from the TLS test, with the date of the check. Note that this sequence covers key exchange only. Certificates, signatures and the service account signing key pair use public-key algorithms that the sources listed on this page do not show as post-quantum in kubeadm defaults, and the Kubernetes issue tracking ML-DSA support was still open when last read on 2026-12-03. Store the record with your cryptographic inventory so reviewers can see what was checked and when. The step is closed when the record is filed and dated.

What Kubernetes has not published on post-quantum certificates, signatures and config

Kubernetes has published post-quantum key exchange through its Go runtime, but signatures, certificates and some configuration are still open work. The cards below list each gap as of 2026-12-03 and say what to ask the project or your distribution before you plan a change to How to enable post-quantum settings in Kubernetes.

ML-DSA support is still in progress

Issue #141838, opened on 2026-09-03, tracks ML-DSA work across JWT and service account token verification, kubelet and kubeadm certificate generation, the PodCertificate API and CertificateSigningRequest validation. The issue says the work depends on a bump to Go 1.27, which adds native ML-DSA, and maintainers expect release branches to build with Go 1.27 likely in early 2027. Ask the project or your distribution which of these items will ship in which minor release, and whether the work is planned for your supported versions.

ML-DSA issue

Kube-apiserver serving certificates are incomplete

As of 2026-12-03, the issue states that kube-apiserver and self-signed serving certificate support for ML-DSA were not yet complete. This matters for the --tls-cert-file and --tls-private-key-file settings, and for the self-signed certificate the API server generates when those flags are omitted. Ask whether kube-apiserver can issue or serve an ML-DSA certificate in a given release, and which step of the migration it blocks.

ML-DSA issue

ML-DSA configuration options unlikely to be backported

The maintainers said they are unlikely to backport new ML-DSA configuration options to existing release branches. That means a cluster on v1.35, v1.36 or v1.37 may not receive the flags or fields that enable ML-DSA, even if a later minor release adds them. Ask your distribution whether it will carry those options on your current minor release, or whether an upgrade to a later minor version is the only path.

Etcd has not addressed post-quantum cryptography

The etcd security guide covers client TLS through --cert-file and --key-file, peer TLS through --peer-cert-file and --peer-key-file, and cipher suites, but it does not discuss post-quantum cryptography. The API server's etcd client certificate and the etcd peer links therefore have no published post-quantum guidance from the etcd project. Ask the etcd maintainers or your distribution whether etcd plans post-quantum key exchange or certificate support, and which etcd version would carry it.

etcd security guide

No post-quantum-only mode is published

Kubernetes publishes flags such as --tls-curve-preferences and tlsCurvePreferences for choosing key exchange groups, but it does not publish a flag that restricts a cluster to post-quantum algorithms only. Hybrid groups such as X25519MLKEM768 are negotiated by default in builds with Go 1.24 or later, and the documented settings do not disable classical groups in a single switch. Ask the project or your distribution whether a post-quantum-only setting exists or is planned, and how it would interact with clients that do not offer hybrid groups.

kube-apiserver reference

What breaks or silently falls back when post-quantum key exchange is set

Setting a post-quantum key exchange in Kubernetes is not a single switch, and the outcome depends on three things: the Go version each component was built with, whether the configuration pins a curve list, and whether the peer on the other side offers the same group. The most common surprise is a version mismatch. The Kubernetes blog describes a kubectl v1.33 client built with Go 1.24 that supports only X25519MLKEM768 connecting to a v1.32 cluster. Kubernetes v1.32 was built with Go 1.23, which used the draft X25519Kyber768Draft00 group that Go 1.24 removed. The two sides share no hybrid group, so the connection cannot use the post-quantum option that the newer client expects. Operators should check the Go version of each binary they run, including kubectl on workstations and CI runners, not only the control plane.

A default can also be turned off on purpose or by accident. The Go 1.24 release notes say X25519MLKEM768 is enabled by default when tls.Config.CurvePreferences is nil, and that the GODEBUG setting tlsmlkem=0 reverts that default. The Go 1.26 release notes say the hybrid SecP256r1MLKEM768 and SecP384r1MLKEM1024 groups are enabled by default and can be disabled with the tlssecpmlkem=0 GODEBUG setting or by setting CurvePreferences. Environment variables such as GODEBUG are easy to set in a deployment manifest and forget, so a cluster that appears to negotiate a hybrid group may be running with the default disabled. Check the environment of each container, not only the image tag.

When --tls-curve-preferences on kube-apiserver or tlsCurvePreferences in the kubelet configuration is omitted, the Go defaults apply, so the negotiated group depends on the build. Setting the flag explicitly pins the list and removes that dependency, but it also removes groups a client may need, so each entry should be tested against the clients that connect. Clients or middleboxes that do not offer the group will cause a fallback to a classical curve or a failed handshake, depending on their behavior. To confirm the group actually negotiated, capture a handshake with openssl s_client -connect <host>:<port> -groups X25519MLKEM768 from a test host, or inspect the server log and the TLS metrics your ingress exposes, and record the result for each endpoint.

Is Kubernetes quantum safe, and what do I need to set?

Is my Kubernetes cluster quantum safe?

Not as a whole. Kubernetes can use post-quantum key exchange for TLS, but no published setting covers certificates or signatures. As of 2026-12-03, the Kubernetes release page lists v1.37, v1.36 and v1.35 as supported minor releases. Key exchange for TLS connections uses the hybrid X25519MLKEM768 group by default in builds made with Go 1.24 or later, and the Kubernetes blog says v1.33 was the first release to get this by default. Certificates for the API server, etcd, kubelets and the front-proxy still use RSA-2048 or ECDSA-P256 signatures, and the service account signing key is a separate public-key pair. The open issue kubernetes/kubernetes #141838 tracks ML-DSA support and was not complete when last read on 2026-12-03. Confirm each component's version and build Go version in your own cluster before recording an answer.

Which Kubernetes version do I need for post-quantum key exchange?

Version v1.33 or later is the first release line the Kubernetes blog links to hybrid X25519MLKEM768 by default, because it was built with Go 1.24. The blog says v1.32 used Go 1.23 and offered only the draft X25519Kyber768Draft00 group, so a v1.33 kubectl built with Go 1.24 may fail against an older cluster that supports only the draft. Check the Go version of each binary, not only the Kubernetes version. The Kubernetes .go-version file at tag v1.37.3 reads 1.26.11, and Go 1.26 enables SecP256r1MLKEM768 and SecP384r1MLKEM1024 by default. The supported releases listed on 2026-12-03 are v1.37, v1.36 and v1.35, with patches dated 2026-11-25. Pin the exact patch you run and record it.

Does enabling post-quantum settings in Kubernetes cost extra?

No price is supplied for this, so confirm with your Kubernetes distribution. Upstream Kubernetes is open source, and the settings described here are flags and config fields on kube-apiserver and the kubelet. The likely costs are staff time to inventory certificates and test client compatibility, the work to rebuild or upgrade components that bundle older Go versions, and any support or subscription fees your distribution charges for updated builds. Ask the distribution whether it ships builds with Go 1.24 or later, which version it supports, whether there is a fee for the update, and who carries the testing burden if a client breaks. Record the answer in the written quote.

What breaks when I turn on post-quantum key exchange in Kubernetes?

The main risk is a client that cannot negotiate the new group. The Kubernetes blog gives the example of a kubectl v1.33 client built with Go 1.24, which supports only X25519MLKEM768, connecting to a v1.32 cluster that offers only the draft group. Other likely breakage includes clients or proxies that do not implement the ML-KEM groups, and any custom curve list you set with --tls-curve-preferences or tlsCurvePreferences that omits the hybrid groups. Test each kube-apiserver and kubelet path, including the kubectl, controller and kube-proxy connections. Keep a rollback plan that removes the curve setting or uses GODEBUG tlsmlkem=0 on Go 1.24 builds, and confirm that the GODEBUG switch still works in the build you run.

What should I ask Kubernetes or my distribution about post-quantum settings?

Ask for each of these in writing: which Kubernetes minor and patch versions you ship, and which Go version built each binary. Ask whether kube-apiserver and kubelet run with the default hybrid groups or with a custom --tls-curve-preferences or tlsCurvePreferences list. Ask whether certificates, the service account signing key and the etcd certificates can use ML-DSA or any other post-quantum signature, and when. The open issue kubernetes/kubernetes #141838 says ML-DSA depends on Go 1.27 and that release branches will build with Go 1.27 likely in early 2027, and that new ML-DSA configuration options are unlikely to be backported. Ask for the vendor's dated statement on each point, and for any fee tied to upgrades.

Can my own team enable post-quantum settings in Kubernetes without outside help?

Your team can make key-exchange changes if it manages the control plane and can test clients. The settings are documented: --tls-curve-preferences on kube-apiserver takes numeric Go CurveID values, and tlsCurvePreferences in the KubeletConfiguration does the same for kubelets. Leaving them unset uses the Go defaults, which include hybrid ML-KEM groups in builds with Go 1.24 or later. Signature and certificate changes are harder. The kubeadm ClusterConfiguration encryptionAlgorithm field accepts RSA-2048, RSA-3072, RSA-4096 and ECDSA-P256, and the Kubernetes docs do not document a post-quantum signature option. Outside help can cover the inventory, the client testing and the audit evidence. DeployOpen plans, tests and documents self-hosted platforms in your own infrastructure, on a fixed scope agreed in writing.

How DeployOpen helps plan and verify Kubernetes post-quantum settings

DeployOpen plans and checks post-quantum settings for Kubernetes clusters inside your own infrastructure, starting with the API server, etcd and kubelet TLS settings your team controls. We work from your cluster's actual version, certificate setup and kube-apiserver and kubelet configuration, and we record what each setting does and does not change.

How we scope

  • We confirm the Kubernetes minor version, distribution and Go build version your clusters run before any settings are changed.
  • The written scope lists which control planes, etcd members and kubelets are in and out, agreed before work starts.
  • We identify which certificates come from kubeadm and which come from your own PKI, since that decides who must act on each.

How we build

  • We inventory the current --tls-cipher-suites, --tls-min-version and --tls-curve-preferences values on kube-apiserver and the matching kubelet settings.
  • Where you choose to change key exchange groups, we apply them through the kube-apiserver and KubeletConfiguration settings and test each change on a non-production cluster.
  • We check certificate algorithms and validity periods in your kubeadm configuration and document what would need reissuing, without changing signing keys during the engagement.

How we hand over

  • You receive a written record of each setting, its previous and new value, and the cluster version it was tested on.
  • The handover lists the items that remain open, such as signature algorithms where Kubernetes support is still in progress, with the source for each status.
  • We walk your platform and security teams through the verification commands so they can repeat the checks after upgrades.

How we support

  • Ongoing support is available as a retainer, covering re-checks after Kubernetes patch and minor upgrades.
  • Continuous testing can rerun the configuration checks whenever the Go version used by your Kubernetes builds changes.
  • Support covers questions from your platform team about the settings we applied and any follow-up changes you plan.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.