「DDNS」- ddns-go

解决方案

第一步、服务部署

helm repo add truecharts https://charts.truecharts.org/
helm repo update

helm pull truecharts/ddns-go                                                    # ddns-go-2.0.32.tgz
helm show values > ddns-go-2.0.32.helm-values.yaml                              #

vim ddns-go-2.0.32.helm-values.yaml
...

helm --namespace infra-dns \
    install ddns-go \
    ./ddns-go-2.0.32.tgz -f ddns-go-2.0.32.helm-values.yaml \
    --create-namespace

helm --namespace infra-dns \
    upgrade ddns-go \
    ./ddns-go-2.0.32.tgz -f ddns-go-2.0.32.helm-values.yaml

第二步、服务访问

kubectl port-forward svc/ddns-go 10168:10168

firefox http://127.0.0.1:10168/

参考文献

jeessy2/ddns-go: 简单好用的 DDNS。自动更新域名解析到公网 IP(支持阿里云、腾讯云 dnspod、Cloudflare、华为云、百度云、porkbun)
ddns-go 2.0.32 · truecharts/truecharts