mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-04 14:21:33 +02:00
* docs: add BIND9 on Kubernetes with Kind tutorial for rfc2136 provider Add a step-by-step guide for deploying BIND9 and ExternalDNS inside a local Kind cluster, covering forward (A) and reverse (PTR) DNS zones with TSIG authentication. Signed-off-by: Seena Fallah <seenafallah@gmail.com> * docs: apply suggestions for bind9 tutorial Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com> --------- Signed-off-by: Seena Fallah <seenafallah@gmail.com> Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
35 lines
989 B
YAML
35 lines
989 B
YAML
# ref: https://kind.sigs.k8s.io/docs/user/quick-start/
|
|
# https://kind.sigs.k8s.io/docs/user/configuration/#extra-port-mappings
|
|
|
|
# kind create cluster --config=docs/snippets/tutorials/rfc2136/kind.yaml
|
|
# kind delete cluster --name rfc2136-bind9
|
|
# kubectl cluster-info --context kind-rfc2136-bind9
|
|
# kubectl get nodes -o wide
|
|
---
|
|
kind: Cluster
|
|
apiVersion: kind.x-k8s.io/v1alpha4
|
|
name: rfc2136-bind9
|
|
networking:
|
|
apiServerAddress: 127.0.0.1
|
|
apiServerPort: 6443
|
|
nodes:
|
|
- role: control-plane
|
|
image: kindest/node:v1.35.1
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: InitConfiguration
|
|
nodeRegistration:
|
|
kubeletExtraArgs:
|
|
node-labels: "ingress-ready=true"
|
|
extraPortMappings:
|
|
- containerPort: 30053 # BIND9 DNS NodePort
|
|
hostPort: 5354 # exposed on host
|
|
listenAddress: "0.0.0.0"
|
|
protocol: TCP
|
|
- containerPort: 30053
|
|
hostPort: 5354
|
|
listenAddress: "0.0.0.0"
|
|
protocol: UDP
|
|
- role: worker
|
|
image: kindest/node:v1.35.1
|