Join my course at Udemy (Python Programming Bible-From beginner to advanced )

Blogger templates

Tuesday, 7 January 2025

44/45. Env / ConfigMaps

44. Env variables

ENV variables can be defined under ENV 



Other ways to define ENV variables

  • config-map - Value is taken from outside
  • Secrets - Value is taken from outside.




ConfigMaps

When there are too many ENV files then it is better to define all variables in a seperate file in KEY/VALUE format.

How to create config-maps ( 2 ways ) 

- imperative and declarative.




Imperative way to create config-map






Declarative way for config-map




View Configmap




Config map in yaml file



Different ways of config-map






Share:

0 comments:

Post a Comment

Feature Top (Full Width)

Pageviews

Search This Blog