Set the access method

Last updated:2021-05-11 10:41:40

KCE supports the following workload access methods: Public Access(LoadBalancer), Via VPC(LoadBalancer), Intra-Cluster(ClusterIP), and NodePort(NodePort). KCE also allows you to leave the access method unspecified by clearing Enabled for Associated Service. You can select an appropriate access method based on your business requirements.

Public Access(LoadBalancer)

This option allows Services to be exposed to the Internet through SLB so that they can be accessed over the Internet.
image.png
You can access the Services through the IP address of a public SLB instance and a Service port.

Notes:

  1. The system automatically creates a public SLB instance and an EIP to expose the Services to the Internet and enables dynamic listening and mounting of listeners.

  2. The public access bandwidth for an EIP is 1 Mbit/s by default, which can be adjusted based on your business requirements.

Via VPC(LoadBalancer)

This option allows Services to be exposed to the VPC where the Kubernetes cluster resides through SLB so that they can be accessed by other resources or Kubernetes clusters in the VPC.
image.png
You can access the Services through the IP address of a private SLB instance and a Service port.

Intra-Cluster(ClusterIP)

This option allows Services to be exposed to the Kubernetes cluster and accessed within the cluster.
image.png
You can access the Services through a Service IP address or Service name and a Service port.

NodePort(NodePort)

This option allows Services to be exposed out of the Kubernetes cluster and accessed through specific open ports on the nodes.
image.png
You can access the Services through a host IP address and a port.

Unspecified

If Enabled is cleared for Associated Service, no entry to the container is provided for frontend Service access requests. This way, you can implement custom Service discovery or simply start multiple pods.
image.png

Limits

  1. Do not change the name of the SLB instance that is automatically created by the cluster. Otherwise, the cluster may not recognize an existing SLB instance and create a new one.

  2. Do not change the project of the EIP and SLB instance that are automatically created by the cluster.

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈