What is the main purpose of a ConfigMap in Kubernetes?

What is the main purpose of a ConfigMap in Kubernetes?

a) To store application logs
b) To store non-confidential configuration data
c) To manage container images
d) To update the Kubernetes API

Answer:

b) To store non-confidential configuration data

Explanation:

A ConfigMap in Kubernetes is used to store non-confidential configuration data such as environment variables, command-line arguments, or configuration files.

Reference:

Kubernetes Quiz – MCQ – Multiple Choice Questions

Scroll to Top