Skip to main content
Version: 0.4.1

gitops_get_cluster

gitops get cluster#

Display one or many CAPI clusters

gitops get cluster [flags]

Examples#


# Get all CAPI clustersgitops get clusters
# Get a single CAPI clustergitops get cluster <cluster-name>
# Get the Kubeconfig of a clustergitops get cluster <cluster-name> --kubeconfig

Options#

  -h, --help         help for cluster      --kubeconfig   Returns the Kubeconfig of the workload cluster

Options inherited from parent commands#

  -e, --endpoint string    The Weave GitOps Enterprise HTTP API endpoint      --namespace string   Weave GitOps runtime namespace (default "wego-system")  -v, --verbose            Enable verbose output

SEE ALSO#

  • gitops get - Display one or many Weave GitOps resources
Auto generated by spf13/cobra on 3-Nov-2021#