All Products
Search
Document Center

Container Service for Kubernetes:Install and uninstall the ALB Ingress controller in registered clusters

Last Updated:Oct 18, 2024

Registered clusters of Container Service for Kubernetes (ACK) provide the fully-managed Application Load Balancer (ALB) Ingress controller that uses ALB Layer 7 forwarding rules. This topic describes how to install the ALB Ingress controller in a registered cluster and how to uninstall it from a registered cluster.

Prerequisites

Limits

To access Services in a registered cluster through ALB Ingresses, make sure that the registered cluster resides in the region and zone supported by ALB. For more information about the regions and zones that ALB supports, see Supported regions and zones.

Install the ALB Ingress controller

Use onectl

  1. Install onectl on your on-premises machine. For more information, see Use onectl to manage registered clusters.

  2. 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

  1. Log on to the ACK console. In the left-side navigation pane, click Clusters.

  2. On the Clusters page, find the cluster that you want to manage and click its name. In the left-side navigation pane, choose Operations > Add-ons.

  3. 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

  1. Log on to the ACK console. In the left-side navigation pane, click Clusters.

  2. On the Clusters page, find the cluster that you want to manage and click its name. In the left-side navigation pane, choose Operations > Add-ons.

  3. Click the Networking tab, find ALB Ingress Controller, and then click Uninstall.

References

  • You can configure Ingress rules to access different Services in a cluster through different URLs. For more information, see Access Services by using an ALB Ingress.

  • For more information about how to use ALB Ingresses to forward requests based on domain names, forward requests without domain names, forward requests based on URL paths (Exact, ImplementationSpecific, and Prefix), configure health checks, and perform canary releases, see Advanced ALB Ingress configurations.