Flagger Install on Alibaba ServiceMesh
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide walks you through setting up Flagger on Alibaba ServiceMesh.
Created an ACK() cluster instance.
Create an ASM() enterprise instance and add ACK cluster.
$ACK_CONFIG
: the kubeconfig file path of ACK, which be treated as$HOME/.kube/config
in the rest of guide.
$MESH_CONFIG
: the kubeconfig file path of ASM.
In the Alibaba Cloud Service Mesh (ASM) console, on the basic information page, make sure Data-plane KubeAPI access is enabled. When enabled, the Istio resources of the control plane can be managed through the Kubeconfig of the data plane cluster.
In the Alibaba Cloud Service Mesh (ASM) console, click Settings to enable the collection of Prometheus monitoring metrics. You can use the self-built Prometheus monitoring, or you can use the Alibaba Cloud ARMS Prometheus monitoring plug-in that has joined the ACK cluster, and use ARMS Prometheus to collect monitoring indicators.
Add Flagger Helm repository:
Install Flagger's Canary CRD:
In the Alibaba Cloud Service Mesh (ASM) console, click Cluster & Workload Management, select the Kubernetes cluster, select the target ACK cluster, and add it to ASM.
Replace the value of metricsServer with your Prometheus address.
If you are using Alibaba Cloud Container Service for Kubernetes (ACK) ARMS Prometheus monitoring, replace {Region-ID} in the link below with your region ID, such as cn-hangzhou. {ACKID} is the ACK ID of the data plane cluster that you added to Alibaba Cloud Service Mesh (ASM). Visit the following links to query the public and intranet addresses monitored by ACK's ARMS Prometheus:
An example of an intranet address is as follows: