mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 01:32:48 +02:00
Compare Postgres pod priority on Sync (#1144)
* compare Postgres pod priority on Sync Co-authored-by: Sergey Dudoladov <sergey.dudoladov@zalando.de>
This commit is contained in:
co-authored by
Sergey Dudoladov
parent
ab95eaa6ef
commit
2a21cc4393
@@ -85,6 +85,7 @@ data:
|
||||
pod_service_account_name: "postgres-pod"
|
||||
# pod_service_account_role_binding_definition: ""
|
||||
pod_terminate_grace_period: 5m
|
||||
# pod_priority_class_name: "postgres-pod-priority"
|
||||
# postgres_superuser_teams: "postgres_superusers"
|
||||
# protected_role_names: "admin"
|
||||
ready_wait_interval: 3s
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: scheduling.k8s.io/v1
|
||||
description: 'This priority class must be used only for databases controlled by the
|
||||
Postgres operator'
|
||||
kind: PriorityClass
|
||||
metadata:
|
||||
labels:
|
||||
application: postgres-operator
|
||||
name: postgres-pod-priority
|
||||
preemptionPolicy: PreemptLowerPriority
|
||||
globalDefault: false
|
||||
value: 1000000
|
||||
Reference in New Issue
Block a user