Read currently running clusters and registries
Read the status of currently running clusters and registries.
Supports the same flags as kubectl for selecting and printing fields. The kubectl cheat sheet may help:
https://kubernetes.io/docs/reference/kubectl/cheatsheet/#formatting-output
ctlptl get [type] [name] [flags]
ctlptl get
ctlptl get cluster microk8s -o yaml
ctlptl get cluster kind-kind -o template --template '{{.status.localRegistryHosting.host}}'
--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)
--field-selector string Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.
-h, --help help for get
--ignore-not-found If the requested object does not exist the command will return exit code 0.
-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].
- ctlptl - Mess around with local Kubernetes clusters without consequences