April 2018
Intermediate to advanced
468 pages
14h 34m
English
Let's initialize the master on n1 (192.168.77.10). It is critical to use the --apiserver-advertise-address flag in case of a vagrant VM-based cloud:
> vagrant ssh n1
vagrant@n1:~$ sudo kubeadm init --apiserver-advertise-address 192.168.77.10
In Kubernetes 1.10.1, this results in the following error message:
[init] Using Kubernetes version: v1.10.1[init] Using Authorization modes: [Node RBAC][preflight] Running pre-flight checks. [WARNING FileExisting-crictl]: crictl not found in system path[preflight] Some fatal errors occurred: [ERROR Swap]: running with swap on is not supported. Please disable swap[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
The ...
Read now
Unlock full access