DEV Community

loading...

Understanding Kubernetes: part 5 – Configmaps

aurelievache profile image Aurélie Vache Updated on ・1 min read

Understanding Kubernetes can be difficult or time-consuming. In order to spread knowledges about Cloud technologies I started to create sketchnotes about Kubernetes. I think it could be a good way, more visual, to explain Kubernetes (and others technologies).

We continue the serie of Sketchnotes about Kubernetes, with Configmap.

Alt Text

If you are interested, I published all the sketchnotes on Kubernetes (and new ones!) to make a "book" of 120 pages: "Understanding Kubernetes in a visual way".

As usual, if you like theses sketchnotes, you can follow me, and tell me what do you think. I will publish others sketchs shortly :-).

Discussion

pic
Editor guide
Collapse
jouo profile image
Jashua

Excuse me Aurélie, I've only ever seen examples of using the Configmap for environment values, is it possible to use Configmap values somewhere else? (say port, image, labels, etc)

Collapse
aurelievache profile image
Aurélie Vache Author

Imagine you have an app which needed a configuration file (configuration.properties). In this conf file you have properties like an url, a port, an username..

When the app started it load the conf

You can use ConfigMap which embed this conf file and then link the ConfigMap to your pod.

Collapse
aurelievache profile image
Aurélie Vache Author

If you want to tell to kubernetes which container image tag to run, use Kustomize for example