Skip to content

Commit

Permalink
Add priority class to helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Jan 13, 2025
1 parent f042eb8 commit 6eff55c
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 13 deletions.
22 changes: 11 additions & 11 deletions config/internal/bundle.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions config/kubernetes-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
app: funnel-worker
task-id: {{.TaskId}}
spec:
priorityClassName: non-preemptible-class
serviceAccountName: funnel-sa
restartPolicy: Never
containers:
Expand Down
2 changes: 1 addition & 1 deletion deployments/kubernetes/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.15
version: 0.1.16

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
7 changes: 7 additions & 0 deletions deployments/kubernetes/helm/templates/priorityclass.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: non-preemptible-class
value: 100000
globalDefault: false
description: "Priority class for non-preemptible pods"
25 changes: 24 additions & 1 deletion examples/internal/bundle.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6eff55c

Please sign in to comment.