Commit Graph

3 Commits

Author SHA1 Message Date
Oleksii Kliukin b4fcd24c2a 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.
2018-07-31 15:38:46 +02:00
Oleksii Kliukin 439f4321ee Update dependencies to go-client 6.0.
Intermdiate commit, preserving changes in the glide.yaml and lock.
Rename k8s.io/client-go/pkg/api[s]/ to k8s.io/api.
2018-07-24 16:46:52 +02:00
Oleksii Kliukin 8e99518eeb
Improve behavior on node decomissionining (#184)
* Trigger the node migration on the lack of  the readiness label.

* Examine the node's readiness status on node add.

Make sure we don't miss the not ready node, especially when the
operator is killed during the migration.
2018-01-04 11:53:15 +01:00