The application reads its configuration from config.yaml. The configuration file supports the following fields:
interval: Interval in seconds for the application to run its tasks. Default is5.resolvConf: Path to theresolv.conffile. Default is/systemd-resolve/resolv.conf.corednsConfDir: Directory for CoreDNS configuration files. Default is/coredns/conf/.corednsCorefile: Path to the CoreDNSCorefile. Default is/etc/coredns/Corefile.
docker buildx build --platform linux/amd64 --tag coredns-reload:v1.0 . --loaddocker save coredns-reload -o image.tar- As k3s manifest:
- add
--disable=corednsarg to k3s service and restart it; - if a cluster DNS IP is used, udpate the service
clusterIPondeploy/k3s-manifest.yaml - copy the
deploy/k3s-manifest.yamlto/var/lib/rancher/k3s/server/manifests/