mirror of
https://github.com/beclab/Olares
synced 2026-05-23 16:58:26 +00:00
fix(headscale): Make the Affinity Rule Strict (#1540)
* fix(headscale): Make the Affinity Rule Strict * fix(headscale): make ci happy --------- Co-authored-by: 0x7fffff92 <0x7fffff92@example.com>
This commit is contained in:
parent
ee567c270c
commit
2af86e161a
1 changed files with 4 additions and 5 deletions
|
|
@ -87,16 +87,15 @@ spec:
|
|||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- preference:
|
||||
matchExpressions:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/os
|
||||
operator: In
|
||||
values:
|
||||
- linux
|
||||
- key: node-role.kubernetes.io/master
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: Exists
|
||||
weight: 10
|
||||
serviceAccountName: tailscale
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
|
|
|
|||
Loading…
Reference in a new issue