This topic documents steps for how to run diagnosis in any environment using management cluster kubeconfig to do troubleshooting for cluster lifecycle and CNF customization for management cluster itself or workload clusters it managed.

Prerequisites

  • Kubeconfig file of the management cluster

  • Kubectl command

  • Helm command. Version should be 3.x

Procedure

  1. Prepare management cluster kubeconfig file, by default, default ~/.kube/config
  2. Run diagnosis using script

    By default:

    $ curl -fsSL https://vmwtec.jfrog.io/artifactory/generic-dev/run-diagnosis | bash

    If kubeconfig is not in current context or default path, use the following commands:

    $ curl -fsSL https://vmwtec.jfrog.io/artifactory/generic-dev/run-diagnosis | bash -s -- --kubeconfig /path/to/kubeconfig