diff --git a/charts/vngcloud-blockstorage-csi-driver/Chart.yaml b/charts/vngcloud-blockstorage-csi-driver/Chart.yaml index a59b1e8..2e0f25a 100644 --- a/charts/vngcloud-blockstorage-csi-driver/Chart.yaml +++ b/charts/vngcloud-blockstorage-csi-driver/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: 1.2.3 +appVersion: 1.2.4 name: vngcloud-blockstorage-csi-driver description: A Helm chart for VngCloud BlockStorage CSI Driver -version: 1.0.5 +version: 1.0.6 kubeVersion: ">=1.26.12" home: https://github.com/vngcloud/vngcloud-blockstorage-csi-driver sources: diff --git a/charts/vngcloud-blockstorage-csi-driver/templates/priorityclass.yaml b/charts/vngcloud-blockstorage-csi-driver/templates/priorityclass.yaml new file mode 100644 index 0000000..4aabb7c --- /dev/null +++ b/charts/vngcloud-blockstorage-csi-driver/templates/priorityclass.yaml @@ -0,0 +1,7 @@ +apiVersion: scheduling.k8s.io/v1 +description: "Scheduling the vngcloud-blockstorage-csi-driver to be run on the node with the lowest priority" +kind: PriorityClass +metadata: + name: vngcloud-blockstorage-csi-driver-priority-class +preemptionPolicy: PreemptLowerPriority +value: -100 \ No newline at end of file diff --git a/charts/vngcloud-blockstorage-csi-driver/values.yaml b/charts/vngcloud-blockstorage-csi-driver/values.yaml index b2e62f6..7f6dcc0 100644 --- a/charts/vngcloud-blockstorage-csi-driver/values.yaml +++ b/charts/vngcloud-blockstorage-csi-driver/values.yaml @@ -245,7 +245,7 @@ controller: deploymentAnnotations: {} podAnnotations: {} podLabels: {} - priorityClassName: system-cluster-critical + priorityClassName: vngcloud-blockstorage-csi-driver-priority-class region: replicaCount: 2 revisionHistoryLimit: 10 @@ -322,7 +322,7 @@ node: kubeletPath: /var/lib/kubelet loggingFormat: text logLevel: 5 - priorityClassName: + priorityClassName: vngcloud-blockstorage-csi-driver-priority-class additionalArgs: [] affinity: {} nodeSelector: {}