postgres-operator/pkg/util/config
Oleksii Kliukin 59f0c5551e
Allow configuring pod priority globally and per cluster. (#353)
* Allow configuring pod priority globally and per cluster.

Allow to specify pod priority class for all pods managed by the operator,
as well as for those belonging to individual clusters.

Controlled by the pod_priority_class_name operator configuration
parameter and the podPriorityClassName manifest option.

See https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
for the explanation on how to define priority classes since Kubernetes 1.8.

Some import order changes are due to go fmt.
Removal of OrphanDependents deprecated field.

Code review by @zerg-junior
2018-08-03 14:03:37 +02:00
..
config.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00
config_test.go Warn about attempts to use escape quotes. 2017-11-22 10:43:35 +01:00
crd_config.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00
util.go Warn about attempts to use escape quotes. 2017-11-22 10:43:35 +01:00