mirror of
https://github.com/beclab/Olares
synced 2026-05-24 09:18:23 +00:00
olares: add priority class to some system services (#1843)
* olares: add priority class to some system services * fix: add system-cluster-critical priority for tapr middleware --------- Co-authored-by: hys <hysyeah@gmail.com>
This commit is contained in:
parent
710970851d
commit
f3d1e2fca2
4 changed files with 5 additions and 0 deletions
|
|
@ -402,6 +402,7 @@ spec:
|
|||
spec:
|
||||
serviceAccount: os-internal
|
||||
serviceAccountName: os-internal
|
||||
priorityClassName: "system-cluster-critical"
|
||||
hostNetwork: true
|
||||
containers:
|
||||
- name: image-service
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ spec:
|
|||
spec:
|
||||
serviceAccount: os-internal
|
||||
serviceAccountName: os-internal
|
||||
priorityClassName: "system-cluster-critical"
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
runAsNonRoot: false
|
||||
|
|
|
|||
|
|
@ -198,6 +198,7 @@ spec:
|
|||
spec:
|
||||
serviceAccount: os-internal
|
||||
serviceAccountName: os-internal
|
||||
priorityClassName: "system-cluster-critical"
|
||||
volumes:
|
||||
- name: userspace-dir
|
||||
hostPath:
|
||||
|
|
@ -288,6 +289,7 @@ spec:
|
|||
app: search3monitor
|
||||
spec:
|
||||
serviceAccountName: os-internal
|
||||
priorityClassName: "system-cluster-critical"
|
||||
containers:
|
||||
- name: search3monitor
|
||||
image: beclab/search3monitor:v0.0.70
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ spec:
|
|||
# terminationGracePeriodSeconds: 0
|
||||
serviceAccountName: os-internal
|
||||
serviceAccount: os-internal
|
||||
priorityClassName: "system-cluster-critical"
|
||||
volumes:
|
||||
- name: dbdata-dir
|
||||
hostPath:
|
||||
|
|
|
|||
Loading…
Reference in a new issue