tailscale-relay

by mvisonneau

Helm chartv0.2.7App v1.68.1

Deploy a tailscale relay on top of kubernetes

About this chart

tailscale-relay

Deploy a tailscale relay on top of kubernetes

Homepage: https://github.com/mvisonneau/tailscale-relay-over-k8s

Maintainers

NameEmailUrl
mvisonneau[email protected]

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
annotationsobject{}Additional annotations to add to all resources
config.authKeystring"foo"
config.variablesobject{}
dnsPolicystring"ClusterFirst"
hostAliasesobject{}allows you to configure custom host aliases
hostNetworkboolfalse
image.pullPolicystring"IfNotPresent"
image.repositorystring"docker.io/mvisonneau/tailscale"
labelsobject{}Additional labels to add to all resources
nodeSelectorobject{}
podAnnotationsobject{}Additional annotations for the pods
podLabelsobject{}Additional labels for the pods
rbacobject{"create":true,"serviceAccount":{"name":"tailscale-relay"},"stateSecretName":"tailscale-relay-state"}If your kubernetes cluster defined the pod security policy, then you need to enable this part, and define clusterRole based on your situation.
rbac.serviceAccountobject{"name":"tailscale-relay"}default name of serviceAccount is "default" if you don't define the name by yourself
rbac.stateSecretNamestring"tailscale-relay-state"name of the secret in which tailscaled will store its state
replicasint1
resourcesobject{}
securityContext.capabilities.add[0]string"NET_ADMIN"
tolerationslist[]

Deploy tailscale-relay with OpenTenant

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