mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
20 lines
662 B
YAML
20 lines
662 B
YAML
|
|
{{- if .Values.zfsController.priorityClass.create }}
|
||
|
|
apiVersion: scheduling.k8s.io/v1
|
||
|
|
kind: PriorityClass
|
||
|
|
metadata:
|
||
|
|
name: {{ template "zfslocalpv.zfsController.priorityClassName" . }}
|
||
|
|
value: 900000000
|
||
|
|
globalDefault: false
|
||
|
|
description: "This priority class should be used for the CStor CSI driver controller deployment only."
|
||
|
|
{{- end }}
|
||
|
|
---
|
||
|
|
{{- if .Values.zfsNode.priorityClass.create }}
|
||
|
|
apiVersion: scheduling.k8s.io/v1
|
||
|
|
kind: PriorityClass
|
||
|
|
metadata:
|
||
|
|
name: {{ template "zfslocalpv.zfsNode.priorityClassName" . }}
|
||
|
|
value: 900001000
|
||
|
|
globalDefault: false
|
||
|
|
description: "This priority class should be used for the CStor CSI driver node deployment only."
|
||
|
|
{{- end }}
|