Can we have two different environments under one eks control pane ?
any links or source materials will be of great help
Related discussions:
Can we have two different environments under one eks control pane ?
any links or source materials will be of great help
Related discussions:
There is a hybrid cluster concept in EKS that you may use
https://aws.amazon.com/eks/hybrid-nodes/
I wouldn’t do that. It is already challenging to prevent cross az network charges with k8s workloads, it you use now EKS clusters from different accounts or even regions, this becomes even more tricky.
If you just want a single pane of glass for cluster management I suggest Rancher. EKS hybrid cluster are more applicable for on-prem k8s nodes that you want to use along with your EKS cluster.
Is this like running dev and prod in a single cluster or running different services?
The latter’s fine and general practice. Utilise namespaces for organising resources and node tolerations and taints incases of workloads needing specific resources
The former’s more messy, you’re relying on logical controls to maintain separation between your sensitive data workloads and devs pissing about. For example, a container breakout vuln could be catastrophic or a misconfig in your networking CNI could cause your entire platform to collapse. It also makes testing and rolling out changes more complicated, especially those on the control plane and administration services that will be shared by all workloads.
I wouldn’t run dev & prod on the same cluster. I think this is just an architectural decision that’s more expensive but is just the cost of doing business
thank you
+1 to this.
Don’t run dev and prod in the same cluster, but do run multiple services in the same cluster. Cuts down on control plane costs and you can scale a single cluster to be quite large with many workloads
For cost saving measures am planning to run dev and QA/stg environment under one EKS cluster , PROD will be a separate one.
I went to a tech talk once about virtual clusters that would let you do this. However it seems very complicated and I haven’t tried to implement it myself.
If money’s that tight then fine but I’d still be hesitant sharing those environments in the same cluster.
QA isn’t customer facing but it’s what lets you push features to customers and makes sure your platform works. This should be as identical to prod as possible to avoid any surprises. Dev’s playing about in the cluster will make that difficult.
Dev & QA together isn’t unreasonable. I’d be hesitant to put Customer-facing Staging environments in there too.
Staging should be as close to production at possible. This is how you validate all changes in prod first - from software down to management of the software.
We’re a startup and we split three ways. We run Dev/QA in a separate AWS account. Our staging/prod clusters are in the same AWS account but isolated VPCs. (Staging in our world is more like pre-prod in terms of data used, and so we operate it under the same technical and process framework as prod.)
shared control planes can save on per-cluster overhead (esp. if you’ve got low-util clusters), but the real cost win only shows up when you have strict resource quotas, automated TTLs for ephemeral workloads, and clean CUR tagging. We once caught $8k/month in waste where dev workloads were hanging in prod’s node group. PointFive flagged that exact pattern with our DeepWaste engine. You can run multiple environments (like dev and prod) under a single EKS control plane, it’s all about how you separate concerns. Namespaces and RBAC are your friends here. Just don’t skimp on network policies or IAM boundaries, or you’ll end up with a cross-talk horror story during on-call. That said, mixing envs means blast radius tradeoffs.