Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 98be813

Browse files
authored
fix: set default priorityClassName on Deployment (nutanix-cloud-native#431)
1 parent c861c41 commit 98be813

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

charts/capi-runtime-extensions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ A Helm chart for capi-runtime-extensions
5757
| image.tag | string | `""` | |
5858
| imagePullSecrets | list | `[]` | Optional secrets used for pulling the container image |
5959
| nodeSelector | object | `{}` | |
60-
| priorityClassName | string | `""` | Optional priority class to be used for the pod. |
60+
| priorityClassName | string | `"system-cluster-critical"` | Priority class to be used for the pod. |
6161
| resources.limits.cpu | string | `"100m"` | |
6262
| resources.limits.memory | string | `"256Mi"` | |
6363
| resources.requests.cpu | string | `"100m"` | |

charts/capi-runtime-extensions/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ spec:
7474
port: probes
7575
scheme: HTTP
7676
path: /readyz
77+
priorityClassName: {{ .Values.priorityClassName }}
7778
securityContext:
7879
{{ with .Values.securityContext }}
7980
{{- toYaml . | nindent 8}}

charts/capi-runtime-extensions/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ tolerations: []
9898
# Allow scheduling of Deployment on all nodes
9999
# - operator: "Exists"
100100

101-
# -- Optional priority class to be used for the pod.
102-
priorityClassName: ""
101+
# -- Priority class to be used for the pod.
102+
priorityClassName: system-cluster-critical

0 commit comments

Comments
 (0)