Skip to content

Commit

Permalink
docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
omidraha committed Sep 7, 2023
1 parent abe528e commit 9eedaf4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/kubernetes/tips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1559,3 +1559,24 @@ Logs all pods
.. code-block:: bash
kubectl logs --all-containers -l key=val -n namespace --max-log-requests=10 -f
SSH to node
************

.. code-block:: bash
$ kubectl get nodes -A
NAME STATUS ROLES AGE VERSION
ip-11-0-140-30.us-west-2.compute.internal Ready <none> 8d v1.27.4-eks-8ccc7ba
ip-11-0-156-115.us-west-2.compute.internal Ready <none> 8d v1.27.4-eks-8ccc7ba
ip-11-0-25-168.us-west-2.compute.internal Ready <none> 8d v1.27.4-eks-8ccc7ba
ip-11-0-26-42.us-west-2.compute.internal Ready <none> 8d v1.27.4-eks-8ccc7ba
ip-11-0-66-59.us-west-2.compute.internal Ready <none> 8d v1.27.4-eks-8ccc7ba
ip-11-0-77-92.us-west-2.compute.internal Ready <none> 8d v1.27.4-eks-8ccc7ba
$ kubectl debug node/ip-11-0-77-92.us-west-2.compute.internal -it --image=busybox
$ chroot /host
Images:
- busybox
- mcr.microsoft.com/aks/fundamental/base-ubuntu:v0.0.11

0 comments on commit 9eedaf4

Please sign in to comment.