Jump to content

Kubernetes: Difference between revisions

Line 134: Line 134:


===pods===
===pods===
<pre>
<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>
</pre>
</syntaxhighlight>


===deployment===
===deployment===