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
base
directory. 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.yaml
as 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.
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 .
.