Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 2.14 KB

stackit_ske_cluster_generate-payload.md

File metadata and controls

53 lines (38 loc) · 2.14 KB

stackit ske cluster generate-payload

Generates a payload to create/update SKE clusters

Synopsis

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]

Examples

  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

Options

  -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"

Options inherited from parent commands

  -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")

SEE ALSO