hardkubectl

Create a ConfigMap by importing all key-value pairs from a .env file

command

kubectl create configmap CONFIG_NAME --from-env-file ENV_FILE

also accepted

kubectl create configmapkubectl create configmap CONFIG_NAME --from-env-file

Test your recall — not just your reading.

Practice with interactive quiz →