Merge pull request #1521 from dgoodwin/kubeadm-skip-preflight
Document kubeadm --skip-preflight-checks.reviewable/pr1542/r1^2
commit
3aa3ca8f0a
|
@ -12,6 +12,11 @@ This document provides information on how to use kubeadm's advanced options.
|
||||||
Running kubeadm init bootstraps a Kubernetes cluster. This consists of the
|
Running kubeadm init bootstraps a Kubernetes cluster. This consists of the
|
||||||
following steps:
|
following steps:
|
||||||
|
|
||||||
|
1. kubeadm runs a series of pre-flight checks to validate the system state
|
||||||
|
before making changes. Some checks only trigger warnings, others are
|
||||||
|
considered errors and will exit kubeadm until the problem is corrected or
|
||||||
|
the user specifies `--skip-preflight-checks`.
|
||||||
|
|
||||||
1. kubeadm generates a token that additional nodes can use to register themselves
|
1. kubeadm generates a token that additional nodes can use to register themselves
|
||||||
with the master in future.
|
with the master in future.
|
||||||
|
|
||||||
|
@ -112,6 +117,12 @@ to change the DNS name suffix. Again, you will need to update the
|
||||||
`/etc/systemd/system/kubelet.service.d/10-kubeadm.conf` file accordingly else DNS will
|
`/etc/systemd/system/kubelet.service.d/10-kubeadm.conf` file accordingly else DNS will
|
||||||
not function correctly.
|
not function correctly.
|
||||||
|
|
||||||
|
- `--skip-preflight-checks`
|
||||||
|
|
||||||
|
By default, `kubeadm` runs a series of preflight checks to validate the system
|
||||||
|
before making any changes. Advanced users can use this flag to bypass these if
|
||||||
|
necessary.
|
||||||
|
|
||||||
- `--token`
|
- `--token`
|
||||||
|
|
||||||
By default, `kubeadm init` automatically generates the token used to initialise
|
By default, `kubeadm init` automatically generates the token used to initialise
|
||||||
|
@ -134,6 +145,12 @@ Here's an example on how to use it:
|
||||||
|
|
||||||
`kubeadm join --token=the_secret_token 192.168.1.1`
|
`kubeadm join --token=the_secret_token 192.168.1.1`
|
||||||
|
|
||||||
|
- `--skip-preflight-checks`
|
||||||
|
|
||||||
|
By default, `kubeadm` runs a series of preflight checks to validate the system
|
||||||
|
before making any changes. Advanced users can use this flag to bypass these if
|
||||||
|
necessary.
|
||||||
|
|
||||||
- `--token=<token>`
|
- `--token=<token>`
|
||||||
|
|
||||||
By default, when `kubeadm init` runs, a token is generated and revealed in the output.
|
By default, when `kubeadm init` runs, a token is generated and revealed in the output.
|
||||||
|
|
Loading…
Reference in New Issue