July 2019
Intermediate to advanced
502 pages
14h
English
For large-scale systems with lots of services and lots of configuration, you may want to have services that consume multiple ConfigMaps. This is separate from the fact that a single ConfigMap may contain multiple files, directories, and literal values, in any combination. For example, each service may have its own specific configuration, but it might also use some shared libraries that need to be configured as well. In this scenario, you can have one ConfigMap for the shared library and a separate ConfigMap for each service. In this case, the services will consume both their ConfigMap and the shared library's ConfigMap.
Another common scenario is to have different configuration for different environments (development, ...