Hands-On: Creating ConfigMaps Imperatively
Learn to implement ConfigMaps imperatively.
We'll cover the following...
As with most Kubernetes resources, we can create ConfigMaps imperatively and declaratively. We’ll look at the imperative method first.
Creating ConfigMaps
We create ConfigMaps imperatively with the kubectl create configmap
command. However, we can shorten configmap
to cm
, and the command accepts two sources of data:
Literal values on the ...