mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-03-31 06:24:00 -04:00
Kubernetes
This directory has example plain Kubernetes manifests for running DDNS-updater in Kubernetes.
The Manifests have additional Kustomize overlays, which can be used to add an ingress-route to ddns-updater.
-
Download the template files from the
basedirectory. For example with:curl -O https://raw.githubusercontent.com/qdm12/ddns-updater/master/k8s/base/deployment.yaml curl -O https://raw.githubusercontent.com/qdm12/ddns-updater/master/k8s/base/secret-config.yaml curl -O https://raw.githubusercontent.com/qdm12/ddns-updater/master/k8s/base/service.yaml curl -O https://raw.githubusercontent.com/qdm12/ddns-updater/master/k8s/base/kustomization.yaml -
Modify
secret-config.yamlas described in the project readme -
Use kubectl to apply the manifest:
kubectl apply -k . -
Connect the the web UI with a kubectl port-forward
kubectl port-forward svc/ddns-updater 8080:80
The web UI should now be available at http://localhost:8080.
Advanced usage
Kustomize overlays can extend the installation:
- overlay/with-ingress - Basic HTTP Ingress ressource
- overlay/with-ingress-tls-cert-manager - Basic HTTPS Ingress ressource which uses cert-manager to create certificates.
To install with the overlay just change dirctory in the overlay folder you want to install and hit kubectl apply -k . .