46 lines
1.1 KiB
Markdown
46 lines
1.1 KiB
Markdown
|
|
Manage configuration for a kubeadm cluster persisted in a ConfigMap in the cluster.
|
|
|
|
### Synopsis
|
|
|
|
|
|
|
|
There is a ConfigMap in the kube-system namespace called "kubeadm-config" that kubeadm uses to store internal configuration about the
|
|
cluster. kubeadm CLI v1.8.0+ automatically creates this ConfigMap with the config used with 'kubeadm init', but if you
|
|
initialized your cluster using kubeadm v1.7.x or lower, you must use the 'config upload' command to create this
|
|
ConfigMap. This is required so that 'kubeadm upgrade' can configure your upgraded cluster correctly.
|
|
|
|
|
|
```
|
|
kubeadm config [flags]
|
|
```
|
|
|
|
### Options
|
|
|
|
<table style="width: 100%;">
|
|
<colgroup>
|
|
<col span="1" style="width: 10px;" />
|
|
<col span="1" />
|
|
</colgroup>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td colspan="2">-h, --help</td>
|
|
</tr>
|
|
<tr>
|
|
<td></td><td style="line-height: 130%">help for config</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="2">--kubeconfig string 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>
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
|