From 4812b80ffc5e7fefef67ce533b5e4fc41dfc9e08 Mon Sep 17 00:00:00 2001 From: Laszlo Rafael <rlacko99@gmail.com> Date: Sun, 21 Aug 2022 18:21:53 +0200 Subject: [PATCH] Add infra-critical priorityClass to vsphere-cpi-csi --- infra/vsphere-cpi-csi/templates/cloud-provider.yaml | 1 + .../templates/vsphere-csi-controller-deployment.yaml | 1 + infra/vsphere-cpi-csi/templates/vsphere-csi-node-ds.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/infra/vsphere-cpi-csi/templates/cloud-provider.yaml b/infra/vsphere-cpi-csi/templates/cloud-provider.yaml index 4d74254..9dcc8cb 100644 --- a/infra/vsphere-cpi-csi/templates/cloud-provider.yaml +++ b/infra/vsphere-cpi-csi/templates/cloud-provider.yaml @@ -46,6 +46,7 @@ spec: securityContext: runAsUser: 0 serviceAccountName: cloud-controller-manager + priorityClassName: infra-critical containers: - name: vsphere-cloud-controller-manager image: {{ .Values.images.vsphereCloudControllerManager }} diff --git a/infra/vsphere-cpi-csi/templates/vsphere-csi-controller-deployment.yaml b/infra/vsphere-cpi-csi/templates/vsphere-csi-controller-deployment.yaml index b6f6de0..a4f53a4 100644 --- a/infra/vsphere-cpi-csi/templates/vsphere-csi-controller-deployment.yaml +++ b/infra/vsphere-cpi-csi/templates/vsphere-csi-controller-deployment.yaml @@ -33,6 +33,7 @@ spec: effect: NoExecute {{- end }} dnsPolicy: "Default" + priorityClassName: infra-critical containers: - name: csi-attacher image: {{ .Values.images.csiAttacher }} diff --git a/infra/vsphere-cpi-csi/templates/vsphere-csi-node-ds.yaml b/infra/vsphere-cpi-csi/templates/vsphere-csi-node-ds.yaml index 1ae62d3..bd9bd9f 100644 --- a/infra/vsphere-cpi-csi/templates/vsphere-csi-node-ds.yaml +++ b/infra/vsphere-cpi-csi/templates/vsphere-csi-node-ds.yaml @@ -20,6 +20,7 @@ spec: serviceAccountName: vsphere-csi-node hostNetwork: true dnsPolicy: "ClusterFirstWithHostNet" + priorityClassName: infra-critical containers: - name: node-driver-registrar image: {{ .Values.images.nodeDriverRegistrar }} -- GitLab