postgres-operator/pkg/util
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 Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00
constants Allow configuring the operator via the YAML manifest. (#326) 2018-07-16 16:20:46 +02:00
filesystems Fix golint warnings 2017-08-01 16:08:56 +02:00
k8sutil Client go upgrade v6 (#352) 2018-08-01 11:08:01 +02:00
patroni Refactoring inspired by gometalinter. (#357) 2018-08-03 11:09:45 +02:00
retryutil Improve the condition check. 2018-02-22 10:13:46 +01:00
ringlog fix comments for ringlogger 2017-09-26 13:12:38 +02:00
teams Tests for initHumanUsers and initinitRobotUsers. 2017-12-04 10:49:25 +01:00
users Some improvements for golint, ineffassign and misspell 2018-02-19 17:46:31 +01:00
volumes Client go upgrade v6 (#352) 2018-08-01 11:08:01 +02:00
util.go Respond to code review 2018-02-20 14:43:02 +01:00
util_test.go Perform manual failover during the scale down 2017-10-16 17:41:23 +02:00