Installing Anthos Service Mesh

This page is for platform administrators.

This page describes how to install Anthos Service Mesh. See In-cluster control plane supported features for a description of Anthos Service Mesh features that are supported on Anthos private mode.

Option 1: Through the Management Center UI

Install Anthos Service Mesh on your User Cluster by navigating to the Service Mesh tab and click Setup. Then follow the instructions on the page to finish the setup.

Option 2: Through the API

Configure ServiceMeshFeatureSpec and ServiceMeshBinding and apply to cluster.

kubectl apply -f <path to service mesh yaml> --kubeconfig=${ADMIN_OIDC_KUBECONFIG}

Example Service Mesh configuration:

apiVersion: managementcenter.anthos.cloud.google.com/v1alpha1
kind: ServiceMeshFeatureSpec
metadata:
  name: service-mesh-spec-default
  namespace: anthos-management-center
spec:
  version: 1.9.6-asm.1
---
apiVersion: managementcenter.anthos.cloud.google.com/v1alpha1
kind: ServiceMeshBinding
metadata:
  name: service-mesh-binding-sample
  namespace: anthos-management-center
spec:
  configs:
  - configRef:
      name: service-mesh-spec-default
      namespace: anthos-management-center
    placement:
      clusterIDs:
      - "<cluster-name>"