You can use an elastic IP address (EIP) to expose the API server for a cluster of Container Service for Kubernetes (ACK). After you perform this operation, you can access the API server of the ACK cluster over the Internet. You can bind an EIP to the Kubernetes API server during or after the cluster creation. This topic describes how to bind an EIP to an API server in the preceding ways.
Bind an EIP to the Kubernetes API server when you create an ACK cluster
When you create an ACK cluster, select Expose API Server with EIP. For information about how to create an ACK cluster, see Create a cluster of ACK Managed Edition.
Bind an EIP to the Kubernetes API server after an ACK cluster is created
- Log on to the ACK console.
- In the left-side navigation pane, click Clusters.
- On the Clusters page, click the name of a cluster or click Details in the Actions column. The details page of the cluster appears.
- On the details page, click the Basic Information tab. In the Cluster Information section, click Bind EIP.
What to do next
After an EIP is bound to the Kubernetes API server, you can change or unbind the EIP.