loft-sh / vcluster

vCluster - Create fully functional virtual Kubernetes clusters - Each vcluster runs inside a namespace of the underlying k8s cluster. It's cheaper than creating separate full-blown clusters and it offers better multi-tenancy and isolation than regular namespaces.
https://www.vcluster.com
Apache License 2.0
6.3k stars 402 forks source link

host and vcluster version upgrades #1870

Closed devexter closed 2 months ago

devexter commented 3 months ago

Is your feature request related to a problem?

We have experienced some service downtime when we upgrade AWS EKS clusters. We are looking at blue/green cluster upgrades as a possible solution, I am looking to see if vCluster could provide a possible solution to this. Does the vCluster k8s version need to be deployed on the same host k8s version, or does each vCluster k8s version support a range of host k8s versions?

Which solution do you suggest?

Deploy App clusters as vClusters, do blue/green vCluster upgrades

Upgrade host EKS cluster independently from App vCluster upgrades.

Which alternative solutions exist?

Stick with EKS blue/green cluster upgrades.

Additional context

While I think vCluster can make blue/green cluster upgrades faster, if we have to also upgrade the underlying host cluster we have the same issue of potential downtime.

heiko-braun commented 3 months ago

Hi @devexter

Does the vCluster k8s version need to be deployed on the same host k8s version, or does each vCluster k8s version support a range of host k8s versions?

No, usually the k8s versions are backwards compatible and you can combine different versions on the host and virtual cluster: https://www.vcluster.com/docs/vcluster/deploy/basics