Skip to content

Commit

Permalink
added priority class to egressd daemonset (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-cast-ai authored Nov 17, 2023
1 parent c91c792 commit fca9752
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/egressd/templates/collector/daemonSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- if .Values.collector.priorityClassName }}
priorityClassName: {{ .Values.collector.priorityClassName }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/egressd/templates/exporter/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- if .Values.exporter.priorityClassName }}
priorityClassName: {{ .Values.exporter.priorityClassName }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
5 changes: 5 additions & 0 deletions charts/egressd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ collector:
# If not set and create is true, a name is generated using the fullname template
name: ""

## The name of the PriorityClass for collector pods
priorityClassName: "system-node-critical"

## Annotations to be added to collector pod
##
Expand Down Expand Up @@ -121,6 +123,9 @@ exporter:
name: ""


## The name of the PriorityClass for exporter pods
priorityClassName: "system-node-critical"

## Annotations to be added to exporter pod
##
podAnnotations: { }
Expand Down

0 comments on commit fca9752

Please sign in to comment.