The Application Load Balancer (ALB) Ingress controller is a fully managed component that controls the traffic forwarding of Alibaba Cloud Container Compute Service (ACS) clusters based on Layer 7 forwarding rules provided by ALB. This topic describes how to install, update, and uninstall the ALB Ingress controller in an ACS cluster.
Install the ALB Ingress controller
For more information about the regions that support the ALB Ingress controller, see Regions and zones in which ALB is available.
Install the ALB Ingress controller when you create a cluster
When you create an ACS cluster, select ALB Ingress in the Ingress section.
Configure the ALB Ingress
Scenarios | Scenarios in which AlbConfigs are used to create ALB Ingresses. |
How it works | After an AlbConfig is created, an ALB instance is automatically created based on the AlbConfig. |
What to do next | Set Network Type to the type of network used by the ALB instance and set vSwitch to the vSwitch of the ALB instance. Important To ensure the high availability of services, we recommend that you select two or more vSwitches in different zones. |
Install the ALB Ingress controller in an existing cluster
Log on to the ACS 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 Operations > Add-ons in the left-side navigation pane.
On the Add-ons page, click the Networking tab. In the Networking section, click Install in the ALB Ingress Controller card.
In the Install ALB Ingress Controller message, click OK.
Upgrade the ALB Ingress controller
Log on to the ACS 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 Operations > Add-ons in the left-side navigation pane.
On the Add-ons page, click the Networking tab, find ALB Ingress Controller, and then click Upgrade.
In the Upgrade Component message, click Confirm.
Uninstall the ALB Ingress controller
Log on to the ACS 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 Operations > Add-ons in the left-side navigation pane.
On the Add-ons page, click the Networking tab, find ALB Ingress Controller, and then click Uninstall.
In the Uninstall message, click OK.
Each AlbConfig corresponds to an ALB instance. When you uninstall the ALB Ingress controller, AlbConfigs and the corresponding ALB instances in the cluster are not released and continue to incur fees. After the ALB Ingress controller is uninstalled, if you delete the AlbConfigs, the corresponding ALB instances are not released.
If you no longer need the ALB Ingress controller, delete all AlbConfigs in the cluster before uninstalling the ALB Ingress controller.
References
For more information about how to use ALB Ingresses, see Get started with ALB Ingresses.