Difference between revisions of "Kubernetes ConfigMaps"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
* <code>[[kubectl get configmaps]]</code>
 
* <code>[[kubectl get configmaps]]</code>
 
* <code> [[kubectl describe configmaps]] YOUR_CONFIG_MAP_NAME</code>
 
* <code> [[kubectl describe configmaps]] YOUR_CONFIG_MAP_NAME</code>
 +
* <code>[[kubectl edit configmap]]</code>
  
 
[[EKS]]
 
[[EKS]]

Revision as of 09:02, 28 November 2022

A ConfigMap is an API object used to store non-confidential data in key-value pairs. Pods can consume ConfigMaps as environment variables, command-line arguments, or as configuration files in a volume. https://kubernetes.io/docs/concepts/configuration/configmap/

Commands

kubectl create configmap <map-name> <data-source>

EKS

helm list
Error: configmaps is forbidden: User "system:serviceaccount:kube-system:default" cannot list resource "configmaps" in API group "" in the namespace "kube-system"

Activities

News

Related terms

See also

  • https://github.com/kubernetes/enhancements/issues/1412
  • Advertising: