upctl kubernetes config
Output Kubernetes cluster kubeconfig
Examples
upctl kubernetes config 0fa980c4-0e4f-460b-9869-11b7bd62b831 --output human
upctl kubernetes config 0fa980c4-0e4f-460b-9869-11b7bd62b831 --output yaml --write $KUBECONFIG
upctl kubernetes config 0fa980c4-0e4f-460b-9869-11b7bd62b831 --output yaml --write ./my_kubeconfig.yaml
Options
Option | Description |
---|---|
--write |
Absolute path for writing output. If the file exists, the config will be merged. |
--help , -h |
help for config Default: false |
Global options
Option | Description |
---|---|
--client-timeout , -t |
Client timeout to use in API calls. Default: 0s |
--config |
Configuration file path. |
--debug |
Print out more verbose debug logs. Default: false |
--force-colours |
Force coloured output despite detected terminal support. |
--no-colours |
Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable. |
--output , -o |
Output format (supported: json, yaml and human) Default: human |
Related commands
Command | Description |
---|---|
upctl kubernetes | Manage Kubernetes clusters |