You can mount any ConfigMap into your ECD by using the extraConfigMapMounts
list in the specification. This
An example of when this is useful if is when you want to customize the APL logging configuration for ECDs as described in Customizing APL Logging for ECDs (3.2).
...
Create a ConfigMap in your Kubernetes cluster.
Rw ui textbox macro | |||||
---|---|---|---|---|---|
| |||||
Example - Creating a ConfigMap
|
Create an ECD with a specification that contains an
extraConfigMapMounts
list.
Rw ui textbox macro | |||||
---|---|---|---|---|---|
| |||||
Example - Creating ECD with extraConfigMapMounts
|
The file specified in the ConfigMap will be available in /mnt/my-config/my-file.txt
in the created EC pod.
...