Skip to content

Commit 806fc29

Browse files
docs: external dns config
1 parent 9cf6e4e commit 806fc29

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/RUN_PROD.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,18 @@ ingress:
117117
className: "traefik"
118118
```
119119

120+
### ExternalDNS
121+
122+
If your cluster provides [external-dns](https://github.com/kubernetes-sigs/external-dns) to expose ingresses and services, you can configured the ingress using a prefered IP (probably provided by [kube-vip](https://kube-vip.io/) ). Usually set the IP on the ingress and external DNS should automatically creates the entry otherwise you can add the following annotations:
123+
124+
```yaml
125+
ingress:
126+
annotations:
127+
external-dns.alpha.kubernetes.io/hostname: "my.hostname"
128+
external-dns.alpha.kubernetes.io/target: "prefered-ip"
129+
loadBalancerIP: "prefered-ip"
130+
```
131+
120132
## Sandbox
121133

122134
The Sandbox needs to be an object store. We highly recommend that you use one provided by your institute.

0 commit comments

Comments
 (0)