getElementsByName / tmp-doc

0 stars 0 forks source link

kubectl cheat sheet #12

Open getElementsByName opened 3 years ago

getElementsByName commented 3 years ago

pod ip list

k get pods -o custom-columns=PodName:.metadata.name,PodID:.status.podIP

debugging pod

kubectl run -it --rm --restart=Never debugging --image=ubuntu bash