kubeadm: update the reference documentation for 1.15 (#14596)

* kubeadm-ref: update placeholder generated files

* kubeadm-ref: include reset-phase.md document

Also update reset.md to reflect the addition of reset phases.

* kubeadm-ref: update authored content

* kubeadm-ref: remove imports for removed "config upload" commands

* kubeadm-ref: add page for kubeadm upgrade phases
pull/14676/head^2
Lubomir I. Ivanov 2019-06-11 04:56:16 +03:00 committed by Kubernetes Prow Robot
parent 3d1d270e3c
commit 2a0f39fb41
125 changed files with 1611 additions and 5878 deletions

View File

@ -5,7 +5,6 @@ kubeadm: easily bootstrap a secure Kubernetes cluster
┌──────────────────────────────────────────────────────────┐ ┌──────────────────────────────────────────────────────────┐
│ KUBEADM │ │ KUBEADM │
│ Easily bootstrap a secure Kubernetes cluster │ │ Easily bootstrap a secure Kubernetes cluster │
@ -38,29 +37,8 @@ Example usage:
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for kubeadm
<col span="1" style="width: 10px;" /> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" /> ```
</colgroup>
<tbody>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for kubeadm</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -3,48 +3,17 @@ Kubeadm experimental sub-commands
### Synopsis ### Synopsis
Kubeadm experimental sub-commands Kubeadm experimental sub-commands
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for alpha
<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%; word-wrap: break-word;">help for alpha</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -3,48 +3,17 @@ Commands related to handling kubernetes certificates
### Synopsis ### Synopsis
Commands related to handling kubernetes certificates Commands related to handling kubernetes certificates
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for certs
<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%; word-wrap: break-word;">help for certs</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -0,0 +1,29 @@
Generate certificate keys
### Synopsis
This command will print out a secure randomly-generated certificate key that can be used with
the "init" command.
You can also use "kubeadm init --experimental-upload-certs" without specifying a certificate key and it will
generate and print one for you.
```
kubeadm alpha certs certificate-key [flags]
```
### Options
```
-h, --help help for certificate-key
```
### Options inherited from parent commands
```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

View File

@ -0,0 +1,25 @@
Check certificates expiration for a Kubernetes cluster
### Synopsis
Checks expiration for the certificates in the local PKI managed by kubeadm.
```
kubeadm alpha certs check-expiration [flags]
```
### Options
```
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
--config string Path to a kubeadm configuration file.
-h, --help help for check-expiration
```
### Options inherited from parent commands
```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

View File

@ -1,9 +1,8 @@
Renews certificates for a Kubernetes cluster Renew certificates for a Kubernetes cluster
### Synopsis ### Synopsis
This command is not meant to be run on its own. See list of available subcommands. This command is not meant to be run on its own. See list of available subcommands.
``` ```
@ -12,43 +11,13 @@ kubeadm alpha certs renew [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for renew
<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%; word-wrap: break-word;">help for renew</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -0,0 +1,35 @@
Renew the certificate embedded in the kubeconfig file for the admin to use and for kubeadm itself
### Synopsis
Renew the certificate embedded in the kubeconfig file for the admin to use and for kubeadm itself.
Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
```
kubeadm alpha certs renew admin.conf [flags]
```
### Options
```
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
--config string Path to a kubeadm configuration file.
--csr-dir string The path to output the CSRs and private keys to
--csr-only Create CSRs instead of generating certificates
-h, --help help for admin.conf
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
--use-api Use the Kubernetes certificate API to renew certificates
```
### Options inherited from parent commands
```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

View File

@ -1,10 +1,9 @@
renew all available certificates Renew all available certificates
### Synopsis ### Synopsis
Renew all known certificates necessary to run the control plane. Renewals are run unconditionally, regardless of expiration date. Renewals can also be run individually for more control.
Renews all known certificates necessary to run the control plan. Renewals are run unconditionally, regardless of expiration date. Renewals can also be run individually for more control.
``` ```
kubeadm alpha certs renew all [flags] kubeadm alpha certs renew all [flags]
@ -12,85 +11,19 @@ kubeadm alpha certs renew all [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for all
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<tr> --use-api Use the Kubernetes certificate API to renew certificates
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the certificates</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for all</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--use-api</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use the Kubernetes certificate API to renew certificates</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,12 +1,15 @@
Generates the client apiserver uses to access etcd Renew the certificate the apiserver uses to access etcd
### Synopsis ### Synopsis
Renew the certificate the apiserver uses to access etcd.
Renews the client apiserver uses to access etcd, and saves them into apiserver-etcd-client.cert and apiserver-etcd-client.key files. Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
Extra attributes such as SANs will be based on the existing certificates, there is no need to resupply them. Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
``` ```
kubeadm alpha certs renew apiserver-etcd-client [flags] kubeadm alpha certs renew apiserver-etcd-client [flags]
@ -14,85 +17,19 @@ kubeadm alpha certs renew apiserver-etcd-client [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for apiserver-etcd-client
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<tr> --use-api Use the Kubernetes certificate API to renew certificates
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the certificates</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for apiserver-etcd-client</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--use-api</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use the Kubernetes certificate API to renew certificates</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,12 +1,15 @@
Generates the Client certificate for the API server to connect to kubelet Renew the certificate for the API server to connect to kubelet
### Synopsis ### Synopsis
Renew the certificate for the API server to connect to kubelet.
Renews the Client certificate for the API server to connect to kubelet, and saves them into apiserver-kubelet-client.cert and apiserver-kubelet-client.key files. Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
Extra attributes such as SANs will be based on the existing certificates, there is no need to resupply them. Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
``` ```
kubeadm alpha certs renew apiserver-kubelet-client [flags] kubeadm alpha certs renew apiserver-kubelet-client [flags]
@ -14,85 +17,19 @@ kubeadm alpha certs renew apiserver-kubelet-client [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for apiserver-kubelet-client
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<tr> --use-api Use the Kubernetes certificate API to renew certificates
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the certificates</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for apiserver-kubelet-client</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--use-api</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use the Kubernetes certificate API to renew certificates</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,12 +1,15 @@
Generates the certificate for serving the Kubernetes API Renew the certificate for serving the Kubernetes API
### Synopsis ### Synopsis
Renew the certificate for serving the Kubernetes API.
Renews the certificate for serving the Kubernetes API, and saves them into apiserver.cert and apiserver.key files. Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
Extra attributes such as SANs will be based on the existing certificates, there is no need to resupply them. Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
``` ```
kubeadm alpha certs renew apiserver [flags] kubeadm alpha certs renew apiserver [flags]
@ -14,85 +17,19 @@ kubeadm alpha certs renew apiserver [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for apiserver
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<tr> --use-api Use the Kubernetes certificate API to renew certificates
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the certificates</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for apiserver</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--use-api</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use the Kubernetes certificate API to renew certificates</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -0,0 +1,35 @@
Renew the certificate embedded in the kubeconfig file for the controller manager to use
### Synopsis
Renew the certificate embedded in the kubeconfig file for the controller manager to use.
Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
```
kubeadm alpha certs renew controller-manager.conf [flags]
```
### Options
```
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
--config string Path to a kubeadm configuration file.
--csr-dir string The path to output the CSRs and private keys to
--csr-only Create CSRs instead of generating certificates
-h, --help help for controller-manager.conf
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
--use-api Use the Kubernetes certificate API to renew certificates
```
### Options inherited from parent commands
```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

View File

@ -1,12 +1,15 @@
Generates the client certificate for liveness probes to healtcheck etcd Renew the certificate for liveness probes to healtcheck etcd
### Synopsis ### Synopsis
Renew the certificate for liveness probes to healtcheck etcd.
Renews the client certificate for liveness probes to healtcheck etcd, and saves them into etcd/healthcheck-client.cert and etcd/healthcheck-client.key files. Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
Extra attributes such as SANs will be based on the existing certificates, there is no need to resupply them. Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
``` ```
kubeadm alpha certs renew etcd-healthcheck-client [flags] kubeadm alpha certs renew etcd-healthcheck-client [flags]
@ -14,85 +17,19 @@ kubeadm alpha certs renew etcd-healthcheck-client [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for etcd-healthcheck-client
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<tr> --use-api Use the Kubernetes certificate API to renew certificates
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the certificates</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for etcd-healthcheck-client</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--use-api</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use the Kubernetes certificate API to renew certificates</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,12 +1,15 @@
Generates the credentials for etcd nodes to communicate with each other Renew the certificate for etcd nodes to communicate with each other
### Synopsis ### Synopsis
Renew the certificate for etcd nodes to communicate with each other.
Renews the credentials for etcd nodes to communicate with each other, and saves them into etcd/peer.cert and etcd/peer.key files. Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
Extra attributes such as SANs will be based on the existing certificates, there is no need to resupply them. Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
``` ```
kubeadm alpha certs renew etcd-peer [flags] kubeadm alpha certs renew etcd-peer [flags]
@ -14,85 +17,19 @@ kubeadm alpha certs renew etcd-peer [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for etcd-peer
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<tr> --use-api Use the Kubernetes certificate API to renew certificates
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the certificates</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for etcd-peer</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--use-api</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use the Kubernetes certificate API to renew certificates</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,12 +1,15 @@
Generates the certificate for serving etcd Renew the certificate for serving etcd
### Synopsis ### Synopsis
Renew the certificate for serving etcd.
Renews the certificate for serving etcd, and saves them into etcd/server.cert and etcd/server.key files. Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
Extra attributes such as SANs will be based on the existing certificates, there is no need to resupply them. Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
``` ```
kubeadm alpha certs renew etcd-server [flags] kubeadm alpha certs renew etcd-server [flags]
@ -14,85 +17,19 @@ kubeadm alpha certs renew etcd-server [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for etcd-server
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<tr> --use-api Use the Kubernetes certificate API to renew certificates
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the certificates</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for etcd-server</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--use-api</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use the Kubernetes certificate API to renew certificates</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,12 +1,15 @@
Generates the client for the front proxy Renew the certificate for the front proxy client
### Synopsis ### Synopsis
Renew the certificate for the front proxy client.
Renews the client for the front proxy, and saves them into front-proxy-client.cert and front-proxy-client.key files. Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
Extra attributes such as SANs will be based on the existing certificates, there is no need to resupply them. Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
``` ```
kubeadm alpha certs renew front-proxy-client [flags] kubeadm alpha certs renew front-proxy-client [flags]
@ -14,85 +17,19 @@ kubeadm alpha certs renew front-proxy-client [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for front-proxy-client
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<tr> --use-api Use the Kubernetes certificate API to renew certificates
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the certificates</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for front-proxy-client</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--use-api</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use the Kubernetes certificate API to renew certificates</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -0,0 +1,35 @@
Renew the certificate embedded in the kubeconfig file for the scheduler manager to use
### Synopsis
Renew the certificate embedded in the kubeconfig file for the scheduler manager to use.
Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
```
kubeadm alpha certs renew scheduler.conf [flags]
```
### Options
```
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
--config string Path to a kubeadm configuration file.
--csr-dir string The path to output the CSRs and private keys to
--csr-only Create CSRs instead of generating certificates
-h, --help help for scheduler.conf
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
--use-api Use the Kubernetes certificate API to renew certificates
```
### Options inherited from parent commands
```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

View File

@ -3,50 +3,19 @@ Kubeconfig file utilities
### Synopsis ### Synopsis
Kubeconfig file utilities. Kubeconfig file utilities.
Alpha Disclaimer: this command is currently alpha. Alpha Disclaimer: this command is currently alpha.
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for kubeconfig
<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%; word-wrap: break-word;">help for kubeconfig</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Outputs a kubeconfig file for an additional user Output a kubeconfig file for an additional user
### Synopsis ### Synopsis
Output a kubeconfig file for an additional user.
Outputs a kubeconfig file for an additional user.
Alpha Disclaimer: this command is currently alpha. Alpha Disclaimer: this command is currently alpha.
@ -15,91 +14,25 @@ kubeadm alpha kubeconfig user [flags]
### Examples ### Examples
``` ```
# Outputs a kubeconfig file for an additional user named foo # Output a kubeconfig file for an additional user named foo
kubeadm alpha kubeconfig user --client-name=foo kubeadm alpha kubeconfig user --client-name=foo
``` ```
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API server is accessible on
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 The port the API server is accessible on (default 6443)
<col span="1" /> --cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
</colgroup> --client-name string The name of user. It will be used as the CN if client certificates are created
<tbody> -h, --help help for user
--org strings The orgnizations of the client certificate. It will be used as the O if client certificates are created
<tr> --token string The token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates
<td colspan="2">--apiserver-advertise-address string</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API server is accessible on</td>
</tr>
<tr>
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The port the API server is accessible on</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where certificates are stored</td>
</tr>
<tr>
<td colspan="2">--client-name string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The name of user. It will be used as the CN if client certificates are created</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for user</td>
</tr>
<tr>
<td colspan="2">--org stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The orgnizations of the client certificate. It will be used as the O if client certificates are created</td>
</tr>
<tr>
<td colspan="2">--token string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -3,48 +3,17 @@ Commands related to handling the kubelet
### Synopsis ### Synopsis
This command is not meant to be run on its own. See list of available subcommands. This command is not meant to be run on its own. See list of available subcommands.
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for kubelet
<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%; word-wrap: break-word;">help for kubelet</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -3,48 +3,17 @@ Utilities for kubelet configuration
### Synopsis ### Synopsis
This command is not meant to be run on its own. See list of available subcommands. This command is not meant to be run on its own. See list of available subcommands.
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for config
<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%; word-wrap: break-word;">help for config</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Downloads the kubelet configuration from the cluster ConfigMap kubelet-config-1.X, where X is the minor version of the kubelet. Download the kubelet configuration from the cluster ConfigMap kubelet-config-1.X, where X is the minor version of the kubelet
### Synopsis ### Synopsis
Download the kubelet configuration from a ConfigMap of the form "kubelet-config-1.X" in the cluster, where X is the minor version of the kubelet. Either kubeadm autodetects the kubelet version by exec-ing "kubelet --version" or respects the --kubelet-version parameter.
Downloads the kubelet configuration from a ConfigMap of the form "kubelet-config-1.X" in the cluster, where X is the minor version of the kubelet. Either kubeadm autodetects the kubelet version by exec-ing "kubelet --version" or respects the --kubelet-version parameter.
Alpha Disclaimer: this command is currently alpha. Alpha Disclaimer: this command is currently alpha.
@ -15,66 +14,24 @@ kubeadm alpha kubelet config download [flags]
### Examples ### Examples
``` ```
# Downloads the kubelet configuration from the ConfigMap in the cluster. Autodetects the kubelet version. # Download the kubelet configuration from the ConfigMap in the cluster. Autodetect the kubelet version.
kubeadm alpha phase kubelet config download kubeadm alpha phase kubelet config download
# Downloads the kubelet configuration from the ConfigMap in the cluster. Uses a specific desired kubelet version. # Download the kubelet configuration from the ConfigMap in the cluster. Use a specific desired kubelet version.
kubeadm alpha phase kubelet config download --kubelet-version v1.12.0 kubeadm alpha phase kubelet config download --kubelet-version 1.14.0
``` ```
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for download
<col span="1" style="width: 10px;" /> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<col span="1" /> --kubelet-version string The desired version for the kubelet. Defaults to being autodetected from 'kubelet --version'.
</colgroup> ```
<tbody>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for download</td>
</tr>
<tr>
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/kubelet.conf"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--kubelet-version string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The desired version for the kubelet. Defaults to being autodetected from 'kubelet --version'.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
EXPERIMENTAL: Enables or updates dynamic kubelet configuration for a Node EXPERIMENTAL: Enable or update dynamic kubelet configuration for a Node
### Synopsis ### Synopsis
Enable or update dynamic kubelet configuration for a Node, against the kubelet-config-1.X ConfigMap in the cluster, where X is the minor version of the desired kubelet version.
Enables or updates dynamic kubelet configuration for a Node, against the kubelet-config-1.X ConfigMap in the cluster, where X is the minor version of the desired kubelet version.
WARNING: This feature is still experimental, and disabled by default. Enable only if you know what you are doing, as it may have surprising side-effects at this stage. WARNING: This feature is still experimental, and disabled by default. Enable only if you know what you are doing, as it may have surprising side-effects at this stage.
@ -17,8 +16,8 @@ kubeadm alpha kubelet config enable-dynamic [flags]
### Examples ### Examples
``` ```
# Enables dynamic kubelet configuration for a Node. # Enable dynamic kubelet configuration for a Node.
kubeadm alpha phase kubelet enable-dynamic-config --node-name node-1 --kubelet-version v1.12.0 kubeadm alpha phase kubelet enable-dynamic-config --node-name node-1 --kubelet-version 1.14.0
WARNING: This feature is still experimental, and disabled by default. Enable only if you know what you are doing, as it WARNING: This feature is still experimental, and disabled by default. Enable only if you know what you are doing, as it
may have surprising side-effects at this stage. may have surprising side-effects at this stage.
@ -26,64 +25,16 @@ kubeadm alpha kubelet config enable-dynamic [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for enable-dynamic
<col span="1" style="width: 10px;" /> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<col span="1" /> --kubelet-version string The desired version for the kubelet
</colgroup> --node-name string Name of the node that should enable the dynamic kubelet configuration
<tbody> ```
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for enable-dynamic</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--kubelet-version string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The desired version for the kubelet</td>
</tr>
<tr>
<td colspan="2">--node-name string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Name of the node that should enable the dynamic kubelet configuration</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,50 +1,19 @@
Makes a kubeadm cluster self-hosted Make a kubeadm cluster self-hosted
### Synopsis ### Synopsis
This command is not meant to be run on its own. See list of available subcommands. This command is not meant to be run on its own. See list of available subcommands.
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for selfhosting
<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%; word-wrap: break-word;">help for selfhosting</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Converts a static Pod-hosted control plane into a self-hosted one Convert a static Pod-hosted control plane into a self-hosted one
### Synopsis ### Synopsis
Convert static Pod files for control plane components into self-hosted DaemonSets configured via the Kubernetes API.
Converts static Pod files for control plane components into self-hosted DaemonSets configured via the Kubernetes API.
See the documentation for self-hosting limitations. See the documentation for self-hosting limitations.
@ -17,85 +16,25 @@ kubeadm alpha selfhosting pivot [flags]
### Examples ### Examples
``` ```
# Converts a static Pod-hosted control plane into a self-hosted one. # Convert a static Pod-hosted control plane into a self-hosted one.
kubeadm alpha phase self-hosting convert-from-staticpods kubeadm alpha phase self-hosting convert-from-staticpods
``` ```
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> -f, --force Pivot the cluster without prompting for confirmation
</colgroup> -h, --help help for pivot
<tbody> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
-s, --store-certs-in-secrets Enable storing certs in secrets
<tr> ```
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where certificates are stored</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental</td>
</tr>
<tr>
<td colspan="2">-f, --force</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Pivot the cluster without prompting for confirmation</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for pivot</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">-s, --store-certs-in-secrets</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Enable storing certs in secrets</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Output shell completion code for the specified shell (bash or zsh). Output shell completion code for the specified shell (bash or zsh)
### Synopsis ### Synopsis
Output shell completion code for the specified shell (bash or zsh). Output shell completion code for the specified shell (bash or zsh).
The shell code must be evaluated to provide interactive The shell code must be evaluated to provide interactive
completion of kubeadm commands. This can be done by sourcing it from completion of kubeadm commands. This can be done by sourcing it from
@ -39,7 +38,7 @@ source $HOME/.bash_profile
# Load the kubeadm completion code for bash into the current shell # Load the kubeadm completion code for bash into the current shell
source <(kubeadm completion bash) source <(kubeadm completion bash)
# Write bash completion code to a file and source if from .bash_profile # Write bash completion code to a file and source it from .bash_profile
kubeadm completion bash > ~/.kube/kubeadm_completion.bash.inc kubeadm completion bash > ~/.kube/kubeadm_completion.bash.inc
printf "\n# Kubeadm shell completion\nsource '$HOME/.kube/kubeadm_completion.bash.inc'\n" >> $HOME/.bash_profile printf "\n# Kubeadm shell completion\nsource '$HOME/.kube/kubeadm_completion.bash.inc'\n" >> $HOME/.bash_profile
source $HOME/.bash_profile source $HOME/.bash_profile
@ -50,43 +49,13 @@ source <(kubeadm completion zsh)
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for completion
<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%; word-wrap: break-word;">help for completion</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Manage configuration for a kubeadm cluster persisted in a ConfigMap in the cluster. Manage configuration for a kubeadm cluster persisted in a ConfigMap in the cluster
### Synopsis ### Synopsis
There is a ConfigMap in the kube-system namespace called "kubeadm-config" that kubeadm uses to store internal configuration about the 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 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 initialized your cluster using kubeadm v1.7.x or lower, you must use the 'config upload' command to create this
@ -17,50 +16,14 @@ kubeadm config [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for config
<col span="1" style="width: 10px;" /> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<col span="1" /> ```
</colgroup>
<tbody>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for 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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Interact with container images used by kubeadm. Interact with container images used by kubeadm
### Synopsis ### Synopsis
Interact with container images used by kubeadm
Interact with container images used by kubeadm.
``` ```
kubeadm config images [flags] kubeadm config images [flags]
@ -12,50 +11,14 @@ kubeadm config images [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for images
<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%; word-wrap: break-word;">help for images</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<col span="1" style="width: 10px;" /> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" /> ```
</colgroup>
<tbody>
<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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Print a list of images kubeadm will use. The configuration file is used in case any images or image repositories are customized. Print a list of images kubeadm will use. The configuration file is used in case any images or image repositories are customized
### Synopsis ### Synopsis
Print a list of images kubeadm will use. The configuration file is used in case any images or image repositories are customized
Print a list of images kubeadm will use. The configuration file is used in case any images or image repositories are customized.
``` ```
kubeadm config images list [flags] kubeadm config images list [flags]
@ -12,71 +11,18 @@ kubeadm config images list [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --config string Path to kubeadm config file.
<col span="1" style="width: 10px;" /> --feature-gates string A set of key=value pairs that describe feature gates for various features. No feature gates are available in this release.
<col span="1" /> -h, --help help for list
</colgroup> --image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
<tbody> --kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1")
```
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file.</td>
</tr>
<tr>
<td colspan="2">--feature-gates string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of key=value pairs that describe feature gates for various features. Options are:<br/></td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for list</td>
</tr>
<tr>
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<col span="1" style="width: 10px;" /> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" /> ```
</colgroup>
<tbody>
<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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Pull images used by kubeadm. Pull images used by kubeadm
### Synopsis ### Synopsis
Pull images used by kubeadm
Pull images used by kubeadm.
``` ```
kubeadm config images pull [flags] kubeadm config images pull [flags]
@ -12,78 +11,19 @@ kubeadm config images pull [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --config string Path to kubeadm config file.
<col span="1" style="width: 10px;" /> --cri-socket string Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.
<col span="1" /> --feature-gates string A set of key=value pairs that describe feature gates for various features. No feature gates are available in this release.
</colgroup> -h, --help help for pull
<tbody> --image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
--kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1")
<tr> ```
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file.</td>
</tr>
<tr>
<td colspan="2">--cri-socket string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/var/run/dockershim.sock"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the CRI socket to connect to.</td>
</tr>
<tr>
<td colspan="2">--feature-gates string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of key=value pairs that describe feature gates for various features. Options are:<br/></td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for pull</td>
</tr>
<tr>
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<col span="1" style="width: 10px;" /> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" /> ```
</colgroup>
<tbody>
<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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,13 +1,13 @@
Read an older version of the kubeadm configuration API types from a file, and output the similar config object for the newer version. Read an older version of the kubeadm configuration API types from a file, and output the similar config object for the newer version
### Synopsis ### Synopsis
This command lets you convert configuration objects of older versions to the latest supported version, This command lets you convert configuration objects of older versions to the latest supported version,
locally in the CLI tool without ever touching anything in the cluster. locally in the CLI tool without ever touching anything in the cluster.
In this version of kubeadm, the following API versions are supported: In this version of kubeadm, the following API versions are supported:
- kubeadm.k8s.io/v1beta1 - kubeadm.k8s.io/v1beta1
- kubeadm.k8s.io/v1beta2 - kubeadm.k8s.io/v1beta2
@ -26,64 +26,16 @@ kubeadm config migrate [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for migrate
<col span="1" style="width: 10px;" /> --new-config string Path to the resulting equivalent kubeadm config file using the new API version. Optional, if not specified output will be sent to STDOUT.
<col span="1" /> --old-config string Path to the kubeadm config file that is using an old API version and should be converted. This flag is mandatory.
</colgroup> ```
<tbody>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for migrate</td>
</tr>
<tr>
<td colspan="2">--new-config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to the resulting equivalent kubeadm config file using the new API version. Optional, if not specified output will be sent to STDOUT.</td>
</tr>
<tr>
<td colspan="2">--old-config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to the kubeadm config file that is using an old API version and should be converted. This flag is mandatory.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<col span="1" style="width: 10px;" /> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" /> ```
</colgroup>
<tbody>
<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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -3,7 +3,6 @@ Print configuration
### Synopsis ### Synopsis
This command prints configurations for subcommands provided. This command prints configurations for subcommands provided.
``` ```
@ -12,50 +11,14 @@ kubeadm config print [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for print
<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%; word-wrap: break-word;">help for print</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<col span="1" style="width: 10px;" /> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" /> ```
</colgroup>
<tbody>
<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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -4,7 +4,6 @@ Print default init configuration, that can be used for 'kubeadm init'
### Synopsis ### Synopsis
This command prints objects such as the default init configuration that is used for 'kubeadm init'. This command prints objects such as the default init configuration that is used for 'kubeadm init'.
Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like {"abcdef.0123456789abcdef" "" "nil" <nil> [] []} in order to pass validation but Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like {"abcdef.0123456789abcdef" "" "nil" <nil> [] []} in order to pass validation but
@ -17,57 +16,15 @@ kubeadm config print init-defaults [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --component-configs strings A comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed.
<col span="1" style="width: 10px;" /> -h, --help help for init-defaults
<col span="1" /> ```
</colgroup>
<tbody>
<tr>
<td colspan="2">--component-configs stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed.</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for init-defaults</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<col span="1" style="width: 10px;" /> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" /> ```
</colgroup>
<tbody>
<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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -4,7 +4,6 @@ Print default join configuration, that can be used for 'kubeadm join'
### Synopsis ### Synopsis
This command prints objects such as the default join configuration that is used for 'kubeadm join'. This command prints objects such as the default join configuration that is used for 'kubeadm join'.
Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like {"abcdef.0123456789abcdef" "" "nil" <nil> [] []} in order to pass validation but Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like {"abcdef.0123456789abcdef" "" "nil" <nil> [] []} in order to pass validation but
@ -17,57 +16,15 @@ kubeadm config print join-defaults [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --component-configs strings A comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed.
<col span="1" style="width: 10px;" /> -h, --help help for join-defaults
<col span="1" /> ```
</colgroup>
<tbody>
<tr>
<td colspan="2">--component-configs stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed.</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for join-defaults</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<col span="1" style="width: 10px;" /> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" /> ```
</colgroup>
<tbody>
<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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,61 +0,0 @@
Upload configuration about the current state, so that 'kubeadm upgrade' can later know how to configure the upgraded cluster.
### Synopsis
Upload configuration about the current state, so that 'kubeadm upgrade' can later know how to configure the upgraded cluster.
```
kubeadm config upload [flags]
```
### Options
<table style="width: 100%; table-layout: fixed;">
<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%; word-wrap: break-word;">help for upload</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;">
<colgroup>
<col span="1" style="width: 10px;" />
<col span="1" />
</colgroup>
<tbody>
<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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,74 +0,0 @@
Upload a configuration file to the in-cluster ConfigMap for kubeadm configuration.
### Synopsis
Using this command, you can upload configuration to the ConfigMap in the cluster using the same config file you gave to 'kubeadm init'.
If you initialized your cluster using a v1.7.x or lower kubeadm client and used the --config option, you need to run this command with the
same config file before upgrading to v1.8 using 'kubeadm upgrade'.
The configuration is located in the "kube-system" namespace in the "kubeadm-config" ConfigMap.
```
kubeadm config upload from-file [flags]
```
### Options
<table style="width: 100%; table-layout: fixed;">
<colgroup>
<col span="1" style="width: 10px;" />
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">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%; word-wrap: break-word;">help for from-file</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;">
<colgroup>
<col span="1" style="width: 10px;" />
<col span="1" />
</colgroup>
<tbody>
<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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,144 +0,0 @@
Create the in-cluster configuration file for the first time from using flags.
### Synopsis
Using this command, you can upload configuration to the ConfigMap in the cluster using the same flags you gave to 'kubeadm init'.
If you initialized your cluster using a v1.7.x or lower kubeadm client and set certain flags, you need to run this command with the
same flags before upgrading to v1.8 using 'kubeadm upgrade'.
The configuration is located in the "kube-system" namespace in the "kubeadm-config" ConfigMap.
```
kubeadm config upload from-flags [flags]
```
### Options
<table style="width: 100%; table-layout: fixed;">
<colgroup>
<col span="1" style="width: 10px;" />
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--apiserver-advertise-address string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td>
</tr>
<tr>
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Port for the API Server to bind to.</td>
</tr>
<tr>
<td colspan="2">--apiserver-cert-extra-sans stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--cri-socket string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/var/run/dockershim.sock"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the CRI socket to connect to.</td>
</tr>
<tr>
<td colspan="2">--feature-gates string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of key=value pairs that describe feature gates for various features. Options are:<br/></td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for from-flags</td>
</tr>
<tr>
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane.</td>
</tr>
<tr>
<td colspan="2">--node-name string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the node name.</td>
</tr>
<tr>
<td colspan="2">--pod-network-cidr string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.</td>
</tr>
<tr>
<td colspan="2">--service-cidr string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "10.96.0.0/12"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative range of IP address for service VIPs.</td>
</tr>
<tr>
<td colspan="2">--service-dns-domain string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "cluster.local"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative domain for services, e.g. "myorg.internal".</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;">
<colgroup>
<col span="1" style="width: 10px;" />
<col span="1" />
</colgroup>
<tbody>
<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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
View the kubeadm configuration stored inside the cluster. View the kubeadm configuration stored inside the cluster
### Synopsis ### Synopsis
Using this command, you can view the ConfigMap in the cluster where the configuration for kubeadm is located. Using this command, you can view the ConfigMap in the cluster where the configuration for kubeadm is located.
The configuration is located in the "kube-system" namespace in the "kubeadm-config" ConfigMap. The configuration is located in the "kube-system" namespace in the "kubeadm-config" ConfigMap.
@ -16,50 +15,14 @@ kubeadm config view [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for view
<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%; word-wrap: break-word;">help for view</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<col span="1" style="width: 10px;" /> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" /> ```
</colgroup>
<tbody>
<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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,43 +1,46 @@
Run this command in order to set up the Kubernetes control plane. Run this command in order to set up the Kubernetes control plane
### Synopsis ### Synopsis
The `init` command executes the following phases: Run this command in order to set up the Kubernetes control plane
The "init" command executes the following phases:
``` ```
preflight Run master pre-flight checks preflight Run pre-flight checks
kubelet-start Writes kubelet settings and (re)starts the kubelet kubelet-start Write kubelet settings and (re)start the kubelet
certs Certificate generation certs Certificate generation
/ca Generates the self-signed Kubernetes CA to provision identities for other Kubernetes components /etcd-ca Generate the self-signed CA to provision identities for etcd
/apiserver Generates the certificate for serving the Kubernetes API /apiserver-etcd-client Generate the certificate the apiserver uses to access etcd
/apiserver-kubelet-client Generates the Client certificate for the API server to connect to kubelet /etcd-healthcheck-client Generate the certificate for liveness probes to healtcheck etcd
/front-proxy-ca Generates the self-signed CA to provision identities for front proxy /etcd-server Generate the certificate for serving etcd
/front-proxy-client Generates the client for the front proxy /etcd-peer Generate the certificate for etcd nodes to communicate with each other
/etcd-ca Generates the self-signed CA to provision identities for etcd /ca Generate the self-signed Kubernetes CA to provision identities for other Kubernetes components
/etcd-server Generates the certificate for serving etcd /apiserver Generate the certificate for serving the Kubernetes API
/etcd-peer Generates the credentials for etcd nodes to communicate with each other /apiserver-kubelet-client Generate the certificate for the API server to connect to kubelet
/etcd-healthcheck-client Generates the client certificate for liveness probes to healtcheck etcd /front-proxy-ca Generate the self-signed CA to provision identities for front proxy
/apiserver-etcd-client Generates the client apiserver uses to access etcd /front-proxy-client Generate the certificate for the front proxy client
/sa Generates a private key for signing service account tokens along with its public key /sa Generate a private key for signing service account tokens along with its public key
kubeconfig Generates all kubeconfig files necessary to establish the control plane and the admin kubeconfig file kubeconfig Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file
/admin Generates a kubeconfig file for the admin to use and for kubeadm itself /admin Generate a kubeconfig file for the admin to use and for kubeadm itself
/kubelet Generates a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes /kubelet Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes
/controller-manager Generates a kubeconfig file for the controller manager to use /controller-manager Generate a kubeconfig file for the controller manager to use
/scheduler Generates a kubeconfig file for the scheduler to use /scheduler Generate a kubeconfig file for the scheduler to use
control-plane Generates all static Pod manifest files necessary to establish the control plane control-plane Generate all static Pod manifest files necessary to establish the control plane
/apiserver Generates the kube-apiserver static Pod manifest /apiserver Generates the kube-apiserver static Pod manifest
/controller-manager Generates the kube-controller-manager static Pod manifest /controller-manager Generates the kube-controller-manager static Pod manifest
/scheduler Generates the kube-scheduler static Pod manifest /scheduler Generates the kube-scheduler static Pod manifest
etcd Generates static Pod manifest file for local etcd. etcd Generate static Pod manifest file for local etcd
/local Generates the static Pod manifest file for a local, single-node local etcd instance. /local Generate the static Pod manifest file for a local, single-node local etcd instance
upload-config Uploads the kubeadm and kubelet configuration to a ConfigMap upload-config Upload the kubeadm and kubelet configuration to a ConfigMap
/kubeadm Uploads the kubeadm ClusterConfiguration to a ConfigMap /kubeadm Upload the kubeadm ClusterConfiguration to a ConfigMap
/kubelet Uploads the kubelet component config to a ConfigMap /kubelet Upload the kubelet component config to a ConfigMap
upload-certs Upload certificates to kubeadm-certs
mark-control-plane Mark a node as a control-plane mark-control-plane Mark a node as a control-plane
bootstrap-token Generates bootstrap tokens used to join a node to a cluster bootstrap-token Generates bootstrap tokens used to join a node to a cluster
addon Installs required addons for passing Conformance tests addon Install required addons for passing Conformance tests
/coredns Installs the CoreDNS addon to a Kubernetes cluster /coredns Install the CoreDNS addon to a Kubernetes cluster
/kube-proxy Installs the kube-proxy addon to a Kubernetes cluster /kube-proxy Install the kube-proxy addon to a Kubernetes cluster
``` ```
@ -47,176 +50,35 @@ kubeadm init [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
<col span="1" /> --apiserver-cert-extra-sans strings Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.
</colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<tbody> --certificate-key string Key used to encrypt the control-plane certificates in the kubeadm-certs Secret.
--config string Path to a kubeadm configuration file.
<tr> --cri-socket string Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.
<td colspan="2">--apiserver-advertise-address string</td> --dry-run Don't apply any changes; just output what would be done.
</tr> --feature-gates string A set of key=value pairs that describe feature gates for various features. No feature gates are available in this release.
<tr> -h, --help help for init
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td> --ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
</tr> --image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
--kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1")
<tr> --node-name string Specify the node name.
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td> --pod-network-cidr string Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
</tr> --service-cidr string Use alternative range of IP address for service VIPs. (default "10.96.0.0/12")
<tr> --service-dns-domain string Use alternative domain for services, e.g. "myorg.internal". (default "cluster.local")
<td></td><td style="line-height: 130%; word-wrap: break-word;">Port for the API Server to bind to.</td> --skip-certificate-key-print Don't print the key used to encrypt the control-plane certificates.
</tr> --skip-phases strings List of phases to be skipped
--skip-token-print Skip printing of the default bootstrap token generated by 'kubeadm init'.
<tr> --token string The token to use for establishing bidirectional trust between nodes and control-plane nodes. The format is [a-z0-9]{6}\.[a-z0-9]{16} - e.g. abcdef.0123456789abcdef
<td colspan="2">--apiserver-cert-extra-sans stringSlice</td> --token-ttl duration The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire (default 24h0m0s)
</tr> --upload-certs Upload control-plane certificates to the kubeadm-certs Secret.
<tr> ```
<td></td><td style="line-height: 130%; word-wrap: break-word;">Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--cri-socket string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/var/run/dockershim.sock"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the CRI socket to connect to.</td>
</tr>
<tr>
<td colspan="2">--dry-run</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Don't apply any changes; just output what would be done.</td>
</tr>
<tr>
<td colspan="2">--feature-gates string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of key=value pairs that describe feature gates for various features. Options are:<br/></td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for init</td>
</tr>
<tr>
<td colspan="2">--ignore-preflight-errors stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.</td>
</tr>
<tr>
<td colspan="2">--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "k8s.gcr.io"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a container registry to pull control plane images from</td>
</tr>
<tr>
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane.</td>
</tr>
<tr>
<td colspan="2">--node-name string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the node name.</td>
</tr>
<tr>
<td colspan="2">--pod-network-cidr string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.</td>
</tr>
<tr>
<td colspan="2">--service-cidr string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "10.96.0.0/12"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative range of IP address for service VIPs.</td>
</tr>
<tr>
<td colspan="2">--service-dns-domain string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "cluster.local"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative domain for services, e.g. "myorg.internal".</td>
</tr>
<tr>
<td colspan="2">--skip-phases stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">List of phases to be skipped</td>
</tr>
<tr>
<td colspan="2">--skip-token-print</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Skip printing of the default bootstrap token generated by 'kubeadm init'.</td>
</tr>
<tr>
<td colspan="2">--token string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The token to use for establishing bidirectional trust between nodes and masters. The format is [a-z0-9]{6}\.[a-z0-9]{16} - e.g. abcdef.0123456789abcdef</td>
</tr>
<tr>
<td colspan="2">--token-ttl duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 24h0m0s</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,50 +1,19 @@
use this command to invoke single phase of the init workflow Use this command to invoke single phase of the init workflow
### Synopsis ### Synopsis
Use this command to invoke single phase of the init workflow
use this command to invoke single phase of the init workflow
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for phase
<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%; word-wrap: break-word;">help for phase</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,9 +1,8 @@
Installs required addons for passing Conformance tests Install required addons for passing Conformance tests
### Synopsis ### Synopsis
This command is not meant to be run on its own. See list of available subcommands. This command is not meant to be run on its own. See list of available subcommands.
``` ```
@ -12,43 +11,13 @@ kubeadm init phase addon [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for addon
<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%; word-wrap: break-word;">help for addon</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Installs all the addons Install all the addons
### Synopsis ### Synopsis
Install all the addons
Installs all the addons
``` ```
kubeadm init phase addon all [flags] kubeadm init phase addon all [flags]
@ -12,113 +11,23 @@ kubeadm init phase addon all [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
<col span="1" /> --config string Path to a kubeadm configuration file.
</colgroup> --feature-gates string A set of key=value pairs that describe feature gates for various features. No feature gates are available in this release.
<tbody> -h, --help help for all
--image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
<tr> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<td colspan="2">--apiserver-advertise-address string</td> --kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1")
</tr> --pod-network-cidr string Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
<tr> --service-cidr string Use alternative range of IP address for service VIPs. (default "10.96.0.0/12")
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td> --service-dns-domain string Use alternative domain for services, e.g. "myorg.internal". (default "cluster.local")
</tr> ```
<tr>
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Port for the API Server to bind to.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--feature-gates string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of key=value pairs that describe feature gates for various features. Options are:<br/></td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for all</td>
</tr>
<tr>
<td colspan="2">--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "k8s.gcr.io"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a container registry to pull control plane images from</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane.</td>
</tr>
<tr>
<td colspan="2">--pod-network-cidr string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.</td>
</tr>
<tr>
<td colspan="2">--service-cidr string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "10.96.0.0/12"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative range of IP address for service VIPs.</td>
</tr>
<tr>
<td colspan="2">--service-dns-domain string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "cluster.local"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative domain for services, e.g. "myorg.internal".</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Installs the CoreDNS addon to a Kubernetes cluster Install the CoreDNS addon to a Kubernetes cluster
### Synopsis ### Synopsis
Install the CoreDNS addon components via the API server. Please note that although the DNS server is deployed, it will not be scheduled until CNI is installed.
Installs the CoreDNS addon components via the API server. Please note that although the DNS server is deployed, it will not be scheduled until CNI is installed.
``` ```
kubeadm init phase addon coredns [flags] kubeadm init phase addon coredns [flags]
@ -12,92 +11,20 @@ kubeadm init phase addon coredns [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --config string Path to a kubeadm configuration file.
<col span="1" style="width: 10px;" /> --feature-gates string A set of key=value pairs that describe feature gates for various features. No feature gates are available in this release.
<col span="1" /> -h, --help help for coredns
</colgroup> --image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
<tbody> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
--kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1")
<tr> --service-cidr string Use alternative range of IP address for service VIPs. (default "10.96.0.0/12")
<td colspan="2">--config string</td> --service-dns-domain string Use alternative domain for services, e.g. "myorg.internal". (default "cluster.local")
</tr> ```
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--feature-gates string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of key=value pairs that describe feature gates for various features. Options are:<br/></td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for coredns</td>
</tr>
<tr>
<td colspan="2">--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "k8s.gcr.io"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a container registry to pull control plane images from</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane.</td>
</tr>
<tr>
<td colspan="2">--service-cidr string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "10.96.0.0/12"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative range of IP address for service VIPs.</td>
</tr>
<tr>
<td colspan="2">--service-dns-domain string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "cluster.local"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative domain for services, e.g. "myorg.internal".</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Installs the kube-proxy addon to a Kubernetes cluster Install the kube-proxy addon to a Kubernetes cluster
### Synopsis ### Synopsis
Install the kube-proxy addon components via the API server.
Installs the kube-proxy addon components via the API server.
``` ```
kubeadm init phase addon kube-proxy [flags] kubeadm init phase addon kube-proxy [flags]
@ -12,92 +11,20 @@ kubeadm init phase addon kube-proxy [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
<col span="1" /> --config string Path to a kubeadm configuration file.
</colgroup> -h, --help help for kube-proxy
<tbody> --image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<tr> --kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1")
<td colspan="2">--apiserver-advertise-address string</td> --pod-network-cidr string Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
</tr> ```
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td>
</tr>
<tr>
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Port for the API Server to bind to.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for kube-proxy</td>
</tr>
<tr>
<td colspan="2">--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "k8s.gcr.io"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a container registry to pull control plane images from</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
<tr>
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane.</td>
</tr>
<tr>
<td colspan="2">--pod-network-cidr string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -3,7 +3,6 @@ Generates bootstrap tokens used to join a node to a cluster
### Synopsis ### Synopsis
Bootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a the control-plane node. Bootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a the control-plane node.
This command makes all the configurations required to make bootstrap tokens works and then creates an initial token. This command makes all the configurations required to make bootstrap tokens works and then creates an initial token.
@ -15,71 +14,23 @@ kubeadm init phase bootstrap-token [flags]
### Examples ### Examples
``` ```
# Makes all the bootstrap token configurations and creates an initial token, functionally # Make all the bootstrap token configurations and create an initial token, functionally
# equivalent to what generated by kubeadm init. # equivalent to what generated by kubeadm init.
kubeadm init phase bootstrap-token kubeadm init phase bootstrap-token
``` ```
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --config string Path to a kubeadm configuration file.
<col span="1" style="width: 10px;" /> -h, --help help for bootstrap-token
<col span="1" /> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
</colgroup> --skip-token-print Skip printing of the default bootstrap token generated by 'kubeadm init'.
<tbody> ```
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for bootstrap-token</td>
</tr>
<tr>
<td colspan="2">--kubeconfig-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the kubeconfig file.</td>
</tr>
<tr>
<td colspan="2">--skip-token-print</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Skip printing of the default bootstrap token generated by 'kubeadm init'.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -3,7 +3,6 @@ Certificate generation
### Synopsis ### Synopsis
This command is not meant to be run on its own. See list of available subcommands. This command is not meant to be run on its own. See list of available subcommands.
``` ```
@ -12,43 +11,13 @@ kubeadm init phase certs [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for certs
<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%; word-wrap: break-word;">help for certs</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates all certificates Generate all certificates
### Synopsis ### Synopsis
Generate all certificates
Generates all certificates
``` ```
kubeadm init phase certs all [flags] kubeadm init phase certs all [flags]
@ -12,85 +11,19 @@ kubeadm init phase certs all [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-cert-extra-sans strings Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.
<col span="1" /> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
</colgroup> --config string Path to a kubeadm configuration file.
<tbody> -h, --help help for all
--service-cidr string Use alternative range of IP address for service VIPs. (default "10.96.0.0/12")
<tr> --service-dns-domain string Use alternative domain for services, e.g. "myorg.internal". (default "cluster.local")
<td colspan="2">--apiserver-advertise-address string</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td>
</tr>
<tr>
<td colspan="2">--apiserver-cert-extra-sans stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for all</td>
</tr>
<tr>
<td colspan="2">--service-cidr string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "10.96.0.0/12"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative range of IP address for service VIPs.</td>
</tr>
<tr>
<td colspan="2">--service-dns-domain string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "cluster.local"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative domain for services, e.g. "myorg.internal".</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates the client apiserver uses to access etcd Generate the certificate the apiserver uses to access etcd
### Synopsis ### Synopsis
Generate the certificate the apiserver uses to access etcd, and save them into apiserver-etcd-client.cert and apiserver-etcd-client.key files.
Generates the client apiserver uses to access etcd, and saves them into apiserver-etcd-client.cert and apiserver-etcd-client.key files.
If both files already exist, kubeadm skips the generation step and existing files will be used. If both files already exist, kubeadm skips the generation step and existing files will be used.
@ -16,71 +15,17 @@ kubeadm init phase certs apiserver-etcd-client [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for apiserver-etcd-client
```
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for apiserver-etcd-client</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates the Client certificate for the API server to connect to kubelet Generate the certificate for the API server to connect to kubelet
### Synopsis ### Synopsis
Generate the certificate for the API server to connect to kubelet, and save them into apiserver-kubelet-client.cert and apiserver-kubelet-client.key files.
Generates the Client certificate for the API server to connect to kubelet, and saves them into apiserver-kubelet-client.cert and apiserver-kubelet-client.key files.
If both files already exist, kubeadm skips the generation step and existing files will be used. If both files already exist, kubeadm skips the generation step and existing files will be used.
@ -16,71 +15,17 @@ kubeadm init phase certs apiserver-kubelet-client [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for apiserver-kubelet-client
```
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for apiserver-kubelet-client</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates the certificate for serving the Kubernetes API Generate the certificate for serving the Kubernetes API
### Synopsis ### Synopsis
Generate the certificate for serving the Kubernetes API, and save them into apiserver.cert and apiserver.key files.
Generates the certificate for serving the Kubernetes API, and saves them into apiserver.cert and apiserver.key files.
Default SANs are kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, 10.96.0.1, 127.0.0.1 Default SANs are kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, 10.96.0.1, 127.0.0.1
@ -18,99 +17,21 @@ kubeadm init phase certs apiserver [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-cert-extra-sans strings Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.
<col span="1" /> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
</colgroup> --config string Path to a kubeadm configuration file.
<tbody> --csr-dir string The path to output the CSRs and private keys to
--csr-only Create CSRs instead of generating certificates
<tr> -h, --help help for apiserver
<td colspan="2">--apiserver-advertise-address string</td> --service-cidr string Use alternative range of IP address for service VIPs. (default "10.96.0.0/12")
</tr> --service-dns-domain string Use alternative domain for services, e.g. "myorg.internal". (default "cluster.local")
<tr> ```
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td>
</tr>
<tr>
<td colspan="2">--apiserver-cert-extra-sans stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for apiserver</td>
</tr>
<tr>
<td colspan="2">--service-cidr string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "10.96.0.0/12"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative range of IP address for service VIPs.</td>
</tr>
<tr>
<td colspan="2">--service-dns-domain string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "cluster.local"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative domain for services, e.g. "myorg.internal".</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates the self-signed Kubernetes CA to provision identities for other Kubernetes components Generate the self-signed Kubernetes CA to provision identities for other Kubernetes components
### Synopsis ### Synopsis
Generate the self-signed Kubernetes CA to provision identities for other Kubernetes components, and save them into ca.cert and ca.key files.
Generates the self-signed Kubernetes CA to provision identities for other Kubernetes components, and saves them into ca.cert and ca.key files.
If both files already exist, kubeadm skips the generation step and existing files will be used. If both files already exist, kubeadm skips the generation step and existing files will be used.
@ -16,57 +15,15 @@ kubeadm init phase certs ca [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> -h, --help help for ca
</colgroup> ```
<tbody>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for ca</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates the self-signed CA to provision identities for etcd Generate the self-signed CA to provision identities for etcd
### Synopsis ### Synopsis
Generate the self-signed CA to provision identities for etcd, and save them into etcd/ca.cert and etcd/ca.key files.
Generates the self-signed CA to provision identities for etcd, and saves them into etcd/ca.cert and etcd/ca.key files.
If both files already exist, kubeadm skips the generation step and existing files will be used. If both files already exist, kubeadm skips the generation step and existing files will be used.
@ -16,57 +15,15 @@ kubeadm init phase certs etcd-ca [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> -h, --help help for etcd-ca
</colgroup> ```
<tbody>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for etcd-ca</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates the client certificate for liveness probes to healtcheck etcd Generate the certificate for liveness probes to healtcheck etcd
### Synopsis ### Synopsis
Generate the certificate for liveness probes to healtcheck etcd, and save them into etcd/healthcheck-client.cert and etcd/healthcheck-client.key files.
Generates the client certificate for liveness probes to healtcheck etcd, and saves them into etcd/healthcheck-client.cert and etcd/healthcheck-client.key files.
If both files already exist, kubeadm skips the generation step and existing files will be used. If both files already exist, kubeadm skips the generation step and existing files will be used.
@ -16,71 +15,17 @@ kubeadm init phase certs etcd-healthcheck-client [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for etcd-healthcheck-client
```
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for etcd-healthcheck-client</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates the credentials for etcd nodes to communicate with each other Generate the certificate for etcd nodes to communicate with each other
### Synopsis ### Synopsis
Generate the certificate for etcd nodes to communicate with each other, and save them into etcd/peer.cert and etcd/peer.key files.
Generates the credentials for etcd nodes to communicate with each other, and saves them into etcd/peer.cert and etcd/peer.key files.
Default SANs are localhost, 127.0.0.1, 127.0.0.1, ::1 Default SANs are localhost, 127.0.0.1, 127.0.0.1, ::1
@ -18,71 +17,17 @@ kubeadm init phase certs etcd-peer [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for etcd-peer
```
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for etcd-peer</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates the certificate for serving etcd Generate the certificate for serving etcd
### Synopsis ### Synopsis
Generate the certificate for serving etcd, and save them into etcd/server.cert and etcd/server.key files.
Generates the certificate for serving etcd, and saves them into etcd/server.cert and etcd/server.key files.
Default SANs are localhost, 127.0.0.1, 127.0.0.1, ::1 Default SANs are localhost, 127.0.0.1, 127.0.0.1, ::1
@ -18,71 +17,17 @@ kubeadm init phase certs etcd-server [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for etcd-server
```
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for etcd-server</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates the self-signed CA to provision identities for front proxy Generate the self-signed CA to provision identities for front proxy
### Synopsis ### Synopsis
Generate the self-signed CA to provision identities for front proxy, and save them into front-proxy-ca.cert and front-proxy-ca.key files.
Generates the self-signed CA to provision identities for front proxy, and saves them into front-proxy-ca.cert and front-proxy-ca.key files.
If both files already exist, kubeadm skips the generation step and existing files will be used. If both files already exist, kubeadm skips the generation step and existing files will be used.
@ -16,57 +15,15 @@ kubeadm init phase certs front-proxy-ca [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> -h, --help help for front-proxy-ca
</colgroup> ```
<tbody>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for front-proxy-ca</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates the client for the front proxy Generate the certificate for the front proxy client
### Synopsis ### Synopsis
Generate the certificate for the front proxy client, and save them into front-proxy-client.cert and front-proxy-client.key files.
Generates the client for the front proxy, and saves them into front-proxy-client.cert and front-proxy-client.key files.
If both files already exist, kubeadm skips the generation step and existing files will be used. If both files already exist, kubeadm skips the generation step and existing files will be used.
@ -16,71 +15,17 @@ kubeadm init phase certs front-proxy-client [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --csr-dir string The path to output the CSRs and private keys to
</colgroup> --csr-only Create CSRs instead of generating certificates
<tbody> -h, --help help for front-proxy-client
```
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to output the CSRs and private keys to</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create CSRs instead of generating certificates</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for front-proxy-client</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates a private key for signing service account tokens along with its public key Generate a private key for signing service account tokens along with its public key
### Synopsis ### Synopsis
Generate the private key for signing service account tokens along with its public key, and save them into sa.key and sa.pub files. If both files already exist, kubeadm skips the generation step and existing files will be used.
Generates the private key for signing service account tokens along with its public key, and saves them into sa.key and sa.pub files. If both files already exist, kubeadm skips the generation step and existing files will be used.
Alpha Disclaimer: this command is currently alpha. Alpha Disclaimer: this command is currently alpha.
@ -14,43 +13,14 @@ kubeadm init phase certs sa [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> -h, --help help for sa
<col span="1" /> ```
</colgroup>
<tbody>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for sa</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,9 +1,8 @@
Generates all static Pod manifest files necessary to establish the control plane Generate all static Pod manifest files necessary to establish the control plane
### Synopsis ### Synopsis
This command is not meant to be run on its own. See list of available subcommands. This command is not meant to be run on its own. See list of available subcommands.
``` ```
@ -12,43 +11,13 @@ kubeadm init phase control-plane [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for control-plane
<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%; word-wrap: break-word;">help for control-plane</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,138 +1,46 @@
Generates all static Pod manifest files Generate all static Pod manifest files
### Synopsis ### Synopsis
Generate all static Pod manifest files
Generates all static Pod manifest files
``` ```
kubeadm init phase control-plane all [flags] kubeadm init phase control-plane all [flags]
``` ```
### Examples
```
# Generates all static Pod manifest files for control plane components,
# functionally equivalent to what is generated by kubeadm init.
kubeadm init phase control-plane all
# Generates all static Pod manifest files using options read from a configuration file.
kubeadm init phase control-plane all --config config.yaml
```
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
<col span="1" /> --apiserver-extra-args mapStringString A set of extra flags to pass to the API Server or override default ones in form of <flagname>=<value>
</colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<tbody> --config string Path to a kubeadm configuration file.
--controller-manager-extra-args mapStringString A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value>
<tr> --feature-gates string A set of key=value pairs that describe feature gates for various features. No feature gates are available in this release.
<td colspan="2">--apiserver-advertise-address string</td> -h, --help help for all
</tr> --image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
<tr> --kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1")
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td> --pod-network-cidr string Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
</tr> --scheduler-extra-args mapStringString A set of extra flags to pass to the Scheduler or override default ones in form of <flagname>=<value>
--service-cidr string Use alternative range of IP address for service VIPs. (default "10.96.0.0/12")
<tr> ```
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Port for the API Server to bind to.</td>
</tr>
<tr>
<td colspan="2">--apiserver-extra-args mapStringString</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of extra flags to pass to the API Server or override default ones in form of &lt;flagname&gt;=&lt;value&gt;</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--controller-manager-extra-args mapStringString</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of extra flags to pass to the Controller Manager or override default ones in form of &lt;flagname&gt;=&lt;value&gt;</td>
</tr>
<tr>
<td colspan="2">--feature-gates string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of key=value pairs that describe feature gates for various features. Options are:<br/></td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for all</td>
</tr>
<tr>
<td colspan="2">--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "k8s.gcr.io"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a container registry to pull control plane images from</td>
</tr>
<tr>
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane.</td>
</tr>
<tr>
<td colspan="2">--pod-network-cidr string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.</td>
</tr>
<tr>
<td colspan="2">--scheduler-extra-args mapStringString</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of extra flags to pass to the Scheduler or override default ones in form of &lt;flagname&gt;=&lt;value&gt;</td>
</tr>
<tr>
<td colspan="2">--service-cidr string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "10.96.0.0/12"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative range of IP address for service VIPs.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -3,7 +3,6 @@ Generates the kube-apiserver static Pod manifest
### Synopsis ### Synopsis
Generates the kube-apiserver static Pod manifest Generates the kube-apiserver static Pod manifest
``` ```
@ -12,106 +11,22 @@ kubeadm init phase control-plane apiserver [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
<col span="1" /> --apiserver-extra-args mapStringString A set of extra flags to pass to the API Server or override default ones in form of <flagname>=<value>
</colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<tbody> --config string Path to a kubeadm configuration file.
--feature-gates string A set of key=value pairs that describe feature gates for various features. No feature gates are available in this release.
<tr> -h, --help help for apiserver
<td colspan="2">--apiserver-advertise-address string</td> --image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
</tr> --kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1")
<tr> --service-cidr string Use alternative range of IP address for service VIPs. (default "10.96.0.0/12")
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td> ```
</tr>
<tr>
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Port for the API Server to bind to.</td>
</tr>
<tr>
<td colspan="2">--apiserver-extra-args mapStringString</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of extra flags to pass to the API Server or override default ones in form of &lt;flagname&gt;=&lt;value&gt;</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--feature-gates string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of key=value pairs that describe feature gates for various features. Options are:<br/></td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for apiserver</td>
</tr>
<tr>
<td colspan="2">--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "k8s.gcr.io"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a container registry to pull control plane images from</td>
</tr>
<tr>
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane.</td>
</tr>
<tr>
<td colspan="2">--service-cidr string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "10.96.0.0/12"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use alternative range of IP address for service VIPs.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -3,7 +3,6 @@ Generates the kube-controller-manager static Pod manifest
### Synopsis ### Synopsis
Generates the kube-controller-manager static Pod manifest Generates the kube-controller-manager static Pod manifest
``` ```
@ -12,85 +11,19 @@ kubeadm init phase control-plane controller-manager [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> --controller-manager-extra-args mapStringString A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value>
</colgroup> -h, --help help for controller-manager
<tbody> --image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
--kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1")
<tr> --pod-network-cidr string Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--controller-manager-extra-args mapStringString</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of extra flags to pass to the Controller Manager or override default ones in form of &lt;flagname&gt;=&lt;value&gt;</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for controller-manager</td>
</tr>
<tr>
<td colspan="2">--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "k8s.gcr.io"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a container registry to pull control plane images from</td>
</tr>
<tr>
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane.</td>
</tr>
<tr>
<td colspan="2">--pod-network-cidr string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -3,7 +3,6 @@ Generates the kube-scheduler static Pod manifest
### Synopsis ### Synopsis
Generates the kube-scheduler static Pod manifest Generates the kube-scheduler static Pod manifest
``` ```
@ -12,78 +11,18 @@ kubeadm init phase control-plane scheduler [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> -h, --help help for scheduler
</colgroup> --image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
<tbody> --kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1")
--scheduler-extra-args mapStringString A set of extra flags to pass to the Scheduler or override default ones in form of <flagname>=<value>
<tr> ```
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for scheduler</td>
</tr>
<tr>
<td colspan="2">--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "k8s.gcr.io"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a container registry to pull control plane images from</td>
</tr>
<tr>
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane.</td>
</tr>
<tr>
<td colspan="2">--scheduler-extra-args mapStringString</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of extra flags to pass to the Scheduler or override default ones in form of &lt;flagname&gt;=&lt;value&gt;</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,9 +1,8 @@
Generates static Pod manifest file for local etcd. Generate static Pod manifest file for local etcd
### Synopsis ### Synopsis
This command is not meant to be run on its own. See list of available subcommands. This command is not meant to be run on its own. See list of available subcommands.
``` ```
@ -12,43 +11,13 @@ kubeadm init phase etcd [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for etcd
<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%; word-wrap: break-word;">help for etcd</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates the static Pod manifest file for a local, single-node local etcd instance. Generate the static Pod manifest file for a local, single-node local etcd instance
### Synopsis ### Synopsis
Generate the static Pod manifest file for a local, single-node local etcd instance
Generates the static Pod manifest file for a local, single-node local etcd instance.
``` ```
kubeadm init phase etcd local [flags] kubeadm init phase etcd local [flags]
@ -24,64 +23,16 @@ kubeadm init phase etcd local [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --config string Path to a kubeadm configuration file.
<col span="1" /> -h, --help help for local
</colgroup> --image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
<tbody> ```
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for local</td>
</tr>
<tr>
<td colspan="2">--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "k8s.gcr.io"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a container registry to pull control plane images from</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,9 +1,8 @@
Generates all kubeconfig files necessary to establish the control plane and the admin kubeconfig file Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file
### Synopsis ### Synopsis
This command is not meant to be run on its own. See list of available subcommands. This command is not meant to be run on its own. See list of available subcommands.
``` ```
@ -12,43 +11,13 @@ kubeadm init phase kubeconfig [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for kubeconfig
<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%; word-wrap: break-word;">help for kubeconfig</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates a kubeconfig file for the admin to use and for kubeadm itself Generate a kubeconfig file for the admin to use and for kubeadm itself
### Synopsis ### Synopsis
Generate the kubeconfig file for the admin and for kubeadm itself, and save it to admin.conf file.
Generates the kubeconfig file for the admin and for kubeadm itself, and saves it to admin.conf file.
``` ```
kubeadm init phase kubeconfig admin [flags] kubeadm init phase kubeconfig admin [flags]
@ -12,78 +11,18 @@ kubeadm init phase kubeconfig admin [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
<col span="1" /> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
</colgroup> --config string Path to a kubeadm configuration file.
<tbody> -h, --help help for admin
--kubeconfig-dir string The path where to save the kubeconfig file. (default "/etc/kubernetes")
<tr> ```
<td colspan="2">--apiserver-advertise-address string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td>
</tr>
<tr>
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Port for the API Server to bind to.</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for admin</td>
</tr>
<tr>
<td colspan="2">--kubeconfig-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the kubeconfig file.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates all kubeconfig files Generate all kubeconfig files
### Synopsis ### Synopsis
Generate all kubeconfig files
Generates all kubeconfig files
``` ```
kubeadm init phase kubeconfig all [flags] kubeadm init phase kubeconfig all [flags]
@ -12,85 +11,19 @@ kubeadm init phase kubeconfig all [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
<col span="1" /> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
</colgroup> --config string Path to a kubeadm configuration file.
<tbody> -h, --help help for all
--kubeconfig-dir string The path where to save the kubeconfig file. (default "/etc/kubernetes")
<tr> --node-name string Specify the node name.
<td colspan="2">--apiserver-advertise-address string</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td>
</tr>
<tr>
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Port for the API Server to bind to.</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for all</td>
</tr>
<tr>
<td colspan="2">--kubeconfig-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the kubeconfig file.</td>
</tr>
<tr>
<td colspan="2">--node-name string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the node name.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates a kubeconfig file for the controller manager to use Generate a kubeconfig file for the controller manager to use
### Synopsis ### Synopsis
Generate the kubeconfig file for the controller manager to use and save it to controller-manager.conf file
Generates the kubeconfig file for the controller manager to use and saves it to controller-manager.conf file
``` ```
kubeadm init phase kubeconfig controller-manager [flags] kubeadm init phase kubeconfig controller-manager [flags]
@ -12,78 +11,18 @@ kubeadm init phase kubeconfig controller-manager [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
<col span="1" /> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
</colgroup> --config string Path to a kubeadm configuration file.
<tbody> -h, --help help for controller-manager
--kubeconfig-dir string The path where to save the kubeconfig file. (default "/etc/kubernetes")
<tr> ```
<td colspan="2">--apiserver-advertise-address string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td>
</tr>
<tr>
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Port for the API Server to bind to.</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for controller-manager</td>
</tr>
<tr>
<td colspan="2">--kubeconfig-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the kubeconfig file.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes
### Synopsis ### Synopsis
Generate the kubeconfig file for the kubelet to use and save it to kubelet.conf file.
Generates the kubeconfig file for the kubelet to use and saves it to kubelet.conf file.
Please note that this should only be used for cluster bootstrapping purposes. After your control plane is up, you should request all kubelet credentials from the CSR API. Please note that this should only be used for cluster bootstrapping purposes. After your control plane is up, you should request all kubelet credentials from the CSR API.
@ -14,85 +13,19 @@ kubeadm init phase kubeconfig kubelet [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
<col span="1" /> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
</colgroup> --config string Path to a kubeadm configuration file.
<tbody> -h, --help help for kubelet
--kubeconfig-dir string The path where to save the kubeconfig file. (default "/etc/kubernetes")
<tr> --node-name string Specify the node name.
<td colspan="2">--apiserver-advertise-address string</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td>
</tr>
<tr>
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Port for the API Server to bind to.</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for kubelet</td>
</tr>
<tr>
<td colspan="2">--kubeconfig-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the kubeconfig file.</td>
</tr>
<tr>
<td colspan="2">--node-name string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the node name.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Generates a kubeconfig file for the scheduler to use Generate a kubeconfig file for the scheduler to use
### Synopsis ### Synopsis
Generate the kubeconfig file for the scheduler to use and save it to scheduler.conf file.
Generates the kubeconfig file for the scheduler to use and saves it to scheduler.conf file.
``` ```
kubeadm init phase kubeconfig scheduler [flags] kubeadm init phase kubeconfig scheduler [flags]
@ -12,78 +11,18 @@ kubeadm init phase kubeconfig scheduler [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
<col span="1" /> --cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
</colgroup> --config string Path to a kubeadm configuration file.
<tbody> -h, --help help for scheduler
--kubeconfig-dir string The path where to save the kubeconfig file. (default "/etc/kubernetes")
<tr> ```
<td colspan="2">--apiserver-advertise-address string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.</td>
</tr>
<tr>
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Port for the API Server to bind to.</td>
</tr>
<tr>
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for scheduler</td>
</tr>
<tr>
<td colspan="2">--kubeconfig-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the kubeconfig file.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Writes kubelet settings and (re)starts the kubelet Write kubelet settings and (re)start the kubelet
### Synopsis ### Synopsis
Write a file with KubeletConfiguration and an environment file with node specific kubelet settings, and then (re)start kubelet.
Writes a file with KubeletConfiguration and an environment file with node specific kubelet settings, and then (re)starts kubelet.
``` ```
kubeadm init phase kubelet-start [flags] kubeadm init phase kubelet-start [flags]
@ -14,69 +13,21 @@ kubeadm init phase kubelet-start [flags]
``` ```
# Writes a dynamic environment file with kubelet flags from a InitConfiguration file. # Writes a dynamic environment file with kubelet flags from a InitConfiguration file.
kubeadm init phase kubelet-start --config masterconfig.yaml kubeadm init phase kubelet-start --config config.yaml
``` ```
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --config string Path to a kubeadm configuration file.
<col span="1" style="width: 10px;" /> --cri-socket string Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.
<col span="1" /> -h, --help help for kubelet-start
</colgroup> --node-name string Specify the node name.
<tbody> ```
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.</td>
</tr>
<tr>
<td colspan="2">--cri-socket string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/var/run/dockershim.sock"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the CRI socket to connect to.</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for kubelet-start</td>
</tr>
<tr>
<td colspan="2">--node-name string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the node name.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -3,7 +3,6 @@ Mark a node as a control-plane
### Synopsis ### Synopsis
Mark a node as a control-plane Mark a node as a control-plane
``` ```
@ -22,57 +21,15 @@ kubeadm init phase mark-control-plane [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --config string Path to a kubeadm configuration file.
<col span="1" style="width: 10px;" /> -h, --help help for mark-control-plane
<col span="1" /> --node-name string Specify the node name.
</colgroup> ```
<tbody>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for mark-control-plane</td>
</tr>
<tr>
<td colspan="2">--node-name string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the node name.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Run master pre-flight checks Run pre-flight checks
### Synopsis ### Synopsis
Run pre-flight checks for kubeadm init.
Run master pre-flight checks, functionally equivalent to what implemented by kubeadm init.
``` ```
kubeadm init phase preflight [flags] kubeadm init phase preflight [flags]
@ -13,63 +12,21 @@ kubeadm init phase preflight [flags]
### Examples ### Examples
``` ```
# Run master pre-flight checks using a config file. # Run pre-flight checks for kubeadm init using a config file.
kubeadm init phase preflight --config kubeadm-config.yml kubeadm init phase preflight --config kubeadm-config.yml
``` ```
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --config string Path to a kubeadm configuration file.
<col span="1" style="width: 10px;" /> -h, --help help for preflight
<col span="1" /> --ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
</colgroup> ```
<tbody>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for preflight</td>
</tr>
<tr>
<td colspan="2">--ignore-preflight-errors stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -14,9 +14,9 @@ kubeadm init phase upload-certs [flags]
``` ```
--certificate-key string Key used to encrypt the control-plane certificates in the kubeadm-certs Secret. --certificate-key string Key used to encrypt the control-plane certificates in the kubeadm-certs Secret.
--config string Path to a kubeadm configuration file. --config string Path to a kubeadm configuration file.
--experimental-upload-certs Upload control-plane certificates to the kubeadm-certs Secret.
-h, --help help for upload-certs -h, --help help for upload-certs
--skip-certificate-key-print Don't print the key used to encrypt the control-plane certificates. --skip-certificate-key-print Don't print the key used to encrypt the control-plane certificates.
--upload-certs Upload control-plane certificates to the kubeadm-certs Secret.
``` ```
### Options inherited from parent commands ### Options inherited from parent commands

View File

@ -1,9 +1,8 @@
Uploads the kubeadm and kubelet configuration to a ConfigMap Upload the kubeadm and kubelet configuration to a ConfigMap
### Synopsis ### Synopsis
This command is not meant to be run on its own. See list of available subcommands. This command is not meant to be run on its own. See list of available subcommands.
``` ```
@ -12,43 +11,13 @@ kubeadm init phase upload-config [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> -h, --help help for upload-config
<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%; word-wrap: break-word;">help for upload-config</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Uploads all configuration to a config map Upload all configuration to a config map
### Synopsis ### Synopsis
Upload all configuration to a config map
Uploads all configuration to a config map
``` ```
kubeadm init phase upload-config all [flags] kubeadm init phase upload-config all [flags]
@ -12,57 +11,15 @@ kubeadm init phase upload-config all [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --config string Path to a kubeadm configuration file.
<col span="1" style="width: 10px;" /> -h, --help help for all
<col span="1" /> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
</colgroup> ```
<tbody>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for all</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Uploads the kubeadm ClusterConfiguration to a ConfigMap Upload the kubeadm ClusterConfiguration to a ConfigMap
### Synopsis ### Synopsis
Upload the kubeadm ClusterConfiguration 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.
Uploads the kubeadm ClusterConfiguration 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. Alternatively, you can use kubeadm config.
@ -15,63 +14,21 @@ kubeadm init phase upload-config kubeadm [flags]
### Examples ### Examples
``` ```
# uploads the configuration of your cluster # upload the configuration of your cluster
kubeadm init phase upload-config --config=myConfig.yaml kubeadm init phase upload-config --config=myConfig.yaml
``` ```
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --config string Path to a kubeadm configuration file.
<col span="1" style="width: 10px;" /> -h, --help help for kubeadm
<col span="1" /> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
</colgroup> ```
<tbody>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for kubeadm</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,9 @@
Uploads the kubelet component config to a ConfigMap Upload the kubelet component config to a ConfigMap
### Synopsis ### Synopsis
Upload kubelet configuration extracted from the kubeadm InitConfiguration object to a ConfigMap of the form kubelet-config-1.X in the cluster, where X is the minor version of the current (API Server) Kubernetes version.
Uploads kubelet configuration extracted from the kubeadm InitConfiguration object to a ConfigMap of the form kubelet-config-1.X in the cluster, where X is the minor version of the current (API Server) Kubernetes version.
``` ```
kubeadm init phase upload-config kubelet [flags] kubeadm init phase upload-config kubelet [flags]
@ -13,63 +12,21 @@ kubeadm init phase upload-config kubelet [flags]
### Examples ### Examples
``` ```
# Uploads the kubelet configuration from the kubeadm Config file to a ConfigMap in the cluster. # Upload the kubelet configuration from the kubeadm Config file to a ConfigMap in the cluster.
kubeadm init phase upload-config kubelet --config kubeadm.yaml kubeadm init phase upload-config kubelet --config kubeadm.yaml
``` ```
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --config string Path to a kubeadm configuration file.
<col span="1" style="width: 10px;" /> -h, --help help for kubelet
<col span="1" /> --kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
</colgroup> ```
<tbody>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to 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%; word-wrap: break-word;">help for kubelet</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -4,11 +4,10 @@ Run this on any machine you wish to join an existing cluster
### Synopsis ### Synopsis
When joining a kubeadm initialized cluster, we need to establish When joining a kubeadm initialized cluster, we need to establish
bidirectional trust. This is split into discovery (having the Node bidirectional trust. This is split into discovery (having the Node
trust the Kubernetes Master) and TLS bootstrap (having the Kubernetes trust the Kubernetes Control Plane) and TLS bootstrap (having the
Master trust the Node). Kubernetes Control Plane trust the Node).
There are 2 main schemes for discovery. The first is to use a shared There are 2 main schemes for discovery. The first is to use a shared
token along with the IP address of the API server. The second is to token along with the IP address of the API server. The second is to
@ -23,8 +22,8 @@ the connection.
If you use a shared token for discovery, you should also pass the If you use a shared token for discovery, you should also pass the
--discovery-token-ca-cert-hash flag to validate the public key of the --discovery-token-ca-cert-hash flag to validate the public key of the
root certificate authority (CA) presented by the Kubernetes Master. The root certificate authority (CA) presented by the Kubernetes Control Plane.
value of this flag is specified as "<hash-type>:<hex-encoded-value>", The value of this flag is specified as "<hash-type>:<hex-encoded-value>",
where the supported hash type is "sha256". The hash is calculated over where the supported hash type is "sha256". The hash is calculated over
the bytes of the Subject Public Key Info (SPKI) object (as in RFC7469). the bytes of the Subject Public Key Info (SPKI) object (as in RFC7469).
This value is available in the output of "kubeadm init" or can be This value is available in the output of "kubeadm init" or can be
@ -34,12 +33,12 @@ may be repeated multiple times to allow more than one public key.
If you cannot know the CA public key hash ahead of time, you can pass If you cannot know the CA public key hash ahead of time, you can pass
the --discovery-token-unsafe-skip-ca-verification flag to disable this the --discovery-token-unsafe-skip-ca-verification flag to disable this
verification. This weakens the kubeadm security model since other nodes verification. This weakens the kubeadm security model since other nodes
can potentially impersonate the Kubernetes Master. can potentially impersonate the Kubernetes Control Plane.
The TLS bootstrap mechanism is also driven via a shared token. This is The TLS bootstrap mechanism is also driven via a shared token. This is
used to temporarily authenticate with the Kubernetes Master to submit a used to temporarily authenticate with the Kubernetes Control Plane to submit a
certificate signing request (CSR) for a locally created key pair. By certificate signing request (CSR) for a locally created key pair. By
default, kubeadm will set up the Kubernetes Master to automatically default, kubeadm will set up the Kubernetes Control Plane to automatically
approve these signing requests. This token is passed in with the approve these signing requests. This token is passed in with the
--tls-bootstrap-token abcdef.1234567890abcdef flag. --tls-bootstrap-token abcdef.1234567890abcdef flag.
@ -47,133 +46,51 @@ Often times the same token is used for both parts. In this case, the
--token flag can be used instead of specifying each token individually. --token flag can be used instead of specifying each token individually.
The "join [api-server-endpoint]" command executes the following phases:
``` ```
kubeadm join [flags] preflight Run join pre-flight checks
control-plane-prepare Prepare the machine for serving a control plane
/download-certs [EXPERIMENTAL] Download certificates shared among control-plane nodes from the kubeadm-certs Secret
/certs Generate the certificates for the new control plane components
/kubeconfig Generate the kubeconfig for the new control plane components
/control-plane Generate the manifests for the new control plane components
kubelet-start Write kubelet settings, certificates and (re)start the kubelet
control-plane-join Join a machine as a control plane instance
/etcd Add a new local etcd member
/update-status Register the new control-plane node into the ClusterStatus maintained in the kubeadm-config ConfigMap
/mark-control-plane Mark a node as a control-plane
```
```
kubeadm join [api-server-endpoint] [flags]
``` ```
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
<col span="1" style="width: 10px;" /> --apiserver-bind-port int32 If the node should host a new control plane instance, the port for the API Server to bind to. (default 6443)
<col span="1" /> --certificate-key string Use this key to decrypt the certificate secrets uploaded by init.
</colgroup> --config string Path to kubeadm config file.
<tbody> --control-plane Create a new control plane instance on this node
--cri-socket string Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.
<tr> --discovery-file string For file-based discovery, a file or URL from which to load cluster information.
<td colspan="2">--apiserver-advertise-address string</td> --discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server.
</tr> --discovery-token-ca-cert-hash strings For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").
<tr> --discovery-token-unsafe-skip-ca-verification For token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.
<td></td><td style="line-height: 130%; word-wrap: break-word;">If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on.</td> --experimental-control-plane Create a new control plane instance on this node
</tr> -h, --help help for join
--ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
<tr> --node-name string Specify the node name.
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td> --skip-phases strings List of phases to be skipped
</tr> --tls-bootstrap-token string Specify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.
<tr> --token string Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.
<td></td><td style="line-height: 130%; word-wrap: break-word;">If the node should host a new control plane instance, the port for the API Server to bind to.</td> ```
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file.</td>
</tr>
<tr>
<td colspan="2">--cri-socket string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/var/run/dockershim.sock"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the CRI socket to connect to.</td>
</tr>
<tr>
<td colspan="2">--discovery-file string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A file or URL from which to load cluster information.</td>
</tr>
<tr>
<td colspan="2">--discovery-token string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A token used to validate cluster information fetched from the API server.</td>
</tr>
<tr>
<td colspan="2">--discovery-token-ca-cert-hash stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">For token-based discovery, validate that the root CA public key matches this hash (format: "&lt;type&gt;:&lt;value&gt;").</td>
</tr>
<tr>
<td colspan="2">--discovery-token-unsafe-skip-ca-verification</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">For token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.</td>
</tr>
<tr>
<td colspan="2">--experimental-control-plane</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Create a new control plane instance on this node</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for join</td>
</tr>
<tr>
<td colspan="2">--ignore-preflight-errors stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.</td>
</tr>
<tr>
<td colspan="2">--node-name string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specify the node name.</td>
</tr>
<tr>
<td colspan="2">--token string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -1,9 +1,9 @@
use this command to invoke single phase of the join workflow Use this command to invoke single phase of the join workflow
### Synopsis ### Synopsis
use this command to invoke single phase of the join workflow Use this command to invoke single phase of the join workflow
### Options ### Options

View File

@ -1,9 +1,9 @@
Joins a machine as a control plane instance Join a machine as a control plane instance
### Synopsis ### Synopsis
Joins a machine as a control plane instance Join a machine as a control plane instance
``` ```
kubeadm join phase control-plane-join [flags] kubeadm join phase control-plane-join [flags]

View File

@ -1,9 +1,9 @@
Joins a machine as a control plane instance Join a machine as a control plane instance
### Synopsis ### Synopsis
Joins a machine as a control plane instance Join a machine as a control plane instance
``` ```
kubeadm join phase control-plane-join all [flags] kubeadm join phase control-plane-join all [flags]
@ -14,6 +14,7 @@ kubeadm join phase control-plane-join all [flags]
``` ```
--apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used. --apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
--config string Path to kubeadm config file. --config string Path to kubeadm config file.
--control-plane Create a new control plane instance on this node
--experimental-control-plane Create a new control plane instance on this node --experimental-control-plane Create a new control plane instance on this node
-h, --help help for all -h, --help help for all
--node-name string Specify the node name. --node-name string Specify the node name.

View File

@ -14,6 +14,7 @@ kubeadm join phase control-plane-join etcd [flags]
``` ```
--apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used. --apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
--config string Path to kubeadm config file. --config string Path to kubeadm config file.
--control-plane Create a new control plane instance on this node
--experimental-control-plane Create a new control plane instance on this node --experimental-control-plane Create a new control plane instance on this node
-h, --help help for etcd -h, --help help for etcd
--node-name string Specify the node name. --node-name string Specify the node name.

View File

@ -13,6 +13,7 @@ kubeadm join phase control-plane-join mark-control-plane [flags]
``` ```
--config string Path to kubeadm config file. --config string Path to kubeadm config file.
--control-plane Create a new control plane instance on this node
--experimental-control-plane Create a new control plane instance on this node --experimental-control-plane Create a new control plane instance on this node
-h, --help help for mark-control-plane -h, --help help for mark-control-plane
--node-name string Specify the node name. --node-name string Specify the node name.

View File

@ -14,6 +14,7 @@ kubeadm join phase control-plane-join update-status [flags]
``` ```
--apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used. --apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
--config string Path to kubeadm config file. --config string Path to kubeadm config file.
--control-plane Create a new control plane instance on this node
--experimental-control-plane Create a new control plane instance on this node --experimental-control-plane Create a new control plane instance on this node
-h, --help help for update-status -h, --help help for update-status
--node-name string Specify the node name. --node-name string Specify the node name.

View File

@ -1,9 +1,9 @@
Prepares the machine for serving a control plane. Prepare the machine for serving a control plane
### Synopsis ### Synopsis
Prepares the machine for serving a control plane. Prepare the machine for serving a control plane
``` ```
kubeadm join phase control-plane-prepare [flags] kubeadm join phase control-plane-prepare [flags]

View File

@ -1,9 +1,9 @@
Prepares the machine for serving a control plane. Prepare the machine for serving a control plane
### Synopsis ### Synopsis
Prepares the machine for serving a control plane. Prepare the machine for serving a control plane
``` ```
kubeadm join phase control-plane-prepare all [api-server-endpoint] [flags] kubeadm join phase control-plane-prepare all [api-server-endpoint] [flags]
@ -16,6 +16,7 @@ kubeadm join phase control-plane-prepare all [api-server-endpoint] [flags]
--apiserver-bind-port int32 If the node should host a new control plane instance, the port for the API Server to bind to. (default 6443) --apiserver-bind-port int32 If the node should host a new control plane instance, the port for the API Server to bind to. (default 6443)
--certificate-key string Use this key to decrypt the certificate secrets uploaded by init. --certificate-key string Use this key to decrypt the certificate secrets uploaded by init.
--config string Path to kubeadm config file. --config string Path to kubeadm config file.
--control-plane Create a new control plane instance on this node
--discovery-file string For file-based discovery, a file or URL from which to load cluster information. --discovery-file string For file-based discovery, a file or URL from which to load cluster information.
--discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server. --discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server.
--discovery-token-ca-cert-hash strings For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>"). --discovery-token-ca-cert-hash strings For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").

View File

@ -1,9 +1,9 @@
Generates the certificates for the new control plane components Generate the certificates for the new control plane components
### Synopsis ### Synopsis
Generates the certificates for the new control plane components Generate the certificates for the new control plane components
``` ```
kubeadm join phase control-plane-prepare certs [api-server-endpoint] [flags] kubeadm join phase control-plane-prepare certs [api-server-endpoint] [flags]
@ -14,6 +14,7 @@ kubeadm join phase control-plane-prepare certs [api-server-endpoint] [flags]
``` ```
--apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used. --apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
--config string Path to kubeadm config file. --config string Path to kubeadm config file.
--control-plane Create a new control plane instance on this node
--discovery-file string For file-based discovery, a file or URL from which to load cluster information. --discovery-file string For file-based discovery, a file or URL from which to load cluster information.
--discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server. --discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server.
--discovery-token-ca-cert-hash strings For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>"). --discovery-token-ca-cert-hash strings For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").

View File

@ -1,9 +1,9 @@
Generates the manifests for the new control plane components Generate the manifests for the new control plane components
### Synopsis ### Synopsis
Generates the manifests for the new control plane components Generate the manifests for the new control plane components
``` ```
kubeadm join phase control-plane-prepare control-plane [flags] kubeadm join phase control-plane-prepare control-plane [flags]
@ -15,6 +15,7 @@ kubeadm join phase control-plane-prepare control-plane [flags]
--apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used. --apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
--apiserver-bind-port int32 If the node should host a new control plane instance, the port for the API Server to bind to. (default 6443) --apiserver-bind-port int32 If the node should host a new control plane instance, the port for the API Server to bind to. (default 6443)
--config string Path to kubeadm config file. --config string Path to kubeadm config file.
--control-plane Create a new control plane instance on this node
--experimental-control-plane Create a new control plane instance on this node --experimental-control-plane Create a new control plane instance on this node
-h, --help help for control-plane -h, --help help for control-plane
``` ```

View File

@ -1,9 +1,9 @@
[EXPERIMENTAL] Downloads certificates shared among control-plane nodes from the kubeadm-certs Secret [EXPERIMENTAL] Download certificates shared among control-plane nodes from the kubeadm-certs Secret
### Synopsis ### Synopsis
[EXPERIMENTAL] Downloads certificates shared among control-plane nodes from the kubeadm-certs Secret [EXPERIMENTAL] Download certificates shared among control-plane nodes from the kubeadm-certs Secret
``` ```
kubeadm join phase control-plane-prepare download-certs [api-server-endpoint] [flags] kubeadm join phase control-plane-prepare download-certs [api-server-endpoint] [flags]
@ -14,6 +14,7 @@ kubeadm join phase control-plane-prepare download-certs [api-server-endpoint] [f
``` ```
--certificate-key string Use this key to decrypt the certificate secrets uploaded by init. --certificate-key string Use this key to decrypt the certificate secrets uploaded by init.
--config string Path to kubeadm config file. --config string Path to kubeadm config file.
--control-plane Create a new control plane instance on this node
--discovery-file string For file-based discovery, a file or URL from which to load cluster information. --discovery-file string For file-based discovery, a file or URL from which to load cluster information.
--discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server. --discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server.
--discovery-token-ca-cert-hash strings For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>"). --discovery-token-ca-cert-hash strings For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").

View File

@ -1,9 +1,9 @@
Generates the kubeconfig for the new control plane components Generate the kubeconfig for the new control plane components
### Synopsis ### Synopsis
Generates the kubeconfig for the new control plane components Generate the kubeconfig for the new control plane components
``` ```
kubeadm join phase control-plane-prepare kubeconfig [api-server-endpoint] [flags] kubeadm join phase control-plane-prepare kubeconfig [api-server-endpoint] [flags]
@ -14,6 +14,7 @@ kubeadm join phase control-plane-prepare kubeconfig [api-server-endpoint] [flags
``` ```
--certificate-key string Use this key to decrypt the certificate secrets uploaded by init. --certificate-key string Use this key to decrypt the certificate secrets uploaded by init.
--config string Path to kubeadm config file. --config string Path to kubeadm config file.
--control-plane Create a new control plane instance on this node
--discovery-file string For file-based discovery, a file or URL from which to load cluster information. --discovery-file string For file-based discovery, a file or URL from which to load cluster information.
--discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server. --discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server.
--discovery-token-ca-cert-hash strings For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>"). --discovery-token-ca-cert-hash strings For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").

View File

@ -1,9 +1,9 @@
Writes kubelet settings, certificates and (re)starts the kubelet Write kubelet settings, certificates and (re)start the kubelet
### Synopsis ### Synopsis
Writes a file with KubeletConfiguration and an environment file with node specific kubelet settings, and then (re)starts kubelet. Write a file with KubeletConfiguration and an environment file with node specific kubelet settings, and then (re)start kubelet.
``` ```
kubeadm join phase kubelet-start [api-server-endpoint] [flags] kubeadm join phase kubelet-start [api-server-endpoint] [flags]

View File

@ -23,6 +23,7 @@ kubeadm join phase preflight [api-server-endpoint] [flags]
--apiserver-bind-port int32 If the node should host a new control plane instance, the port for the API Server to bind to. (default 6443) --apiserver-bind-port int32 If the node should host a new control plane instance, the port for the API Server to bind to. (default 6443)
--certificate-key string Use this key to decrypt the certificate secrets uploaded by init. --certificate-key string Use this key to decrypt the certificate secrets uploaded by init.
--config string Path to kubeadm config file. --config string Path to kubeadm config file.
--control-plane Create a new control plane instance on this node
--cri-socket string Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket. --cri-socket string Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.
--discovery-file string For file-based discovery, a file or URL from which to load cluster information. --discovery-file string For file-based discovery, a file or URL from which to load cluster information.
--discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server. --discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server.

View File

@ -1,10 +1,18 @@
Run this to revert any changes made to this host by 'kubeadm init' or 'kubeadm join'. Run this to revert any changes made to this host by 'kubeadm init' or 'kubeadm join'
### Synopsis ### Synopsis
Run this to revert any changes made to this host by 'kubeadm init' or 'kubeadm join'
The "reset" command executes the following phases:
```
preflight Run reset pre-flight checks
update-cluster-status Remove this node from the ClusterStatus object.
remove-etcd-member Remove a local etcd member.
cleanup-node Run cleanup node.
```
Run this to revert any changes made to this host by 'kubeadm init' or 'kubeadm join'.
``` ```
kubeadm reset [flags] kubeadm reset [flags]
@ -12,78 +20,19 @@ kubeadm reset [flags]
### Options ### Options
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --cert-dir string The path to the directory where the certificates are stored. If specified, clean this directory. (default "/etc/kubernetes/pki")
<col span="1" style="width: 10px;" /> --cri-socket string Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.
<col span="1" /> -f, --force Reset the node without prompting for confirmation.
</colgroup> -h, --help help for reset
<tbody> --ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
<tr> --skip-phases strings List of phases to be skipped
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"</td> ```
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to the directory where the certificates are stored. If specified, clean this directory.</td>
</tr>
<tr>
<td colspan="2">--cri-socket string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/var/run/dockershim.sock"</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path to the CRI socket to use with crictl when cleaning up containers.</td>
</tr>
<tr>
<td colspan="2">-f, --force</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Reset the node without prompting for confirmation.</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for reset</td>
</tr>
<tr>
<td colspan="2">--ignore-preflight-errors stringSlice</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.</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%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
</tr>
</tbody>
</table>
### Options inherited from parent commands ### Options inherited from parent commands
<table style="width: 100%; table-layout: fixed;"> ```
<colgroup> --rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
<col span="1" style="width: 10px;" /> ```
<col span="1" />
</colgroup>
<tbody>
<tr>
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
</tr>
</tbody>
</table>

View File

@ -0,0 +1,19 @@
Use this command to invoke single phase of the reset workflow
### Synopsis
Use this command to invoke single phase of the reset workflow
### Options
```
-h, --help help for phase
```
### Options inherited from parent commands
```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

View File

@ -0,0 +1,25 @@
Run cleanup node.
### Synopsis
Run cleanup node.
```
kubeadm reset phase cleanup-node [flags]
```
### Options
```
--cert-dir string The path to the directory where the certificates are stored. If specified, clean this directory. (default "/etc/kubernetes/pki")
--cri-socket string Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.
-h, --help help for cleanup-node
```
### Options inherited from parent commands
```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

View File

@ -0,0 +1,25 @@
Run reset pre-flight checks
### Synopsis
Run pre-flight checks for kubeadm reset.
```
kubeadm reset phase preflight [flags]
```
### Options
```
-f, --force Reset the node without prompting for confirmation.
-h, --help help for preflight
--ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
```
### Options inherited from parent commands
```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

View File

@ -0,0 +1,24 @@
Remove a local etcd member.
### Synopsis
Remove a local etcd member for a control plane node.
```
kubeadm reset phase remove-etcd-member [flags]
```
### Options
```
-h, --help help for remove-etcd-member
--kubeconfig string The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. (default "/etc/kubernetes/admin.conf")
```
### Options inherited from parent commands
```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

View File

@ -0,0 +1,23 @@
Remove this node from the ClusterStatus object.
### Synopsis
Remove this node from the ClusterStatus object if the node is a control plane node.
```
kubeadm reset phase update-cluster-status [flags]
```
### Options
```
-h, --help help for update-cluster-status
```
### Options inherited from parent commands
```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

Some files were not shown because too many files have changed in this diff Show More