easykubectl
Create a ConfigMap from a single key-value literal pair
command
kubectl create configmap CONFIG_NAME --from-literal KEY=VALUEalso accepted
kubectl create configmapkubectl create configmap CONFIG_NAME --from-literalcommand
kubectl create configmap CONFIG_NAME --from-literal KEY=VALUEalso accepted
kubectl create configmapkubectl create configmap CONFIG_NAME --from-literalPart of the Kubernetes CLI (kubectl) — ConfigMaps & Secrets category.
| Flag | Purpose |
|---|---|
--from-literal | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →