Kubernetes - ConfigMaps
Given this pod spec snippet mounting a ConfigMap named
Assuming the ConfigMap
app-config at /etc/config, what will be the content of the file /etc/config/settings.conf inside the container?volumes:
- name: config-volume
configMap:
name: app-config
containers:
- name: app
image: nginx
volumeMounts:
- name: config-volume
mountPath: /etc/config
Assuming the ConfigMap
app-config has a key settings.conf with value max_connections=100.