github loft-sh/vcluster v0.5.0-alpha.5

latest releases: v0.21.0, v0.21.0-beta.11, v0.21.0-beta.10...
pre-release2 years ago

Support for k0s and vanilla k8s virtual Kubernetes Clusters

vcluster now supports creating k0s and vanilla k8s virtual Kubernetes clusters instead of k3s. You can now specify the target virtual Kubernetes cluster distribution via the --distro flag in vcluster create. For vanilla k8s there is now also a high availability mode.

Examples:

# Create a virtual k3s Kubernetes cluster
vcluster create my-vcluster -n my-vcluster

# Create a virtual k0s Kubernetes cluster 
vcluster create my-vcluster -n my-vcluster --distro k0s

# Create a virtual k8s Kubernetes cluster with kubernetes version v1.20
vcluster create my-vcluster -n my-vcluster --distro k8s --kubernetes-version v1.20

Other Changes

  • cli: Deprecation of vcluster create flags --release-values and --k3s-image. Use --extra-values instead
  • cli: Changed default value of vcluster create flag --upgrade from true to false. vcluster will not try to upgrade an existing vcluster by default anymore
  • cli: New flag --kubernetes-version for vcluster create to override the kubernetes version used for creating the vcluster.
  • chart: New helm chart to deploy vcluster with k0s instead of k3s (#167) (see docs for more information)
  • chart: New helm chart to deploy vcluster with vanilla k8s instead of k3s (see docs for more information)
  • chart: Added support for rootless mode (see docs for more information)
  • chart: Added support for openshift v4 for k3s distro
  • syncer: New flag --name that specifies the vcluster name (replaces --suffix)
  • syncer: Deprecated flag --suffix, use --name instead
  • syncer: Flag --service-name now defaults to --name if omitted
  • syncer: Flag --set-owner now defaults to true and vcluster does not fail if setting the owner is not possible
  • syncer: Fixed an issue where vcluster would return a conflict error instead of already exists during service create
  • syncer: Fixed an error where vcluster would not correctly sync nodes and create node services (#214)
  • syncer: Removed flag --service-namespace as this would break vcluster if it's not the same value as current vcluster namespace
  • syncer: Fixed an issue where glusterfs volume endpoints would not get correctly translated
  • syncer: Fixed an issue where vcluster couldn't find the current pod if the flag --target-namespace was provided (#214)
  • syncer: New flag --leader-elect that defaults to false to avoid unnecessary leader election
  • syncer: vcluster will now deploy coredns itself instead of depending on k3s. This makes it possible to customize the coredns deployment (e.g. for rootless mode) and support other kubernetes distributions besides k3s.
  • build: Removed file name from the sha256 files (thanks @developer-guy)

Don't miss a new vcluster release

NewReleases is sending notifications on new releases.