mirror of
https://github.com/beclab/Olares
synced 2026-05-24 09:18:23 +00:00
feat(headscale): let headscale run on the master node like l4-bfl-proxy (#1498)
Co-authored-by: 0x7fffff92 <0x7fffff92@example.com>
This commit is contained in:
parent
cfb54fb974
commit
5df379f286
1 changed files with 12 additions and 0 deletions
|
|
@ -85,6 +85,18 @@ spec:
|
|||
labels:
|
||||
app: headscale
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- preference:
|
||||
matchExpressions:
|
||||
- key: kubernetes.io/os
|
||||
operator: In
|
||||
values:
|
||||
- linux
|
||||
- key: node-role.kubernetes.io/master
|
||||
operator: Exists
|
||||
weight: 10
|
||||
serviceAccountName: tailscale
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
|
|
|
|||
Loading…
Reference in a new issue