Skip to content

Commit

Permalink
docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
omidraha committed Sep 15, 2023
1 parent d816119 commit 51084da
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/kubernetes/tips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1548,7 +1548,7 @@ https://stackoverflow.com/questions/55780083/error-no-persistent-volumes-availab
https://stackoverflow.com/questions/63552085/persistent-volume-claim-not-claiming-the-volume/63557664#63557664


kubectl get events sort by time
Get events sort by time
********************************

.. code-block:: bash
Expand Down Expand Up @@ -1641,3 +1641,15 @@ https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constrai
),
opts=pulumi.ResourceOptions(provider=provider),
)
get All pods for each node
**************************

.. code-block:: python
kubectl get pod -o=custom-columns=NODE:.spec.nodeName,NAME:.metadata.name --all-namespaces
kubectl get pod -o=custom-columns=NAME:.metadata.name,STATUS:.status.phase,NODE:.spec.nodeName --all-namespaces

0 comments on commit 51084da

Please sign in to comment.