완료

디버깅
pvc-pv 연결이 안됨
version: 1.0.0
managed-by: kubectl
- 기존 pvc 제거하고 재배포
- kubectl patch pv api-tester-1231-files -p '{"spec":{"claimRef": null}}'
- 상태 확인
- kubectl describe pv api-tester-1231-files
- kubectl -n anotherclass-123 get pvc api-tester-1231-files
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 ~]#