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:
eball 2025-09-18 21:25:27 +08:00 committed by GitHub
parent 710970851d
commit f3d1e2fca2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 0 deletions

View file

@ -402,6 +402,7 @@ spec:
spec:
serviceAccount: os-internal
serviceAccountName: os-internal
priorityClassName: "system-cluster-critical"
hostNetwork: true
containers:
- name: image-service

View file

@ -52,6 +52,7 @@ spec:
spec:
serviceAccount: os-internal
serviceAccountName: os-internal
priorityClassName: "system-cluster-critical"
securityContext:
runAsUser: 0
runAsNonRoot: false

View file

@ -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

View file

@ -41,6 +41,7 @@ spec:
# terminationGracePeriodSeconds: 0
serviceAccountName: os-internal
serviceAccount: os-internal
priorityClassName: "system-cluster-critical"
volumes:
- name: dbdata-dir
hostPath: