DEV Community

Aurélie Vache
Aurélie Vache

Posted on • Updated on

Understanding Kubernetes: part 5 – Configmaps

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 an entire illustrated book about Kubernetes, available in paperback on Amazon and in digital version on GumRoad: "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 :-).

Latest comments (3)

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

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

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