Kubernetes Docs
- Set up a K8s cluster의 Install the kubeadm setup tool
Installing kubeadm, kubelet and kubectl
단계부터 설치
Docker Runtime 설치
cri-dockerd 설치
1
git clone https://github.com/Mirantis/cri-dockerd.git
1. gcc, make 패키지 설치
1
sudo apt install gcc make
2. go@linux 설치
3. cri-docker 가이드에 따른 설치
1
2
3
# 최초에 출력하는 git safe directory 설정 커맨드 입력 후 재시도
cd cri-dockerd
make cri-dockerd
1
2
3
4
5
6
mkdir -p /usr/local/bin
install -o root -g root -m 0755 cri-dockerd /usr/local/bin/cri-dockerd
install packaging/systemd/* /etc/systemd/system
sed -i -e 's,/usr/bin/cri-dockerd,/usr/local/bin/cri-dockerd,' /etc/systemd/system/cri-docker.service
systemctl daemon-reload
systemctl enable --now cri-docker.socket