Skip to content

Add support for configuration of priorityClassName - #393

Closed
Bloodyludi wants to merge 1 commit into
apache:masterfrom
tenjin:ll/add_priorityclassname
Closed

Bloodyludi wants to merge 1 commit into
apache:masterfrom
tenjin:ll/add_priorityclassname

Conversation

@Bloodyludi

Copy link
Copy Markdown
Contributor

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 priorityClassName to all deployment and statefulset templates.

Verifying this change

  • Make sure that the change passes the CI checks.

@lhotari

lhotari commented Dec 11, 2023

Copy link
Copy Markdown
Member

@Bloodyludi Please provide more context of why a user would want to twek pod priority and preemption? Does it solve a problem with Pulsar?

@scmi-c8y

Copy link
Copy Markdown

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.

@lhotari

lhotari commented Mar 20, 2026

Copy link
Copy Markdown
Member

@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.

@lhotari

lhotari commented May 4, 2026

Copy link
Copy Markdown
Member

rebased in #685

@lhotari lhotari closed this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants