Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.17 KB

ctlptl_apply.md

File metadata and controls

31 lines (22 loc) · 1.17 KB

ctlptl apply

Apply a cluster config to the currently running clusters

ctlptl apply -f FILENAME [flags]

Examples

  ctlptl apply -f cluster.yaml
  cat cluster.yaml | ctlptl apply -f -

Options

      --allow-missing-template-keys   If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
  -f, --filename strings              
  -h, --help                          help for apply
  -o, --output string                 Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
      --show-managed-fields           If true, keep the managedFields when printing objects in JSON or YAML format.
      --template string               Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].

SEE ALSO

  • ctlptl - Mess around with local Kubernetes clusters without consequences
Auto generated by spf13/cobra on 17-Dec-2024