aboutsummaryrefslogtreecommitdiffstats
path: root/docs/queries/kubernetes.rst
blob: f8d89849a1abcc2b2f85df1f5d3334bf399da4cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Kubernetes tips
===============

Find top pods by CPU/memory
---------------------------

.. code:: bash

   $ kubectl top pods --all-namespaces --sort-by='memory'
   $ top pods --all-namespaces --sort-by='cpu'

Find top nodes by CPU/memory
----------------------------

.. code:: bash

   $ kubectl top nodes --sort-by='cpu'
   $ kubectl top nodes --sort-by='memory'

Kubernetes cheat sheet
----------------------

`Open Kubernetes cheat
sheet <https://kubernetes.io/docs/reference/kubectl/cheatsheet/>`__

Lens IDE
--------

`OpenLens <https://github.com/MuhammedKalkan/OpenLens>`__