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 - Kubernetes Tutorial
From the course: Kubernetes and Cloud Native Associate (KCNA) Cert Prep
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
-
-
-
-
-
-
-
-
-
-
(Locked)
Learning objectives39s
-
(Locked)
Understanding decoupling3m 36s
-
(Locked)
Kubernetes storage options2m 9s
-
(Locked)
Using storage5m 58s
-
(Locked)
Managing configuration2m 26s
-
(Locked)
Using ConfigMaps and Secrets7m 58s
-
(Locked)
Practice questions2m 2s
-
(Locked)
Lesson 8 lab: Decoupling applications29s
-
(Locked)
Lesson 8 lab solution: Decoupling applications5m 2s
-
(Locked)
-
-
-
-