Kubernetes - ConfigMaps
Which command correctly creates a ConfigMap named
config-data from the file app.env?config-data from the file app.env?kubectl create configmap followed by the name and --from-file option.-f which is incorrect here. kubectl apply configmap config-data --from-file=app.env uses apply which is for applying manifests, not creating ConfigMaps directly. kubectl configmap create config-data --file=app.env uses an invalid command.kubectl create configmap NAME --from-file=FILE syntax [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions