kusk-gateway

by joaquinito2051

Helm chartv0.0.65App v1.5.4

A Helm chart for Kusk Gateway

About this chart

Kusk Gateway

This is the Helm chart for Kusk Gateway installation.

Installation

Dependencies

  • Kubernetes cluster administration rights are required.

  • If you install the chart to your local machine cluster (k3d or minikube), you may need to install and configure MetalLB to handle LoadBalancer type services, otherwise EnvoyFleet service ExternlIP address will be in Pending state forever.

Chart installation

Add repo:

helm repo add kubeshop https://kubeshop.github.io/helm-charts
helm repo update

NOTE: this will add CustomResourceDefinitions and RBAC roles and rolebindings to the cluster. This install requires having cluster administrative rights.

helm install kusk-gateway kubeshop/kusk-gateway -n kusk-system --create-namespace
kubectl rollout status -w deployment/kusk-gateway-manager -n kusk-system

Then install default EnvoyFleet to the cluster:

helm install kusk-gateway-envoyfleet kubeshop/kusk-gateway-envoyfleet -n kusk-system

Deinstallation

NOTE: this will delete CRDs too.

helm delete kusk-gateway-envoyfleet kusk-gateway -n kusk-system
kubectl delete namespace kusk-system

Deploy kusk-gateway with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kusk-gateway 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 chartkusk-gateway is pinned at v0.0.65 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