You need to enable JavaScript to run this app.
Volcengine Kubernetes Engine

Volcengine Kubernetes Engine

Copy page
Download PDF
Cluster network
Accessing the API server over IPv6
Copy page
Download PDF
Accessing the API server over IPv6
VKE continuously enhances IPv6 capabilities, which allow you to access the API server over public or private IPv6 networks. This topic describes how to access the API server over IPv6.​
tip​
[Beta - apply for trial]: The IPv6-related features of VKE are currently in beta. If you want to use these features, submit an application.​
Background information​
With the development of the Internet, IPv4 addresses have gradually become exhausted. As the next-generation Internet protocol, IPv6 offers a larger address space and enhanced security. The transition to a dual-stack network is the best option to meet user demand for IPv6.​
VKE fully supports IPv6 dual-stack capabilities, which enable you to create IPv4/IPv6 dual-stack clusters, access the API server by using public or private IPv6 networks, and access servers by using public IPv6 networks.​
Prerequisites​
  • You have downloaded and installed the latest version of kubectl from the official Kubernetes website on your local computer. For detailed installation instructions, see Installing and configuring kubectl.​
Limit​
To access the API server by using the public IPv6 network, take note of the following items:​
  • Currently, you cannot assign public bandwidth to IPv6 addresses through VKE. If needed, you can perform this operation in the CLB console.​
  • Do not delete the EIP, load balancer, or other resources associated with the API server. If you delete these resources, the API server will become inaccessible, and the deleted resources cannot be restored.​
Procedure​
Step 1 (optional): Enable IPv6 Internet bandwidth​
To access the API server by using the public IPv6 network, perform the following steps to enable public IPv6 bandwidth. To access the API server by using the private IPv6 network, skip these steps.​
  1. Log in to the VKE console.​
  1. In the left navigation bar, click Cluster to go to the cluster list page.​
  1. Click the name of the target dual-stack cluster to go to the cluster management page. Click the Overview tab.​
  1. Click CLB Console in the IPv6 description of the Public access to API Server section. This redirects you to the management page of the IPv6 CLB instance associated with the cluster.​
  1. Disable Modification Protection for the CLB instance, and click ... > Public > Enable public IPv6 bandwidth in the upper-right corner. Configure the information about public bandwidth, such as the billing method, line type, and bandwidth limit, based on the on-screen prompts.​
tip​
  1. Enable Modification Protection for the CLB instance again.​
Step 2: Obtain the IPv6-based kubeconfig file​
Unlike an IPv4 API server, an IPv6 API server uses the same IP address for both public and private access. Whether the IPv6 API server can be accessed over the public network depends on whether public bandwidth has been bound to its IPv6 address.​
  1. Log in to the VKE console.​
  1. In the left navigation bar, click Cluster to go to the cluster list page.​
  1. Click the name of the target dual-stack cluster to go to the cluster management page.​
  1. Click the Connection tab on the cluster management page to obtain the kubeconfig file configured for IPv6-based access.​
Validating results​
Copy your obtained IPv6 kubeconfig content to the $HOME/.kube/config file (default kubectl configuration path) on your computer. Then run the kubectl get namespace command in your kubectl client.​
If the namespace information in the cluster is returned as expected, it indicates that the API server can be accessed over IPv6. The sample response is as follows:​
​
NAME STATUS AGE​
default Active 17h​
kube-node-lease Active 17h​
kube-public Active 17h​
kube-system Active 17h​
​
​
Last updated: 2026.07.24 14:51:35