Skip to content

Commit

Permalink
Merge pull request projectcalico#8427 from elsnepal/patch-1
Browse files Browse the repository at this point in the history
Add PriorityClass for operator pod
  • Loading branch information
marvin-tigera authored Jan 29, 2024
2 parents d3513a8 + 98f290e commit 78c5a5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: tigera-operator
{{- if .Values.priorityClassName }}
priorityClassName: {{.Values.priorityClassName}}
{{- end }}
# Set the termination grace period to match how long the operator will wait for
# resources to terminate when being uninstalled.
terminationGracePeriodSeconds: 60
Expand Down
5 changes: 4 additions & 1 deletion charts/tigera-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ tolerations:
nodeSelector:
kubernetes.io/os: linux

# PriorityClassName for the tigera/operator pod.
priorityClassName: ""

# Custom annotations for the tigera/operator pod.
podAnnotations: {}

Expand All @@ -63,4 +66,4 @@ kubeletVolumePluginPath: /var/lib/kubelet
# Optionally configure the host and port used to access the Kubernetes API server.
kubernetesServiceEndpoint:
host: ""
port: "6443"
port: "6443"

0 comments on commit 78c5a5f

Please sign in to comment.