To expose the API server of a Kubernetes cluster, you can bind an Elastic IP address to the API server. After you perform this operation, you can access the API server from the Internet. You can bind an Elastic IP address to a Kubernetes API server during or after the cluster creation. This topic describes the two binding methods.
Bind an Elastic IP address to the API server during cluster creation
To access the API server of a Kubernetes cluster from the Internet, you can select Expose API Server with EIP when you create the cluster. For information about how to create a cluster, see Create a managed ACK cluster.
Bind an Elastic IP address to the API server of a created Kubernetes cluster
- Log on to the ACK console.
- In the left-side navigation pane, choose .
- On the Clusters page, click Create Kubernetes Cluster in the upper-right corner.
- On the Clusters page, click the name of the target cluster or click Manage in the Actions column.
- In the Cluster Information section on the Basic Information tab, click Bind EIP.
What to do next
After an Elastic IP address is bound to a Kubernetes API server, you can change or unbind the Elastic IP address.