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

[chart] Set priorityClasssName for gitpod components #4932

Merged
merged 2 commits into from
Jul 25, 2021
Merged

Conversation

aledbf
Copy link
Member

@aledbf aledbf commented Jul 24, 2021

The important part of this change is not setting the class but prevent the pod from becoming permanently unavailable.

https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/

xref: #4931

@aledbf
Copy link
Member Author

aledbf commented Jul 24, 2021

/assign @csweichel

@aledbf
Copy link
Member Author

aledbf commented Jul 24, 2021

/werft run

👍 started the job as gitpod-build-aledbf-priority.1

@roboquat roboquat added size/M and removed size/S labels Jul 24, 2021
@aledbf
Copy link
Member Author

aledbf commented Jul 24, 2021

/werft run

👍 started the job as gitpod-build-aledbf-priority.3

Copy link
Contributor

@csweichel csweichel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@@ -35,6 +35,7 @@ spec:
kind: pod
stage: {{ .Values.installation.stage }}
spec:
priorityClassName: system-node-critical
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
priorityClassName: system-node-critical
priorityClassName: system-cluster-critical

(requires an additional resource quota)

@@ -37,6 +37,7 @@ spec:
annotations:
checksum/tlskey: {{ include (print $.Template.BasePath "/ws-daemon-tlssecret.yaml") $ | sha256sum }}
spec:
priorityClassName: system-node-critical
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
priorityClassName: system-node-critical
priorityClassName: system-cluster-critical

@@ -35,6 +35,7 @@ spec:
kind: pod
stage: {{ .Values.installation.stage }}
spec:
priorityClassName: system-node-critical
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
priorityClassName: system-node-critical
priorityClassName: system-cluster-critical

@@ -35,6 +35,7 @@ spec:
kind: pod
stage: {{ .Values.installation.stage }}
spec:
priorityClassName: system-node-critical
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
priorityClassName: system-node-critical
priorityClassName: system-cluster-critical

@csweichel
Copy link
Contributor

/lgtm

@roboquat roboquat added the lgtm label Jul 25, 2021
@roboquat
Copy link
Contributor

LGTM label has been added.

Git tree hash: 9350b353aa030932034b0c837b90f162786fe053

@roboquat
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aledbf, csweichel

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@roboquat roboquat merged commit d035b70 into main Jul 25, 2021
@roboquat roboquat deleted the aledbf/priority branch July 25, 2021 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants