The Application Load Balancer (ALB) Ingress controller is a fully managed component that controls the traffic forwarding of registered clusters based on Layer 7 forwarding rules provided by ALB. This topic describes how to install the ALB Ingress controller in a registered cluster and how to uninstall it from a registered cluster.
Prerequisites
An external cluster is registered with ACK. For more information, see Create a registered cluster in the ACK console and Use onectl to create a registered cluster.
A kubectl client is connected to the registered cluster. For more information, see Obtain the kubeconfig file of a cluster and use kubectl to connect to the cluster.
Limits
The ALB Ingress controller is not supported in the China (Hohhot), China (Heyuan), and UK (London) regions.
Install the ALB Ingress controller
Use onectl
Install onectl on your on-premises machine. For more information, see Use onectl to manage registered clusters.
Run the following command to install the ALB Ingress controller:
onectl addon install alb-ingress-controller
Expected output:
Addon alb-ingress-controller, version **** installed.
Use the console
Log on to the ACK console. In the left-side navigation pane, click Clusters.
On the Clusters page, click the name of the cluster that you want to manage and choose in the left-side navigation pane.
Click the Networking tab, find ALB Ingress Controller, and then click Install.
Uninstall the ALB Ingress controller
Use onectl
Run the following command to uninstall the ALB Ingress controller:
onectl addon uninstall alb-ingress-controller
Expected output:
Addon alb-ingress-controller uninstalled.
Use the console
Log on to the ACK console. In the left-side navigation pane, click Clusters.
On the Clusters page, click the name of the cluster that you want to manage and choose in the left-side navigation pane.
Click the Networking tab, find ALB Ingress Controller, and then click Uninstall.