antony@notes:~/kubernetes$ cat "安裝CRI-O.md"
安裝CRI-O
安裝CRI-O
$ sudo apk update; sudo apk add cri-o cri-tools --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
sudo rc-update add crio default
$ sudo crictl images WARN[0000] image connect using default endpoints: [unix:///var/run/dockershim.sock unix:///run/containerd/containerd.sock unix:///run/crio/crio.sock]. As the default settings are now deprecated, you should set the endpoint instead. ERRO[0002] connect endpoint ‘unix:///var/run/dockershim.sock’, make sure you are running as root and the endpoint has been started: context deadline exceeded ERRO[0004] connect endpoint ‘unix:///run/containerd/containerd.sock’, make sure you are running as root and the endpoint has been started: context deadline exceeded FATA[0006] connect: connect endpoint ‘unix:///run/crio/crio.sock’, make sure you are running as root and the endpoint has been started: context deadline exceeded
$ sudo mv /etc/cni/net.d/87-podman-bridge.conflist ~
87-podman-bridge.conflist podman在用的網路設定檔,不適用kubernetes,所以要移開。
$ sudo kubeadm init --service-cidr 10.98.0.0/24 --pod-network-cidr 10.233.0.0/16 --apiserver-advertise-address $IP10.98.0.0/24這段IP是給k8s用的

- 10.10.10.4那個大圈圈裡面代表的是一個系統