Add support for configuration of priorityClassName#393
Add support for configuration of priorityClassName#393Bloodyludi wants to merge 1 commit intoapache:masterfrom
Conversation
|
@Bloodyludi Please provide more context of why a user would want to twek pod priority and preemption? Does it solve a problem with Pulsar? |
|
Hi, I'm not the OP but our use case is that we define some components of our application (including Pulsar) as "critical", because the application will not operate without them. Setting a priority class would allow us to prioritise scheduling of Pulsar (and other critical component) pods ahead pf optional components and make our deployments more robust during upgrades and configuration changes. So, not really a "Pulsar problem" but more about prioritising some important components ahead of others. We would certainly welcome a change like this. |
|
@scmi-c8y Please rebase the changes since there are conflicts. It might be easier to redo the changes since there are a lot of merge conflicts. |
Motivation
Allow users to configure custom pod priority and preemption by adding the option to set
priorityClassName.https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
Modifications
Added
priorityClassNameto all deployment and statefulset templates.Verifying this change