Skip to main content
Version: 0.8.0


gitops get cluster

Display one or many CAPI clusters

gitops get cluster [flags]


# Get all CAPI clusters
gitops get clusters

# Get a single CAPI cluster
gitops get cluster <cluster-name>

# Get the Kubeconfig of a cluster
gitops get cluster <cluster-name> --kubeconfig


  -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
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
--namespace string The namespace scope for this operation (default "flux-system")
-v, --verbose Enable verbose output


  • gitops get - Display one or many Weave GitOps resources
Auto generated by spf13/cobra on 29-Apr-2022