website/docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_upload-...

1.3 KiB

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 [flags]

Examples

  # uploads the configuration of your cluster
  kubeadm alpha phase upload-config --config=myConfig.yaml

Options

<tr>
  <td colspan="2">--config string</td>
</tr>
<tr>
  <td></td><td style="line-height: 130%">Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental!</td>
</tr>

<tr>
  <td colspan="2">-h, --help</td>
</tr>
<tr>
  <td></td><td style="line-height: 130%">help for upload-config</td>
</tr>

<tr>
  <td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"</td>
</tr>
<tr>
  <td></td><td style="line-height: 130%">The KubeConfig file to use when talking to the cluster</td>
</tr>