5,322
edits
(→nodes) |
(→pods) |
||
Line 134: | Line 134: | ||
===pods=== | ===pods=== | ||
< | <syntaxhighlight lang="bash"> | ||
kubectl get pods | kubectl get pods | ||
kubectl describe pods | kubectl describe pods | ||
Line 140: | Line 140: | ||
# Access a port on a pod | # Access a port on a pod | ||
kubectl port-forward <pod> <localport:podport> | kubectl port-forward <pod> <localport:podport> | ||
</ | </syntaxhighlight> | ||
===deployment=== | ===deployment=== |