grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

commit 8b7e6b899008fbdaaa0701d2b33ff9d1278ac7d8
parent 92df7291ff020809dff4c09b1599ff477998d411
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 27 Dec 2019 15:56:21 +0000

kubernetes page and homepage link

Diffstat:
MHome.md | 1+
Atechnology/cloud/kubernetes.md | 11+++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/Home.md b/Home.md @@ -58,6 +58,7 @@ ### cloud - [azure](technology/cloud/azure) - [docker](technology/cloud/docker) +- [kubernetes](technology/cloud/kubernetes) - [openshift](technology/cloud/openshift) ### communication diff --git a/technology/cloud/kubernetes.md b/technology/cloud/kubernetes.md @@ -0,0 +1,11 @@ +# kubernetes + +- list pods for all namespaces +``` +kubectl get pods --all-namespaces +``` + +- get list of containers in pod +``` +kubectl -n <namespace> get pods <pod_name> -o jsonpath={.spec.containers[*].name} +```