Files
website/docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_upload-config.md
Fabrizio Pandini 31de9f07a3 Improve Kubeadm reference doc (#6103)
* automatically-generated kubeadm reference doc

* user-mantained kubeadm reference doc
2017-11-29 09:44:59 -08:00

839 B

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