gitops_get_cluster
gitops get cluster
Display one or many CAPI clusters
gitops get cluster [flags]
Examples
# 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
Options
-h, --help help for cluster
--print-kubeconfig Returns the Kubeconfig of the workload cluster
Options inherited from parent commands
-e, --endpoint WEAVE_GITOPS_ENTERPRISE_API_URL The Weave GitOps Enterprise HTTP API endpoint can be set with WEAVE_GITOPS_ENTERPRISE_API_URL environment variable
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
--kubeconfig string Paths to a kubeconfig. Only required if out-of-cluster.
--namespace string The namespace scope for this operation (default "flux-system")
-p, --password WEAVE_GITOPS_PASSWORD The Weave GitOps Enterprise password for authentication can be set with WEAVE_GITOPS_PASSWORD environment variable
-u, --username WEAVE_GITOPS_USERNAME The Weave GitOps Enterprise username for authentication can be set with WEAVE_GITOPS_USERNAME environment variable
SEE ALSO
- gitops get - Display one or many Weave GitOps resources