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.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by FabianKramm about 3 years ago
vcluster completion
command to create bash & zsh completion scripts (#90) (thanks @mevech)Published by FabianKramm over 3 years ago
vcluster connect --server
would sometimes not correctly prepend https://
--connect
flag for vcluster create
that directly runs vcluster connect
after creating the vcluster (#81)--service-namespace
to specify where the vcluster service is available--target-namespace
would not work correctly--out-kube-config-secret-namespace
flag to override the namespace where vcluster will store the generated kube config (#82)--out-kube-config-server
flag to override the server of the generated kube config (#84)Published by FabianKramm over 3 years ago
--connect
flag for vcluster create
that directly runs vcluster connect
after creating the vcluster (#81)--service-namespace
to specify where the vcluster service is available--target-namespace
would not work correctly--out-kube-config-secret-namespace
flag to override the namespace where vcluster will store the generated kube config (#82)--out-kube-config-server
flag to override the server of the generated kube config (#84)Published by FabianKramm over 3 years ago
vCluster now passes all conformance tests for Kubernetes v1.21 (prior vcluster only passed all v1.20 & v1.19 tests). See conformance on how to reproduce the test results.
control-plane.alpha.kubernetes.io/leader
annotation of endpoints to force mirroring endpoints to endpointslices in the host cluster*
verbs in role to allow vcluster creation with admin
role--expose
flag for vcluster create
to use a LoadBalancer service to automatically expose the vclustervcluster connect
to automatically recognize exposed vclusters and skip port forwarding for thosevcluster create
Published by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
This is a big milestone for vcluster as vcluster now passes 100% of Kubernetes conformance tests for Kubernetes version v1.20. Check conformance on how to reproduce the test result.
vcluster now officially supports data storage backends such as etcd, mysql & postgresql instead of the default sqlite storage. Take a look at the vcluster docs for more information.
By default, vcluster will now create a service for each node which redirects incoming traffic to the node kubelet from within the vcluster to vcluster itself. This means that if workloads within the vcluster try to scrape node metrics the traffic reaches vcluster first. Vcluster will redirect the incoming request to the host cluster and rewrite the response (pod names, pod namespaces etc) and return it to the requester.
This makes it possible to use Kubernetes features such as metrics-server, prometheus operator or HorizontalPodAutoscaler within the vcluster. However for this to work, you'll need to give vcluster RBAC permissions to access the nodes of the host cluster, which can be done via vcluster create ... --create-cluster-role
vcluster will now sync labels of resources. In order to avoid conflicts in the host namespace, vcluster will rewrite them to be uniquely identifiable in the host cluster.
This makes it possible to use features like downwardAPI fields like metadata.labels['my-label']
, pod (anti) affinity and pod topology constraints in the vcluster.
vcluster create
now uses the cli version as default vcluster chart versionvcluster delete
now deletes the PVC as well except --keep-pvc
is specified (#29)--context
flag for vcluster commands to specify a kubernetes context (#38)--create-cluster-role
flag for vcluster create
to tell vcluster to create a cluster role--k3s-image
flag for vcluster create
to specify the k3s image version--server
flag in vcluster connect
to create kube configs for vclusters that use a NodePort, LoadBalancer or Ingress--extra-values
/-f
flag in vcluster create
to allow specification of additional value files that will be merged with the default onesvcluster connect --update-current
would not work correctly.-
strings with -
during translation from virtual name to physical name (#51)spec.affinity.podAffinity
and spec.affinity.podAntiAffinity
(#52)kubectl exec
could wrongfully timeoutpods/exec
, pods/attach
& pods/portforward
pods/proxy
and service/proxy
requests anymore--enable-priority-classes
to sync priority classes from vcluster to the host cluster. This is by default off and if not enabled, vcluster will strip out any priority classes of pods that will be synced to the host cluster to avoid problems with unknown priority classes--fake-kubelets
to disable fake kubelet endpoints--fake-nodes=false
--sync-node-changes
that will sync the node resources, taints & labels from the virtual cluster to the host cluster if enabled.volumes
can now be configured in the vcluster chartreplicas
can now be configured in the vcluster chartnodeSelector
, affinity
and tolerations
can now be configured in the vcluster chart (#34)syncer.livenessProbe
and syncer.readinessProbe
can now be configured in the helm chartlabels
and annotations
can now be configured in the helm chartPublished by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
Published by FabianKramm over 3 years ago
vcluster list
to list virtual clustersvcluster --version
to display the current vcluster versionvcluster upgrade
to upgrade the vcluster to the latest versionPublished by FabianKramm over 3 years ago
vcluster list
to list virtual clustersvcluster --version
to display the current vcluster versionvcluster upgrade
to upgrade the vcluster to the latest versionPublished by FabianKramm over 3 years ago