feat(tailscale): let tailscale run on the node where headscale is run… (#1479)

feat(tailscale): let tailscale run on the node where headscale is running

Co-authored-by: 0x7fffff92 <0x7fffff92@example.com>
This commit is contained in:
0x7fffff92 2025-06-26 00:03:51 +08:00 committed by GitHub
parent bef61309a3
commit 9d6834faa1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -247,6 +247,15 @@ spec:
labels:
app: tailscale
spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
app: headscale
topologyKey: kubernetes.io/hostname
weight: 100
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
containers: