- Documentation
Volcengine Kubernetes Engine
Volcengine Kubernetes Engine
FAQs
Workload FAQs
How to disable the IPv6 protocol stack in a pod
Workload FAQs
How to disable the IPv6 protocol stack in a pod
How to disable the IPv6 protocol stack in a pod
When compatibility issues arise in resolving or processing IPv6 addresses within a pod due to business technology stack limitations, the IPv6 protocol stack can be disabled in the pod.
By default, pods in the cluster have the IPv6 protocol stack enabled, and their network interfaces will have the IPv6 addresses within fe80::16/64. These IPv6 addresses are automatically generated by the kernel and network protocol stack. They cannot be completely cleared by disabling either IPv6 on the node or the dual-stack feature in the cluster. This topic describes how to disable the IPv6 protocol stack in a pod manually.
The vpc-cni add-on has been installed and upgraded to v1.9.6 or later.
- In the left navigation bar, click Cluster. In the right part of the page, click the target cluster name to open the management page of this cluster.
- In the left navigation bar, select Configurations > ConfigMap.
- In the Namespace drop-down list, select kube-system. Locate cello-config on the page, and click Update or Edit Yaml in the Actions column.
- Modify the settings under 10-cello.conflist, and add the following customConfig code to disable the IPv6 protocol stack for the pod.
- The parameter description for the customConfig field is shown in the table below.
- After completing the configuration, connect to the cluster via kubectl, and run the following command to perform a rolling restart of the Cello Pod so that the configuration can take effect.
- Deploy workloads or pods in the cluster.
- Log in to the pod console, run the following command, and check whether the IPv6 protocol stack of the pod's network interface has been disabled.
- The expected result is as follows. It shows that the IPv6 protocol stack of the Pod's network interface (eth0 in this example) has been disabled.
tip
The command to view the network interfaces varies by Linux system. This topic uses the ip addr command as an example. Note that the workloads deployed using a minimal image may not have this command installed. Refer to your actual environment.
Last updated: 2026.07.23 14:31:47