Softly prefer large CPU workers for Authentik worker
This commit is contained in:
1 parent
b9ad237fc3
commit
d46cd97c45
2 files changed
+15
No files matched your search
@@ -37,3 +37,8 @@ and replica checks; it derives the expected version from the Argo Application.
|
||||
The Kubernetes Dashboard provider is attached to the embedded outpost in the
|
||||
Authentik database. This avoids a blueprint replacing the embedded outpost's
|
||||
complete provider list, because other applications also own providers there.
|
||||
|
||||
## Worker placement
|
||||
|
||||
The worker softly prefers nodes labeled `capacity.brunner.ninja/cpu-class=large`
|
||||
to use spare CPU. It can run on any worker when those nodes are unavailable.
|
||||
@@ -91,6 +91,16 @@ server:
|
||||
startupProbe:
|
||||
timeoutSeconds: 10
|
||||
worker:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: capacity.brunner.ninja/cpu-class
|
||||
operator: In
|
||||
values:
|
||||
- large
|
||||
resources:
|
||||
requests:
|
||||
cpu: 150m
|
||||
|
||||
Reference in new issue
Block a user