k8s

Section: (pj)
Updated: 2021-10-19
Index Return to Main Contents

kubectl -context=staging get nodes

kubectl -context=staging get pods  

Show secrets:

kubectl get secrets -all-namespaces kubectl get secret the-secret-name -o jsonpath=`{.data}' | jq kubectl get secret the-secret-name -o jsonpath=`{.data.foo}' | base64 -decode  

Get pods matching a label:

kubectl get pods -l app=foo  

AUTHORS

Paul A. Jungwirth.


 

Index

Show secrets:
Get pods matching a label:
AUTHORS

This document was created by man2html, using the manual pages.
Time: 16:45:10 GMT, April 11, 2022