Skip to content

Conversation

NickLarsenNZ
Copy link
Member

@NickLarsenNZ NickLarsenNZ commented Sep 16, 2025

Part of stackabletech/issues#765.

  • Allow Pod priorityClassName to be configured.
  • Also disable rather useless yamllint lint. It would otherwise stop example values being added as comments.

Note: listener-operator and secret-operator will be excluded from this (since they have run-mode: custom), and will be rolled out in their own PRs.

Tip

When rolling out, update the changelogs before merging the PRs. Eg:

### Added

- Helm: Allow Pod `priorityClassName` to be configured ([#xxx]).

@NickLarsenNZ NickLarsenNZ self-assigned this Sep 16, 2025
@NickLarsenNZ NickLarsenNZ moved this to Development: In Progress in Stackable Engineering Sep 16, 2025
NickLarsenNZ added a commit to stackabletech/listener-operator that referenced this pull request Sep 16, 2025
@NickLarsenNZ NickLarsenNZ changed the title feat(template/helm): Allow Pod priority, priorityClassName, and preemptionPolicy to be configured feat(template/helm): Allow Pod priorityClassName to be configured Sep 16, 2025
Note: These should be configured in a PriorityClass and the admission controller will stop you setting these on the pod directly.
@NickLarsenNZ
Copy link
Member Author

Tested (rendered nifi-operator). Found out the admission controller will not allow you to set priority and preemptionPolicy directly on a Pod. You must use a PriorityClass.

I have removed these.

@NickLarsenNZ NickLarsenNZ moved this from Development: In Progress to Development: Waiting for Review in Stackable Engineering Sep 16, 2025
@Techassi Techassi moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Sep 16, 2025
@NickLarsenNZ NickLarsenNZ added this pull request to the merge queue Sep 16, 2025
Merged via the queue into main with commit 9937fb4 Sep 16, 2025
2 checks passed
@NickLarsenNZ NickLarsenNZ deleted the allow-setting-pod-priority branch September 16, 2025 09:17
stackable-bot added a commit to stackabletech/kafka-operator that referenced this pull request Sep 16, 2025
…late run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
stackable-bot added a commit to stackabletech/commons-operator that referenced this pull request Sep 16, 2025
…late run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
stackable-bot added a commit to stackabletech/druid-operator that referenced this pull request Sep 16, 2025
…late run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
stackable-bot added a commit to stackabletech/secret-operator that referenced this pull request Sep 16, 2025
…late run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
stackable-bot added a commit to stackabletech/superset-operator that referenced this pull request Sep 16, 2025
…late run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
stackable-bot added a commit to stackabletech/airflow-operator that referenced this pull request Sep 16, 2025
…late run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
stackable-bot added a commit to stackabletech/nifi-operator that referenced this pull request Sep 16, 2025
…late run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
stackable-bot added a commit to stackabletech/listener-operator that referenced this pull request Sep 16, 2025
…late run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
stackable-bot added a commit to stackabletech/hbase-operator that referenced this pull request Sep 16, 2025
…late run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
github-merge-queue bot pushed a commit to stackabletech/secret-operator that referenced this pull request Sep 16, 2025
chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
github-merge-queue bot pushed a commit to stackabletech/listener-operator that referenced this pull request Sep 16, 2025
chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
github-merge-queue bot pushed a commit to stackabletech/commons-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/opa-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/zookeeper-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/opensearch-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/superset-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
stackable-bot added a commit to stackabletech/spark-k8s-operator that referenced this pull request Sep 16, 2025
…late run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)
github-merge-queue bot pushed a commit to stackabletech/trino-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/nifi-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/hbase-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/hive-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/kafka-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/hdfs-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/druid-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/airflow-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/spark-k8s-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/zookeeper-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/trino-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/superset-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/nifi-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/commons-operator that referenced this pull request Sep 16, 2025
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4

Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in <stackabletech/operator-templating#551>).)

* chore: Update changelog

---------

Co-authored-by: Nick Larsen <[email protected]>
github-merge-queue bot pushed a commit to stackabletech/listener-operator that referenced this pull request Sep 16, 2025
…river DaemonSet to be configured independently (#334)

* chore: Add docs to run modes

* chore(helm)!: Rename resources, labels, and containers

Note: This tries to align as well as possible to the rather scattered and vague CSI terminology.

The charts should be uninstalled and reinstalled to ensure no orphaned and conflicting resources remain.

This could impact monitoring setups that depend on the old resource names, labels, and container names.

* chore(helm)!: Use with to set context for the Deployment/DaemonSet.

BREAKING: Helm values that were under `csiNodeDriverRegistrar` are now under `csiNodeDriver`.
The reason being is that the "registrar" is only one of the containers in the DaemonSet for the Node Driver.

* chore(helm): Rename csi-provisioner deployment filename

* chore(helm)!: Separate configs for the Provisioner Deployment

* chore(helm)!: Separate configs for the NodeDriver DaemonSet

* chore(helm): Show example for overriding the operator image tag

* chore(helm): Remove "with" directive because Deployment/DaemonSet containers are not optional

NOTE: These were incorrectly introduced in 463592a while trying to hash out the structure of the values.

* feat(helm): Allow Pod priority, priorityClassName, and preemptionPolicy to be configured

* chore: Update changelog

* chore: Disable yamllint for comments-indentation

This would be rolled out by stackabletech/operator-templating#551

* fix(helm): Remove unconfigurable Pod fields

These were introduced in 010207b. Only priorityClassName is valid.

* chore: Update changelog

* fix(helm): Rename nodeRegistrar to nodeDriverRegistrar for consistency

* Apply suggestions from code review

Co-authored-by: Techassi <[email protected]>

---------

Co-authored-by: Techassi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Development: In Review
Development

Successfully merging this pull request may close these issues.

2 participants