Generates a payload to create/update SKE clusters
Generates a JSON payload with values to be used as --payload input for cluster creation or update. See https://docs.api.stackit.cloud/documentation/ske/version/v1#tag/Cluster/operation/SkeService_CreateOrUpdateCluster for information regarding the payload structure.
stackit ske cluster generate-payload [flags]
Generate a payload with default values, and adapt it with custom values for the different configuration options
$ stackit ske cluster generate-payload --file-path ./payload.json
<Modify payload in file, if needed>
$ stackit ske cluster create my-cluster --payload @./payload.json
Generate a payload with values of a cluster, and adapt it with custom values for the different configuration options
$ stackit ske cluster generate-payload --cluster-name my-cluster --file-path ./payload.json
<Modify payload in file>
$ stackit ske cluster update my-cluster --payload @./payload.json
Generate a payload with values of a cluster, and preview it in the terminal
$ stackit ske cluster generate-payload --cluster-name my-cluster
-n, --cluster-name string If set, generates the payload with the current state of the given cluster. If unset, generates the payload with default values
-f, --file-path string If set, writes the payload to the given file. If unset, writes the payload to the standard output
-h, --help Help for "stackit ske cluster generate-payload"
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
- stackit ske cluster - Provides functionality for SKE cluster