완료

image.png

디버깅

pvc-pv 연결이 안됨

version: 1.0.0
managed-by: kubectl

taint로 pod가 스케쥴링되지 않음

Warning  FailedScheduling  57s   default-scheduler  0/3 nodes are available: 1 node(s) had untolerated taint {[node-role.kubernetes.io/control-plane:](<http://node-role.kubernetes.io/control-plane:>) }. preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling..

[root@k8s-master ~]# kubectl describe nodes k8s-master | grep Taints
Taints:             [node-role.kubernetes.io/control-plane:NoSchedule](<http://node-role.kubernetes.io/control-plane:NoSchedule>)
[root@k8s-master ~]# kubectl taint nodes k8s-master [node-role.kubernetes.io/control-plane:NoSchedule-](<http://node-role.kubernetes.io/control-plane:NoSchedule->)
node/k8s-master untainted
[root@k8s-master ~]# kubectl describe nodes k8s-master | grep Taints
Taints:             <none>
[root@k8s-master ~]# kubectl -n anotherclass-123 get pods
NAME                               READY   STATUS              RESTARTS   AGE
api-tester-1231-755676484f-7gzh2   0/1     ContainerCreating   0          31m
api-tester-1231-755676484f-jjz2c   0/1     ContainerCreating   0          32m
[root@k8s-master ~]#