Difference between revisions of "Kubectl describe configmaps"
Jump to navigation
Jump to search
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | <code>[[kubectl describe]] configmaps</code> https://kubernetes.io/docs/concepts/configuration/configmap/ | |
* <code>[[kubectl describe]] configmaps</code> | * <code>[[kubectl describe]] configmaps</code> | ||
* <code>[[kubectl describe]] configmaps -A</code> | * <code>[[kubectl describe]] configmaps -A</code> | ||
− | * <code>[[kubectl describe configmaps -A]] | grep -w Name</code> | + | * <code>[[kubectl describe configmaps -A]] | grep -w "Name:"</code> |
* <code>[[kubectl describe]] configmaps YourConfigMapName</code> | * <code>[[kubectl describe]] configmaps YourConfigMapName</code> | ||
+ | * <code>[[kubectl -n kube-system describe configmaps]]</code> | ||
+ | * <code>[[kubectl -n kube-system describe configmaps kube-proxy]]</code> | ||
+ | * <code>[[kubectl describe configmap grafana]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Example == | |
− | ==== | + | [[Name:]] game-config |
− | + | [[Namespace:]] [[default]] | |
− | + | [[Labels:]] <none> | |
− | + | [[Annotations:]] <none> | |
− | + | ||
− | + | [[Data]] | |
− | + | ==== | |
− | + | game.properties: 158 bytes | |
− | + | ui.properties: 83 bytes | |
− | |||
− | |||
− | Namespace: | ||
− | Labels: | ||
− | |||
− | |||
− | |||
− | |||
− | Annotations: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [ | ||
− | |||
− | [ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Activities == | == Activities == | ||
* [[CKAD]]: Understand [[ConfigMaps]] | * [[CKAD]]: Understand [[ConfigMaps]] | ||
* <code>[[kubectl get configmaps]]</code> | * <code>[[kubectl get configmaps]]</code> | ||
+ | * <code>[[kubectl get configmaps -A]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kind: ConfigMap]]</code> | ||
+ | * [[CKA v1.23 Use ConfigMaps and Secrets to configure applications]] | ||
== See also == | == See also == | ||
* {{ConfigMaps}} | * {{ConfigMaps}} | ||
− | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] | ||
[[Category:CKAD]] | [[Category:CKAD]] |
Latest revision as of 11:49, 13 February 2024
kubectl describe configmaps
https://kubernetes.io/docs/concepts/configuration/configmap/
kubectl describe configmaps
kubectl describe configmaps -A
kubectl describe configmaps -A | grep -w "Name:"
kubectl describe configmaps YourConfigMapName
kubectl -n kube-system describe configmaps
kubectl -n kube-system describe configmaps kube-proxy
kubectl describe configmap grafana
Contents
Example[edit]
Name: game-config Namespace: default Labels: <none> Annotations: <none> Data ==== game.properties: 158 bytes ui.properties: 83 bytes
Activities[edit]
Related[edit]
See also[edit]
- ConfigMaps:
kubectl [ get | edit | describe | create | delete ] configmaps
,aws-auth
, Kustomize,kind: ConfigMap, ConfigMapRef, envFrom
Advertising: