Kubernetes cluster에 Pod를 1000개 띄우는 테스트를 했다.
205개까지만 만들어지고 진전이 없어 STATUS=Pending Pod의 상태를 확인해 보니

# kubectl describe pod test-deployment-990-75f984f7d8-mqmqf
[...]

Events:
  Type     Reason            Age   From               Message
  ----     ------            ----  ----               -------
  Warning  FailedScheduling  8h    default-scheduler  0/7 nodes are available: 2 Too many pods, 2 node(s) were unschedulable, 3 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate.
[root@bastian 1.dynamic-provisionning]#

찾아보니 node당 kubernetes 기본값으로 110개가 maximum이다. 설정으로 256개까지 늘릴 수 있다.


https://www.google.com/search?sca_esv=029f1710fb0d870d&sca_upv=1&rlz=1C1CHWL_enKR1027KR1028&sxsrf=ADLYWILmKGCTe62NkNSvAQBA62wFRfbouQ:1719249229143&q=What+is+the+maximum+number+of+pods+in+Kubernetes%3F&sa=X&ved=2ahUKEwjclNW83vSGAxUqr1YBHRxuDzUQzmd6BAhDEAY
Creative Commons License