Skip to main content

wf validate clusterplan

wf validate clusterplan

validate a cluster plan

wf validate clusterplan [flags]

Examples


# Validate a cluster plan by creating a nonprod cluster:
$ wf -w my_workspace validate clusterplan --plan aks-standard --plan-version 1.0.0 \
--stage nonprod --cloud-access cloud_access_config_name \
--region cloud_region_name --compute-template compute_template_name \
--delete-on-completion

# Validate the cluster plan that is used by an existing cluster and leave the cluster if it fails:
$ wf -w my_workspace validate clusterplan --cluster my_cluster \
--delete-on-success


Options

  -a, --cloud-access string            Name of the cloud access config to use for creating a cluster during validation
--cluster string Name of and existing cluster to validate
-c, --compute-template string The compute template to use for this cluster
--compute-template-file string The compute template file to use for this cluster
--delete-on-completion Delete the cluster after validation complete regardless of success or failure
--delete-on-success Delete the cluster if validation succeeds (keep on failure)
--dry-run will dry-run a validation
-e, --existing-validation string Name of an existing cluster plan validation to report on
-h, --help help for clusterplan
--keep-cluster Retain the cluster after validation
--no-wait Do not wait for the validation to complete
-o, --output string Will show the cluster validation resource being created, in the specified format (supports json, yaml)
-p, --plan string Cluster plan that is to be validated
-v, --plan-version string Cluster plan version that this cluster will use
-r, --region string The region for this cluster
-s, --stage string The stage for this cluster
--timeout duration Time to wait for the initial validation to complete (not upgrades) (default 1h0m0s)

Options inherited from parent commands

      --debug              Debug / trace logging (default: false)
--force Force operation to happen (default: false)
--profile string Use a profile other than your current - to change current: wf use profile NAME
--show-headers Display headers on table out (default true)
--verbose Verbose logging (default: false)
-w, --workspace string Workspace to use - to change default: wf use workspace NAME

SEE ALSO