31 lines
839 B
Markdown
31 lines
839 B
Markdown
|
|
||
|
Uploads the currently used configuration for kubeadm to a ConfigMap
|
||
|
|
||
|
### Synopsis
|
||
|
|
||
|
|
||
|
Uploads the kubeadm init configuration of your cluster to a ConfigMap called kubeadm-config in the kube-system namespace. This enables correct configuration of system components and a seamless user experience when upgrading.
|
||
|
|
||
|
Alternatively, you can use kubeadm config.
|
||
|
|
||
|
Alpha Disclaimer: this command is currently alpha.
|
||
|
|
||
|
```
|
||
|
kubeadm alpha phase upload-config
|
||
|
```
|
||
|
|
||
|
### Examples
|
||
|
|
||
|
```
|
||
|
# uploads the configuration of your cluster
|
||
|
kubeadm alpha phase upload-config --config=myConfig.yaml
|
||
|
```
|
||
|
|
||
|
### Options
|
||
|
|
||
|
```
|
||
|
--config string Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental!
|
||
|
--kubeconfig string The KubeConfig file to use when talking to the cluster (default "/etc/kubernetes/admin.conf")
|
||
|
```
|
||
|
|