×
Community Blog Add an ACK Cluster to an ASM Instance

Add an ACK Cluster to an ASM Instance

This article describes how to add a Kubernetes (ACK) cluster to the data plane of a Service Mesh (ASM) instance before using the applications deployed in ASM.

By Wang Xining

Applications deployed in Alibaba Cloud Service Mesh (ASM) actually run in clusters. To use these applications, you must first add an Alibaba Cloud Container Service for Kubernetes (ACK) cluster to the data plane of an ASM instance. This is the third edition in the ASM Public Preview Series and it explains how to add an ACK cluster to an ASM instance. Find below the links to other articles in this series:

Prerequisites

  • At least one ASM instance must be available. If no ASM instance exists yet, create one. For more information, refer to the previous article in this series How to Quickly Create an ASM Instance.
  • At least one ACK cluster must be available. If no ACK cluster exists yet, create one. For more information, see Create a Kubernetes Cluster and Create a Managed Kubernetes Cluster.
  • Select the Expose API Server with EIP checkbox for the concerned ACK cluster. Alternatively, ensure the ACK cluster is located in the same VPC instance as the ASM instance.

Procedure

  • Log on to the ASM console.
  • In the left-side navigation pane, click ASM Instance and select a target ASM instance on the right.
  • In the Data Plane area, click Add Cluster.
  • On the Add Cluster page, select a cluster to add and click OK.

Note:

  • If an application service runs in a single cluster or multiple clusters in the same VPC instance, we recommend first selecting Clusters in the Same VPC as the ASM Instance to filter the clusters that are in the same VPC instance as the ASM instance.
  • Ensure that the proxy container that runs in the added cluster is able to access the public IP address of Istio Pilot exposed by the ASM instance. If the ASM instance does not expose the public IP address of Istio Pilot, ensure that Istio Pilot is accessible through the VPC instance.

1

  • Check the cluster to add. If the istio-system namespace exists in the cluster to add, delete the namespace before adding the cluster to prevent potential conflicts.

Log on to the Container Service console and choose Clusters > Namespace. In the namespace list, find the istio-system namespace and click the Delete button for the namespace.

2

Results

The status of the ASM instance changes to Update Clusters after the successful addition of the cluster. After a few seconds (depending on the number of added clusters), click Refresh in the upper-right corner of the page.

Now, the status of the ASM instance changes to Running. In the Data Plane area, view information regarding the added clusters.

3

In the next article, we will describe how to deploy an ingress gateway to the ACK cluster to ensure that deployed applications are accessible through the Internet.

0 0 0
Share on

Xi Ning Wang(王夕宁)

56 posts | 8 followers

You may also like

Comments

Xi Ning Wang(王夕宁)

56 posts | 8 followers

Related Products