Kubernetes config separation between environments and services

10/17/2018

Let us say you have a system with 3 deployment environents (e.g. dev, uat, prod) and 10 services that need to share configuration that varies per environment, like database host URL etc.

Ideally, should define the environment config (databases and other infrastructure) once per environment, not 10 times on every service configmap.

  • How to best maintain this separation of configuration of environments and applications?
  • How to best inject the environment config on every application deployed on that environment?
-- V-Lamp
kubernetes
kubernetes-helm

0 Answers