Anthos Service Mesh issues

This page lists steps that help you troubleshoot Anthos private mode issues while using Anthos Service Mesh.

Anthos private mode helps manage the lifecycle of Anthos Service Mesh, for example, install, upgrade, uninstall, or health check. You can create, read, update, and delete Kubernetes Resource Model API ServiceMeshBinding and ServiceMeshFeatureSpec to manage Anthos Service Mesh running on user clusters.

Manage Anthos Service Mesh lifecycle

The status of Anthos Service Mesh running on the user clusters is reported in the status field of the ServiceMeshBinding object in the anthos-management-center namespace. For example, to get the status of Anthos Service Mesh running on a user cluster:

KUBECONFIG=ADMIN_KUBECONFIG \
    kubectl get servicemeshbinding -n anthos-management-center -o \
    jsonpath="{range .items[*].status.bindingItemStatuses[*]}{'\n'}{['clusterID', 'configRef', 'conditions']}" \
    | grep TARGET_CLUSTER_ID

Replace the following:

  • ADMIN_KUBECONFIG with the path of the kubeconfig file for the admin cluster.
  • TARGET_CLUSTER_ID with the name of the user cluster.

    Here's an example of the output:

target-user-cluster-1 {"name":"new-spec-f75y8","namespace":"anthos-management-center"} [{"lastTransitionTime":"2021-05-27T18:06:27Z","message":"","observedGeneration":1,"reason":"Healthy","status":"True","type":"Ready"}]

To view the full status of Anthos Service Mesh lifecycle management, run the following command:

KUBECONFIG=ADMIN_KUBECONFIG \
    kubectl get servicemeshbinding -n anthos-management-center -o \
    jsonpath="{.items[*].status}"

Troubleshoot Anthos Service Mesh

To troubleshoot issues with Anthos Service Mesh, see Troubleshooting Anthos Service Mesh step by step.

What's next