Skip to main content
Version: main

gitops_delete_cluster

gitops delete cluster#

Delete a cluster given its name

gitops delete cluster [flags]

Examples#


# Delete a CAPI cluster by its namegitops delete cluster <cluster-name>        

Options#

      --base string             The base branch to open the pull request against      --branch string           The branch to create the pull request from      --commit-message string   The commit message to use when deleting the clusters      --description string      The description of the pull request  -h, --help                    help for cluster      --title string            The title of the pull request      --url string              The repository to open a pull request against

Options inherited from parent commands#

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

SEE ALSO#

Auto generated by spf13/cobra on 2-Dec-2021#