Site Tools


linux:ubuntu:kubernetes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
linux:ubuntu:kubernetes [2019/10/23 01:49] – created lunetikklinux:ubuntu:kubernetes [2019/10/23 02:16] lunetikk
Line 23: Line 23:
 Set up the ip configuration, the "apiserver-advertise-address" has to be your management ip Set up the ip configuration, the "apiserver-advertise-address" has to be your management ip
 <code> <code>
-kubeadm init --apiserver-advertise-address=10.0.0.--pod-network-cidr=192.168.0.0/16                                +kubeadm init --apiserver-advertise-address=10.0.0.--pod-network-cidr=192.168.0.0/16                                
-kubeadm init --pod-network-cidr=192.168.0.0/16+#kubeadm init --pod-network-cidr=192.168.0.0/16
 </code> </code>
  
Line 39: Line 39:
 </code> </code>
  
 +To fix the error, disable swap
 +<code>
 +swapoff -a
 +
 +#should be 0 now
 +free -m
 +              total        used        free      shared  buff/cache   available
 +Mem:           xxxx         xxx        xxxx         xxx        xxxx        xxxx
 +Swap:                                 0
 +
 +</code>
  
 +Execute the ip configuration again, which should now be possible.
  
 ===== Commands ===== ===== Commands =====
Line 67: Line 79:
  
 [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/ [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
 +
 +Reason why
 +
 +https://github.com/kubernetes/kubeadm/issues/1394#issuecomment-462878219
 +
 +
 +
 +  * validated version of docker?
 +
 +[WARNING SystemVerification]: this Docker version is not on the list of validated versions: 19.03.4. Latest validated version: 18.09
 +
 +  * management ip
 +
 +https://github.com/kubernetes/kubernetes/issues/33618
 +
 +
 +
  
  
linux/ubuntu/kubernetes.txt · Last modified: 2019/10/23 14:09 by lunetikk