hardkubectl

Create a ConfigMap from literal key-value pairs on the command line

command

kubectl create configmap CONFIGMAP_NAME --from-literal=KEY=VALUE

also accepted

kubectl create configmapkubectl create cmkubectl create cm CONFIGMAP_NAME --from-literal=KEY=VALUE

Test your recall — not just your reading.

Practice with interactive quiz →