Creating ConfigMap using literals
Creating a Pod
Verification
Deleting the objects
Try it yourself
Creating ConfigMap using literals
Hopefully, even when our applications need different configs to work in distinct clusters, the differences are limited. Often, they should be limited to only a few key/value entries. In such cases, it might be easier to create ConfigMaps using --from-literal.
Let’s take a look at an example.