concept configmap command in category kubernetes

appears as: configmap commd
Kubernetes in Action

This is an excerpt from Manning's book Kubernetes in Action.

Let’s see how to use a ConfigMap in one of your pods. To start with the simplest example, you’ll first create a map with a single key and use it to fill the INTERVAL environment variable from your previous example. You’ll create the ConfigMap with the special kubectl create configmap command instead of posting a YAML with the generic kubectl create -f command.