Skip to content

Commit

Permalink
Add priority classes to addons (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakolehm authored Jan 29, 2019
1 parent bee825f commit 63e0209
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions addons/cert-manager/resources/20-deployment.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
app: cert-manager
spec:
serviceAccountName: cert-manager
priorityClassName: system-cluster-critical
containers:
- name: cert-manager
image: "<%= image_repository %>/cert-manager-controller:v<%= version %>"
Expand Down
3 changes: 2 additions & 1 deletion addons/helm/resources/deployment.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ spec:
resources:
requests:
memory: 32Mi
serviceAccountName: tiller
serviceAccountName: tiller
priorityClassName: system-cluster-critical
1 change: 1 addition & 0 deletions addons/host-upgrades/resources/50-daemonset.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
app: host-upgrades
spec:
serviceAccountName: host-upgrades
priorityClassName: system-cluster-critical
containers:
- name: host-upgrades
image: "<%= image_repository %>/pharos-host-upgrades:<%= version %>"
Expand Down
1 change: 1 addition & 0 deletions addons/ingress-nginx/resources/daemonset.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spec:
<%- end -%>
<%- end -%>
serviceAccountName: nginx-ingress-serviceaccount
priorityClassName: system-cluster-critical
hostNetwork: true
<%- unless config.tolerations.empty? -%>
tolerations:
Expand Down

0 comments on commit 63e0209

Please sign in to comment.