hardkubectl
Create a ConfigMap by importing all key-value pairs from a .env file
command
kubectl create configmap CONFIG_NAME --from-env-file ENV_FILEalso accepted
kubectl create configmapkubectl create configmap CONFIG_NAME --from-env-filecommand
kubectl create configmap CONFIG_NAME --from-env-file ENV_FILEalso accepted
kubectl create configmapkubectl create configmap CONFIG_NAME --from-env-fileTest your recall — not just your reading.
Practice with interactive quiz →