diff --git a/deployment/helm/ditto/Chart.yaml b/deployment/helm/ditto/Chart.yaml index 09243ed44f..533ae484fa 100644 --- a/deployment/helm/ditto/Chart.yaml +++ b/deployment/helm/ditto/Chart.yaml @@ -16,7 +16,7 @@ description: | A digital twin is a virtual, cloud based, representation of his real world counterpart (real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations etc). type: application -version: 3.3.7 # chart version is effectively set by release-job +version: 3.3.8 # chart version is effectively set by release-job appVersion: 3.3.6 keywords: - iot-chart diff --git a/deployment/helm/ditto/templates/connectivity-deployment.yaml b/deployment/helm/ditto/templates/connectivity-deployment.yaml index 8b967339c0..fabc2a28c6 100644 --- a/deployment/helm/ditto/templates/connectivity-deployment.yaml +++ b/deployment/helm/ditto/templates/connectivity-deployment.yaml @@ -303,6 +303,7 @@ spec: runAsGroup: 1000 allowPrivilegeEscalation: false {{- end }} + priorityClassName: "{{ .Values.connectivity.priorityClassName }}" {{- with .Values.connectivity.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/deployment/helm/ditto/templates/gateway-deployment.yaml b/deployment/helm/ditto/templates/gateway-deployment.yaml index 30c0efe025..2dfe30c09a 100644 --- a/deployment/helm/ditto/templates/gateway-deployment.yaml +++ b/deployment/helm/ditto/templates/gateway-deployment.yaml @@ -273,6 +273,7 @@ spec: runAsGroup: 1000 allowPrivilegeEscalation: false {{- end }} + priorityClassName: "{{ .Values.gateway.priorityClassName }}" {{- with .Values.gateway.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/deployment/helm/ditto/templates/nginx-deployment.yaml b/deployment/helm/ditto/templates/nginx-deployment.yaml index 47f6306a8d..db106a74b6 100644 --- a/deployment/helm/ditto/templates/nginx-deployment.yaml +++ b/deployment/helm/ditto/templates/nginx-deployment.yaml @@ -141,6 +141,7 @@ spec: emptyDir: {} - name: nginx-run emptyDir: {} + priorityClassName: "{{ .Values.nginx.priorityClassName }}" {{- with .Values.nginx.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/deployment/helm/ditto/templates/policies-deployment.yaml b/deployment/helm/ditto/templates/policies-deployment.yaml index d97ffb0694..dd75b18948 100644 --- a/deployment/helm/ditto/templates/policies-deployment.yaml +++ b/deployment/helm/ditto/templates/policies-deployment.yaml @@ -290,6 +290,7 @@ spec: runAsGroup: 1000 allowPrivilegeEscalation: false {{- end }} + priorityClassName: "{{ .Values.policies.priorityClassName }}" {{- with .Values.policies.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/deployment/helm/ditto/templates/things-deployment.yaml b/deployment/helm/ditto/templates/things-deployment.yaml index f741898bfc..bb5c69394e 100644 --- a/deployment/helm/ditto/templates/things-deployment.yaml +++ b/deployment/helm/ditto/templates/things-deployment.yaml @@ -294,6 +294,7 @@ spec: runAsGroup: 1000 allowPrivilegeEscalation: false {{- end }} + priorityClassName: "{{ .Values.things.priorityClassName }}" {{- with .Values.things.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/deployment/helm/ditto/templates/thingssearch-deployment.yaml b/deployment/helm/ditto/templates/thingssearch-deployment.yaml index 6055855bab..f7a44f42c5 100644 --- a/deployment/helm/ditto/templates/thingssearch-deployment.yaml +++ b/deployment/helm/ditto/templates/thingssearch-deployment.yaml @@ -274,6 +274,7 @@ spec: runAsGroup: 1000 allowPrivilegeEscalation: false {{- end }} + priorityClassName: "{{ .Values.thingsSearch.priorityClassName }}" {{- with .Values.thingsSearch.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/deployment/helm/ditto/values.yaml b/deployment/helm/ditto/values.yaml index 3429faa967..c0b9d300ac 100644 --- a/deployment/helm/ditto/values.yaml +++ b/deployment/helm/ditto/values.yaml @@ -486,6 +486,9 @@ policies: enabled: true # minAvailable number of replicas during voluntary disruptions minAvailable: 1 + # priorityClassName configuration for policies + # ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass + priorityClassName: "" # nodeSelector configuration for policies # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector nodeSelector: {} @@ -686,6 +689,9 @@ things: enabled: true # minAvailable number of replicas during voluntary disruptions minAvailable: 1 + # priorityClassName configuration for policies + # ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass + priorityClassName: "" # nodeSelector configuration for things # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector nodeSelector: {} @@ -908,6 +914,9 @@ thingsSearch: enabled: true # minAvailable number of replicas during voluntary disruptions minAvailable: 1 + # priorityClassName configuration for policies + # ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass + priorityClassName: "" # nodeSelector configuration for things-search # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector nodeSelector: {} @@ -1090,6 +1099,9 @@ connectivity: enabled: true # minAvailable number of replicas during voluntary disruptions minAvailable: 1 + # priorityClassName configuration for policies + # ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass + priorityClassName: "" # nodeSelector configuration for connectivity # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector nodeSelector: {} @@ -1355,6 +1367,9 @@ gateway: enabled: true # minAvailable number of replicas during voluntary disruptions minAvailable: 1 + # priorityClassName configuration for policies + # ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass + priorityClassName: "" # nodeSelector configuration for gateway # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector nodeSelector: {} @@ -1518,6 +1533,9 @@ nginx: # nodePort: 30080 # annotations to add arbitrary annotations to nginx service annotations: {} + # priorityClassName configuration for policies + # ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass + priorityClassName: "" # nodeSelector configuration for nginx # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector nodeSelector: {}