dynamic-ip-loadbalancer-controller

by itsmethemojo

Helm chartv0.1.0deprecated_GPL-3.0+Verified publisher

a lightweigt kubernetes component for keeping the external-ip of your loadbalancer services up-to-date when running a kubernetes cluster at home behind a router with a dynamic ip

About this chart

dynamic-ip-loadbalancer-controller

a lightweigt kubernetes component for keeping the external-ip of your loadbalancer services up-to-date when running a kubernetes cluster at home behind a router with a dynamic ip

additional links

update docs

docker run --rm -v $(pwd):/app -w/app jnorwood/helm-docs -t helm-docs-template.gotmpl

Source Code

Requirements

RepositoryNameVersion
https://itsmethemojo.github.io/helm-charts/app(basic-web-app)1.2.1

Values

KeyTypeDefaultDescription
app.command[0]string"bash"
app.command[1]string"/scripts/update_ip.sh"
app.env.DETERMINE_EXERNAL_IP_INTERVALLstring"450"intervall the current external ip is fetched via https://ifconfig.me/ip
app.env.KUBECTL_BINARY_ARCHstring"amd64"architecture kubectl binary to be downloaded when starting the container, https://dl.k8s.io/release/v$KUBECTL_BINARY_VERSION/bin/linux/$KUBECTL_BINARY_ARCH/kubectl
app.env.KUBECTL_BINARY_VERSIONstring"1.33.3"version of kubectl binary to be downloaded when sarting the container, https://dl.k8s.io/release/v$KUBECTL_BINARY_VERSION/bin/linux/$KUBECTL_BINARY_ARCH/kubectl
app.extraVolumeMounts[0].mountPathstring"/scripts"
app.extraVolumeMounts[0].namestring"scripts"
app.extraVolumes[0].configMap.namestring"external-ip-updater"
app.extraVolumes[0].namestring"scripts"
app.image.repositorystring"buildpack-deps"
app.image.tagstring"curl"
app.livenessProbestring""
app.readinessProbestring""
app.service.enabledboolfalse
app.serviceAccount.createboolfalse
app.serviceAccount.namestring"external-ip-updater"

Deploy dynamic-ip-loadbalancer-controller with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dynamic-ip-loadbalancer-controller 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 chartdynamic-ip-loadbalancer-controller is pinned at v0.1.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