Should I run my testing environment in the same Kubernetes cluster as my production environment? Should I run my testing environment in the same Kubernetes cluster as my production environment? kubernetes kubernetes

Should I run my testing environment in the same Kubernetes cluster as my production environment?


always prefer to go with two isolate cluster would be good option. but it will cost you.if you want use one cluster for both environment. you could isolate physical resource but not traffic(Istio would help).you could isolate by using hardcode resource quota to test env. to avoid consume Prod. resource and always use limit to all deployment and use nodeaffinity to limit your test env.

  1. Resource quota - Namespace
  2. Request limit - Deployment
  3. Nodeaffinity - Node