DevOps/OCP
인프라/라우트등 노드 웹콘솔 디버그 노드(pod) 불가
beomzh
2025. 4. 2. 16:23
728x90
반응형
OCP에서 노드의 롤을 변경 후 디버그 파드가 기동되지않을때
OCP console에서는 사용이 불가능하며 CLI는 아래와같이 사용이 가능하다.
아래 명령어 사용 혹은 edit으로 수정
## 명령어
$ oc new-project dummy
$ oc patch namespace dummy --type=merge -p '{"metadata": {"annotations": { "scheduler.alpha.kubernetes.io/defaultTolerations": "[{\\"operator\\": \\"Exists\\"}]"}}}'
edit ns 로 아래 줄 추가
‘[{”operator”: “Exists”}]’ 주의!
728x90
반응형