Kubernetes
Easy
Concepts
What is the purpose of a ConfigMap in Kubernetes?
Select your answer:
Show answer and explanation
Answer: To store non-confidential configuration data as key-value pairs
Explanation
ConfigMaps allow you to decouple configuration artifacts from image content to keep containerized applications portable. They store non-confidential data in key-value pairs that can be consumed by pods as environment variables, command-line arguments, or configuration files.
More easy Kubernetes questions
- Which command would you use to scale a deployment named 'nginx-deployment' to 5 replicas?
- Which kubectl command would you use to view all pods in all namespaces?
- Which command would you use to create a new namespace called 'development'?
- Which kubectl command would you use to edit a running deployment named 'web-app'?
- What is the purpose of a Kubernetes Secret?
- Which kubectl command would you use to view the resource usage of pods?