Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Priorityclass #567

Merged
merged 3 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.placement.agent.priorityClassName }}
priorityClassName: {{ .Values.placement.agent.priorityClassName | quote }}
{{- end }}
containers:
- command:
- "./agent"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.placement.apiserver.priorityClassName }}
priorityClassName: {{ .Values.placement.apiserver.priorityClassName | quote }}
{{- end }}
containers:
- command:
- "./apiserver"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ spec:
name: brupop
resources:
{{- toYaml .Values.resources.controller.resources | nindent 12 }}
priorityClassName: brupop-controller-high-priority
{{- if .Values.placement.controller.priorityClassName }}
priorityClassName: {{ .Values.placement.controller.priorityClassName | quote }}
{{- end }}
{{ if ((.Values.image_pull_secrets)) }}
image_pull_secrets:
{{ .Values.image_pull_secrets }}
Expand Down
3 changes: 3 additions & 0 deletions deploy/charts/bottlerocket-update-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ placement:
agent:
# The agent is a daemonset, so the only controls that apply to it are tolerations.
tolerations: []
priorityClassName: ""

controller:
tolerations: []
nodeSelector: {}
podAffinity: {}
podAntiAffinity: {}
priorityClassName: brupop-controller-high-priority

apiserver:
tolerations: []
Expand All @@ -38,6 +40,7 @@ placement:
values:
- apiserver
topologyKey: kubernetes.io/hostname
priorityClassName: ""

# If testing against a private image registry, you can set the pull secret to fetch images.
# This can likely remain as `brupop` so long as you run something like the following:
Expand Down