From the course: Kubernetes and Cloud Native Associate (KCNA) Cert Prep

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Managing configuration

Managing configuration

- In this video, you'll learn how to manage configuration in a cloud native environment. So what are the options? Well, configuration can be built into the container image. I hope you can guess what is wrong with that. It would limit the image usability, and it would require new image for every new application instance. So building the configuration into the container image is really a very bad idea. To decouple configuration from the pod, a ConfigMap can be used, and a secret is a base64 encoded ConfigMap. Now, what exactly is a ConfigMap? Well a ConfigMap is used to store configuration that would normally be stored on a server, but this time it'll store it in cloud because do remember, cloud is all about decoupling. You don't want to have your application or relation with the specific server, and that is why ConfigMap comes in. ConfigMap generically is used for two different purposes, to store environment variables, but also to store configuration files. And how the pod refers to…

Contents