중요한건 꺾이지 않는 맥북
docker에서 containerd로 런타임 바꿀때 본문
root@bd1dev-l-master-001:/home# ps -ef |grep containerd
root 65052 209681 0 09:05 pts/2 00:00:00 systemctl status containerd
root 67545 209681 0 09:05 pts/2 00:00:00 systemctl status containerd
root 88807 85243 0 May23 ? 00:00:00 systemctl status containerd
root 103858 85243 0 May23 ? 00:00:00 containerd version
root 104149 85243 0 May23 ? 00:00:00 journalctl -u containerd -f
...
...
...
root 121732 85243 0 May23 ? 00:00:00 journalctl -u containerd -f
root 141829 85243 0 May23 ? 00:00:00 systemctl status containerd
Docker와 Containerd 간에 충돌로 인해 데드락이 발생했다.
systemctl restart docker, containerd와 같은 명령어가 행이 걸린상태로 실행되지 않았다.
따라서, 나는 띄워져있는 프로세스를 조회하기 위해 ps -ef로 조회를 했고 위와같이 systemctl status containerd와 같은 수많은 프로세스들이 띄워지면서 데드락이 발생했다. 도커도 마찬가지였다.
따라서, 위 프로세스들을 강제로 kill 해주고 다시 systemctl restart containerd로 평화를 찾았다.
'MLOPS > kubernetes' 카테고리의 다른 글
Istio 다루기 (0) | 2024.06.19 |
---|---|
로컬에서 BASTION 서버를 통해 제어하기 (0) | 2024.05.23 |
Weave net 컨테이너 크기가 점점 커져서 노드의 디스크공간에 영향을 미칠때 (0) | 2024.05.23 |
Knative-serving 다루기 (0) | 2024.05.20 |
AWS Load Balancer Controller 설치 (0) | 2024.04.18 |