βΈοΈConfig Map
Describe about What is Config map?
When we would like to add the env variable to Pod
, we can do it by add the property called env in definition file
but It's hard to manage in the configuration in definition file
so we have Config map
for managing the configuration
CheatSheet
Create Configmap (Imperative way):
kubectl create configmap <config_name> --from-literal=<key>=<value>
kubectl create configmap <config_name> --from-file=<path_to_file>
Create Configmap (Declarative way):
Last updated