Difference between revisions of "Kubernetes ConfigMaps"
Jump to navigation
Jump to search
↑ https://github.com/kubernetes/enhancements/issues/1412
Tags: Mobile web edit, Mobile edit |
|||
Line 37: | Line 37: | ||
* [[Already exists in the cluster]] | * [[Already exists in the cluster]] | ||
* [[Kubernetes HostPath volume provider]] | * [[Kubernetes HostPath volume provider]] | ||
+ | [[projected]] | ||
== See also == | == See also == |
Revision as of 10:06, 8 March 2023
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>
kubectl get configmaps
kubectl describe configmaps YOUR_CONFIG_MAP_NAME
kubectl edit configmap
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
- CKA v1.23: Use ConfigMaps and Secrets to configure applications
- CKA v1.15, CKA v1.21: Understand ConfigMaps
News
- Aug 2020 Kubernetes v1.19 Immutable Secrets and ConfigMaps [1]
Related terms
- Deployment, Service, Secrets
- Terraform: kubernetes_config_map https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map (ConfigMap)
kind: ConfigMap
- Terraform resource: kubernetes_config_map
- Sidecar container
aws-auth
configmap- Kustomize
configMapRef:
data:
Error: kind ConfigMap
Error: UPGRADE FAILED: kind ConfigMap with the name "you-configmap-name" in "your-env" already exists
- Already exists in the cluster
- Kubernetes HostPath volume provider
projected
See also
- AWS IAM Authenticator for Kubernetes:
aws-auth, kubectl edit -n kube-system configmap/aws-auth, eksctl create iamidentitymapping
,mapUsers:, mapRoles:, mapAccounts:
- ConfigMaps:
kubectl [ get | edit | describe | create | delete ] configmaps
,aws-auth
, Kustomize,kind: ConfigMap, ConfigMapRef, envFrom
- Kubectl information commands:
cluster-info
|view
|pods
|nodes
|services
|version
|describe | logs
Advertising: