kuttle

by okgolove

Helm chartv2.0.0App 1.0.0Verified publisher

Kuttle is a wrapper for sshuttle (VPN over SSH)

About this chart

kuttle

kuttle is a Kubernetes wrapper for sshuttle.

TL;DR;

## Add the okgolove Helm repository
$ helm repo add okgolove https://okgolove.github.io/helm-charts/
$ helm install okgolove/kuttle

Introduction

This chart bootstraps a deployment for kuttle on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.9+ with Beta APIs enabled

Installing the Chart

To install the chart with the release name my-release:

$ helm repo add okgolove https://okgolove.github.io/helm-charts/
$ helm install okgolove/kuttle

The command deploys a pod for kuttle on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

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

Configuration

The following table lists the configurable parameters of the kuttle chart and their default values.

ParameterDescriptionDefault
image.repositoryimage for kuttle (usually python)python
image.tagimage tag3.7-alpine
pullPolicyImage pull policyIfNotPresent
nodeSelectorNode labels for pod assignment{}
tolerationsList of node taints to tolerate[]
affinityMap of node/pod affinities{}
resourcesCPU/Memory resource requests/limits{}

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install --name my-release \
  --set image.tag=3.6,image.repository.repository=my-python \
    okgolove/kuttle

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml okgolove/kuttle

Tip: You can use the default values.yaml

Deploy kuttle with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kuttle 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 chartkuttle is pinned at v2.0.0 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