postgres-operator/pkg/cluster
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
..
cluster.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00
cluster_test.go Client go upgrade v6 (#352) 2018-08-01 11:08:01 +02:00
exec.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00
filesystems.go Make use of kubernetes client-go v4 2017-07-25 15:25:17 +02:00
k8sres.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00
k8sres_test.go Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
pg.go Refactoring inspired by gometalinter. (#357) 2018-08-03 11:09:45 +02:00
pod.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00
resources.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00
sync.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00
types.go add comments on roles 2017-09-11 17:44:32 +02:00
util.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00
volumes.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00