Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.8 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.8 KB

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.

  1. 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
  2. Modify secret-config.yaml as described in the project readme

  3. Use kubectl to apply the manifest:

    kubectl apply -k .
  4. 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:

To install with the overlay just change dirctory in the overlay folder you want to install and hit kubectl apply -k . .