Huawei
H13-831_V2.0 · Question #178
After creating a ConfigMap object in a CCE cluster, there are usually two ways for workloads to use configuration items: one is to pass it in by setting workload environment variables through the…
The correct answer is B. Environment variables set through ConfigMap will not be automatically updated, and the file contents. See the full explanation below for the reasoning.
Advanced Compute and Container Architecture Design
Question
After creating a ConfigMap object in a CCE cluster, there are usually two ways for workloads to use configuration items: one is to pass it in by setting workload environment variables through the ConfigMap, and the other is to mount the ConfigMap to the workload's data volume. After the load is successfully created, if the content in the ConfigMap changes, which of the following descriptions is correct?
Options
- AEnvironment variables set through ConfigMap will be automatically updated, and the file contents in
- BEnvironment variables set through ConfigMap will not be automatically updated, and the file contents
- CThe environment variables set by ConfigMap will be automatically updated, and the file contents in the
- DEnvironment variables set through ConfigMap will not be automatically updated, and the file contents
How the community answered
(53 responses)- A15% (8)
- B75% (40)
- C6% (3)
- D4% (2)
Topics
#CCE#ConfigMap#Kubernetes#environment variables
Community Discussion
No community discussion yet for this question.