mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
set priorityclass on provisioner pods
set system-cluster-critical priorityclass on provisioner pods. the system-cluster-critical is having lowest priority compared to node-critical. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
2190ca922e
commit
7835609b06
@ -42,6 +42,9 @@ spec:
|
|||||||
topologyKey: "kubernetes.io/hostname"
|
topologyKey: "kubernetes.io/hostname"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "ceph-csi-cephfs.serviceAccountName.provisioner" . }}
|
serviceAccountName: {{ include "ceph-csi-cephfs.serviceAccountName.provisioner" . }}
|
||||||
|
{{- if .Values.provisioner.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.provisioner.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: "{{ .Values.provisioner.provisioner.image.repository }}:{{ .Values.provisioner.provisioner.image.tag }}"
|
image: "{{ .Values.provisioner.provisioner.image.repository }}:{{ .Values.provisioner.provisioner.image.tag }}"
|
||||||
|
@ -39,6 +39,10 @@ nodeplugin:
|
|||||||
# if you are using ceph-fuse client set this value to OnDelete
|
# if you are using ceph-fuse client set this value to OnDelete
|
||||||
updateStrategy: RollingUpdate
|
updateStrategy: RollingUpdate
|
||||||
|
|
||||||
|
# set user created priorityclassName for csi plugin pods. default is
|
||||||
|
# system-node-critical which is highest priority
|
||||||
|
priorityClassName: system-node-critical
|
||||||
|
|
||||||
httpMetrics:
|
httpMetrics:
|
||||||
# Metrics only available for cephcsi/cephcsi => 1.2.0
|
# Metrics only available for cephcsi/cephcsi => 1.2.0
|
||||||
# Specifies whether http metrics should be exposed
|
# Specifies whether http metrics should be exposed
|
||||||
@ -105,6 +109,10 @@ provisioner:
|
|||||||
# Timeout for waiting for creation or deletion of a volume
|
# Timeout for waiting for creation or deletion of a volume
|
||||||
timeout: 60s
|
timeout: 60s
|
||||||
|
|
||||||
|
# set user created priorityclassName for csi provisioner pods. default is
|
||||||
|
# system-cluster-critical which is less priority than system-node-critical
|
||||||
|
priorityClassName: system-cluster-critical
|
||||||
|
|
||||||
httpMetrics:
|
httpMetrics:
|
||||||
# Metrics only available for cephcsi/cephcsi => 1.2.0
|
# Metrics only available for cephcsi/cephcsi => 1.2.0
|
||||||
# Specifies whether http metrics should be exposed
|
# Specifies whether http metrics should be exposed
|
||||||
|
@ -42,6 +42,9 @@ spec:
|
|||||||
topologyKey: "kubernetes.io/hostname"
|
topologyKey: "kubernetes.io/hostname"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "ceph-csi-rbd.serviceAccountName.provisioner" . }}
|
serviceAccountName: {{ include "ceph-csi-rbd.serviceAccountName.provisioner" . }}
|
||||||
|
{{- if .Values.provisioner.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.provisioner.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: "{{ .Values.provisioner.provisioner.image.repository }}:{{ .Values.provisioner.provisioner.image.tag }}"
|
image: "{{ .Values.provisioner.provisioner.image.repository }}:{{ .Values.provisioner.provisioner.image.tag }}"
|
||||||
|
@ -48,6 +48,9 @@ logLevel: 5
|
|||||||
|
|
||||||
nodeplugin:
|
nodeplugin:
|
||||||
name: nodeplugin
|
name: nodeplugin
|
||||||
|
# set user created priorityclassName for csi plugin pods. default is
|
||||||
|
# system-node-critical which is high priority
|
||||||
|
priorityClassName: system-node-critical
|
||||||
# if you are using rbd-nbd client set this value to OnDelete
|
# if you are using rbd-nbd client set this value to OnDelete
|
||||||
updateStrategy: RollingUpdate
|
updateStrategy: RollingUpdate
|
||||||
|
|
||||||
@ -131,6 +134,10 @@ provisioner:
|
|||||||
# which has the deep-flatten feature
|
# which has the deep-flatten feature
|
||||||
# skipForceFlatten: false
|
# skipForceFlatten: false
|
||||||
|
|
||||||
|
# set user created priorityclassName for csi provisioner pods. default is
|
||||||
|
# system-cluster-critical which is less priority than system-node-critical
|
||||||
|
priorityClassName: system-cluster-critical
|
||||||
|
|
||||||
httpMetrics:
|
httpMetrics:
|
||||||
# Metrics only available for cephcsi/cephcsi => 1.2.0
|
# Metrics only available for cephcsi/cephcsi => 1.2.0
|
||||||
# Specifies whether http metrics should be exposed
|
# Specifies whether http metrics should be exposed
|
||||||
|
@ -40,6 +40,7 @@ spec:
|
|||||||
- csi-cephfsplugin-provisioner
|
- csi-cephfsplugin-provisioner
|
||||||
topologyKey: "kubernetes.io/hostname"
|
topologyKey: "kubernetes.io/hostname"
|
||||||
serviceAccount: cephfs-csi-provisioner
|
serviceAccount: cephfs-csi-provisioner
|
||||||
|
priorityClassName: system-cluster-critical
|
||||||
containers:
|
containers:
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.0.4
|
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.0.4
|
||||||
|
@ -40,6 +40,7 @@ spec:
|
|||||||
- csi-rbdplugin-provisioner
|
- csi-rbdplugin-provisioner
|
||||||
topologyKey: "kubernetes.io/hostname"
|
topologyKey: "kubernetes.io/hostname"
|
||||||
serviceAccount: rbd-csi-provisioner
|
serviceAccount: rbd-csi-provisioner
|
||||||
|
priorityClassName: system-cluster-critical
|
||||||
containers:
|
containers:
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.0.4
|
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.0.4
|
||||||
|
Loading…
Reference in New Issue
Block a user