vcluster-eks

by Loft Labs, Inc.

Helm chartv0.19.10App 0.19.10Verified publisher

vcluster - Virtual Kubernetes Clusters (eks)

About this chart

vcluster (eks)

This helm chart is deprecated as using EKS as the Kubernetes distribution for vCluster is deprecated. We recommend using the vanilla Kubernetes distribution instead of EKS. Reminder: The Kubernetes distribution of the virtual cluster doesn't need to match the the distribution of your host cluster. You can use any distribution of vCluster to deploy vCluster on EKS clusters.

GitHub • Website • Quickstart • Documentation • Blog • Twitter • Slack

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.

Prerequisites

  • Kubernetes 1.18+
  • Helm 3+

Get Helm Repository Info

helm repo add loft-sh https://charts.loft.sh
helm repo update

See helm repo for command documentation.

Install Helm Chart

helm upgrade [RELEASE_NAME] loft-sh/vcluster-eks -n [RELEASE_NAMESPACE] --create-namespace --install

See vcluster docs for configuration options.

See helm upgrade for command documentation.

Connect to the vcluster

In order to connect to the installed vcluster, please install vcluster cli and run:

vcluster connect [RELEASE_NAME] -n [RELEASE_NAMESPACE]

Uninstall Helm Chart

helm uninstall [RELEASE_NAME]

This removes all the Kubernetes components associated with the chart and deletes the release.

See helm uninstall for command documentation.

Why Virtual Kubernetes Clusters?

  • Cluster Scoped Resources: much more powerful than simple namespaces (virtual clusters allow users to use CRDs, namespaces, cluster roles etc.)
  • Ease of Use: usable in any Kubernetes cluster and created in seconds either via a single command or cluster-api
  • Cost Efficient: much cheaper and efficient than "real" clusters (single pod and shared resources just like for namespaces)
  • Lightweight: built upon the ultra-fast k3s distribution with minimal overhead per virtual cluster (other distributions work as well)
  • Strict isolation: complete separate Kubernetes control plane and access point for each vcluster while still being able to share certain services of the underlying host cluster
  • Cluster Wide Permissions: allow users to install apps which require cluster-wide permissions while being limited to actually just one namespace within the host cluster
  • Great for Testing: allow you to test different Kubernetes versions inside a single host cluster which may have a different version than the virtual clusters

Learn more on www.vcluster.com.

Learn more in the documentation.

Deploy vcluster-eks with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has vcluster-eks on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartvcluster-eks is pinned at v0.19.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply