Provisioning the Cloud Service Mesh
Create a fleet for your project, if it does not exist, using the GCP dashboard or gcloud command:
Using the GCP dashboard:
Click on the cluster that you created and register it with the fleet (Actions > Register).
Enable GKE Enterprise and Anthos.
Fleet-level settings:
Create a
mesh.yaml
role that contains this single line:Enable Cloud Service Mesh for your fleet:
Network-level settings:
If the VPC for fleet and project are different, see the GCP documentation at https://cloud.google.com/service-mesh/docs/onboarding/provision-control-plane#gcloud.
Cluster-level settings:
Create a cluster to use the service mesh:
Enable the mesh API:
Register the cluster to a fleet:
Verify that the cluster is registered:
Enable automatic management:
Verify that the control plane has been provisioned:
Apply an injection label to the namespace:
Validate that injection is enabled:
Last updated