mirror of
https://github.com/beclab/Olares
synced 2026-05-24 09:18:23 +00:00
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:
parent
bef61309a3
commit
9d6834faa1
1 changed files with 9 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue