파일 수가 많은 Persistent Volume을 사용하는 Pod가 OpenShift에서 시작되지 않거나 시작 시간이 지나치게 오래 걸리는 문제가 발생합니다.
Issue
-
Pod 배포가 다음 메시지와 함께 실패하고 있습니다.
Error: Failed to create pod sandbox: rpc error: code = Unknown desc = Kubelet may be retrying requests that are timing out in CRI-O due to system load: context deadline exceeded -
시작할 수 없는 Pod가
CreateContainerError상태에 빠집니다:mypod-5-1111a 0/1 CreateContainerError 0 7m29s - Red Hat OpenShift Container Platform에서 Pod에 Volume을 연결할 때 Pod가 시작되지 않거나 시작하는 데 지나치게 오랜 시간이 걸리는 이유는 무엇입니까?
- 해당 Volume 자체에는 파일 수가 매우 많으며, 종종 수만 개(또는 그 이상)의 파일과 디렉터리가 포함되어 있습니다.
- 파일 수가 많은 volume 없이 Pod를 시작하면 Pod가 빠르게
Ready상태가 됩니다(하지만 volume에서 제공하는 데이터에는 액세스할 수 없습니다). - 이 문제로 인해 전체 노드가 때때로
NotReady로 표시될 수 있습니다. container runtime(docker또는cri-o)이 응답하지 않기 때문이며(hungdocker ps또는crictl ps명령에서 확인할 수 있음). - OpenShift에서 파일 수가 많은 Persistent Volume을 사용할 때 pod가 시작되지 않거나
Ready상태에 도달하는 데 과도한 시간이 걸리는 이유는 무엇입니까?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 3
- 4
- Docker Container Engine
- CRI-O Container Engine
- SELinux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.