Priority classes

Priority Classes

The Ascender and Postgres pods can be assigned a custom PriorityClass to rank their importance compared to other pods in your cluster, which determines which pods get evicted first if resources are running low. First, create your PriorityClass if needed. Then set the name of your priority class to the control plane and postgres pods as shown below.

---
apiVersion: ascender.ansible.com/v1beta1
kind: Ascender
metadata:
  name: ascender-demo
spec:
  ...
  control_plane_priority_class: ascender-demo-high-priority
  postgres_priority_class: ascender-demo-medium-priority