Difference between revisions of "Kubectl get configmap"
Jump to navigation
Jump to search
(8 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
[[kubectl get]] [[configmap]] | [[kubectl get]] [[configmap]] | ||
+ | [[kubectl get configmap -A]] | ||
+ | kubectl get configmap -n [[kube-system]] | ||
kubectl get configmap -n prod | kubectl get configmap -n prod | ||
Line 15: | Line 17: | ||
[[kubectl -n kube-system get configmap aws-auth -o=yaml]] | [[kubectl -n kube-system get configmap aws-auth -o=yaml]] | ||
+ | [[kubectl get]] configmap argocd-cm -n argocd -o yaml > argocd-cm.yml | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related == | == Related == | ||
− | + | * [[kubectl get configmaps]] | |
== See also == | == See also == | ||
− | * {{kubectl}} | + | * {{kubectl get}} |
+ | * {{ConfigMap}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 21:00, 7 February 2024
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 kubectl get configmap argocd-cm -n argocd -o yaml > argocd-cm.yml
Related[edit]
See also[edit]
kubectl get
: [all
|componentstatus | pods | apiservices | events
|event
|nodes
|replicaset
|services
|svc
|namespaces
|hpa
|secret | deployments | serviceaccounts | endpoints | daemonset | networkpolicy
],kubectl get -h
- ConfigMaps:
kubectl [ get | edit | describe | create | delete ] configmaps
,aws-auth
, Kustomize,kind: ConfigMap, ConfigMapRef, envFrom
Advertising: