Skip to content

Commit 3c3e48b

Browse files
iceman2077mandre
authored andcommitted
add priorityClassName to openstack-cloud-controller-manager helm chart (kubernetes#2210)
1 parent a1e529e commit 3c3e48b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

charts/openstack-cloud-controller-manager/templates/daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ spec:
9696
initContainers: {{ toYaml .Values.extraInitContainers | nindent 6 }}
9797
{{- end }}
9898
hostNetwork: true
99+
{{- if .Values.priorityClassName }}
100+
priorityClassName: {{ .Values.priorityClassName }}
101+
{{- end }}
99102
volumes:
100103
- name: cloud-config-volume
101104
secret:

charts/openstack-cloud-controller-manager/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ cloudConfig:
9999
blockStorage:
100100
metadata:
101101

102+
## Pod priority settings
103+
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
104+
priorityClassName:
105+
102106
# The following three volumes are required to use all OCCM controllers,
103107
# but might not be needed if you just use a specific controller
104108
# Additional volumes that should be available to the pods:

0 commit comments

Comments
 (0)