Difference between revisions of "Kubectl get configmap"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 3: Line 3:
 
  [[kubectl get]] [[configmap]]
 
  [[kubectl get]] [[configmap]]
 
  [[kubectl get configmap -A]]
 
  [[kubectl get configmap -A]]
 +
kubectl get configmap -n [[kube-system]]
  
 
  kubectl get configmap -n prod
 
  kubectl get configmap -n prod

Revision as of 16:06, 22 March 2023

kubectl get configmap
kubectl get configmap -A
kubectl get configmap -n kube-system
kubectl get configmap -n prod
NAME                          DATA   AGE
elasticsearch-master-config   1      5d22h
kube-root-ca.crt              1      14d
your-app                      1      21h


kubectl -n kube-system get configmap aws-auth
NAME       DATA   AGE
aws-auth   2      19h
kubectl -n kube-system get configmap aws-auth -o=yaml

Related

kubectl get configmaps

See also

Advertising: