Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ Description=Run AKS LocalDNS hosts setup periodically
[Timer]
# Run immediately on boot
OnBootSec=0
# Refresh every 15 minutes. AKS critical FQDN IPs can change due to load balancer
# rotation, Traffic Manager failover, or regional DNS updates. 15 minutes balances
# freshness against unnecessary DNS traffic — stale IPs would cause the hosts plugin
# to serve unreachable addresses until the next refresh.
OnUnitActiveSec=15min
# Refresh 10 seconds after each run completes. AKS critical FQDN IPs can change
# due to load balancer rotation, Traffic Manager failover, or regional DNS updates.
# Frequent refreshes keep stale IPs from causing the hosts plugin to serve
Comment on lines 5 to +9
# unreachable addresses for long.
OnUnitInactiveSec=10s
# De-synchronize nodes so refreshes do not all hit DNS at the same time.
RandomizedDelaySec=5s
# Timer accuracy (how much systemd can delay)
AccuracySec=1min
AccuracySec=1s

[Install]
WantedBy=timers.target
Loading