Difference between revisions of "Kubectl describe configmaps"

From wikieduonline
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
*https://kubernetes.io/docs/concepts/configuration/configmap/
+
<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>
  
<pre>
 
Name:          game-config
 
Namespace:      default
 
Labels:        <none>
 
Annotations:    <none>
 
  
Data
+
== Example ==
====
+
[[Name:]]           game-config
game.properties:        158 bytes
+
[[Namespace:]]      [[default]]
ui.properties:          83 bytes
+
[[Labels:]]        <none>
</pre>
+
[[Annotations:]]    <none>
 
+
* <code>[[kubectl -n kube-system describe]]</code>
+
[[Data]]
 
+
====
== kubectl describe configmap grafana ==
+
game.properties:        158 bytes
<pre>
+
ui.properties:         83 bytes
kubectl describe configmaps grafana
 
Name:        grafana
 
Namespace:   default
 
Labels:       app.kubernetes.io/instance=grafana
 
              app.kubernetes.io/managed-by=Helm
 
              app.kubernetes.io/name=grafana
 
              app.kubernetes.io/version=8.5.3
 
              helm.sh/chart=grafana-6.29.4
 
Annotations: meta.helm.sh/release-name: grafana
 
              meta.helm.sh/release-namespace: default
 
 
 
Data
 
====
 
grafana.ini:
 
----
 
[analytics]
 
check_for_updates = true
 
[grafana_net]
 
url = https://grafana.net
 
[log]
 
mode = console
 
[paths]
 
data = /var/lib/grafana/
 
logs = /var/log/grafana
 
plugins = /var/lib/grafana/plugins
 
provisioning = /etc/grafana/provisioning
 
 
 
 
 
BinaryData
 
====
 
 
 
Events: <none>
 
</pre>
 
  
 
== 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}}
* {{kubectl}}
 
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]
 
[[Category:CKAD]]
 
[[Category:CKAD]]

Latest revision as of 11:49, 13 February 2024

Advertising: