Is it possible to set priorityClassName for Trident pods when installing via Helm?
Applies to
- Trident
- Helm installation
Answer
No, it is not possible to set
priorityClassName for Trident pods when installing via Helm.Notes:
- From Trident 22.07 onwards, the
trident-node-linuxandtrident-node-windowsDaemonSets havepriorityClassName: system-node-criticalset by default. - The
trident-controllerandtrident-operatorDeployments do not havepriorityClassNameset by default. - The
priorityClassNamefor thetrident-controllerandtrident-operatorDeployments can be set using the following commands after the installation:kubectl patch deployment -n trident trident-controller --type='json' -p='[{"op": "add", "path": "/spec/template/spec/priorityClassName", "value": "system-node-critical"}]'kubectl patch deployment -n trident trident-operator --type='json' -p='[{"op": "add", "path": "/spec/template/spec/priorityClassName", "value": "system-node-critical"}]
