kubectl debug

Jmnote (토론 | 기여)님의 2022년 4월 8일 (금) 16:40 판 (새 문서: ==개요== {{소문자}} ;kubectl debug <syntaxhighlight lang='console'> root@localhost:~# kubectl get no NAME STATUS ROLES AGE VERSION cluster1-node...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

kubectl debug
root@localhost:~# kubectl get no
NAME                           STATUS   ROLES    AGE   VERSION
cluster1-node1-765bcd43-ef2h   Ready    <none>   12d   v1.20.15
root@localhost:~# kubectl debug node/cluster1-node1-765bcd43-ef2h -it --image=busybox
Creating debugging pod node-debugger-cluster1-node1-765bcd43-ef2h with container debugger on node cluster1-node1-765bcd43-ef2h.
If you don't see a command prompt, try pressing enter.
/ # hostname
cluster1-node1-765bcd43-ef2h
/ # ps -ocomm | grep kube
kubelet
kube-proxy

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}