Difference between revisions of "Kubernetes ConfigMaps"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
* [[Service]] | * [[Service]] | ||
* [[Secrets]] | * [[Secrets]] | ||
+ | * [[Terraform]]: [[kubernetes_config_map]] https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map ([[ConfigMap]]) | ||
== See also == | == See also == |
Revision as of 15:05, 15 February 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/
kubectl create configmap <map-name> <data-source>
kubectl get configmaps
kubectl describe configmaps YOUR_CONFIG_MAP_NAME
Activities
- CKA v1.15: Understand ConfigMaps
Related terms
- Deployment
- Service
- Secrets
- Terraform: kubernetes_config_map https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map (ConfigMap)
See also
- 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
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: