Skip to content

Commit

Permalink
Merge pull request #3483 from detiber/packetFixes
Browse files Browse the repository at this point in the history
[cluster-autoscaler][packet] Do not panic on api errors
  • Loading branch information
k8s-ci-robot authored Dec 7, 2020
2 parents 5781b68 + 0d8a4f9 commit 940e304
Show file tree
Hide file tree
Showing 5 changed files with 275 additions and 171 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ spec:
labels:
app: cluster-autoscaler
spec:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
# Node affinity is used to force cluster-autoscaler to stick
# to the master node. This allows the cluster to reliably downscale
# to zero worker nodes when needed.
Expand All @@ -140,9 +143,7 @@ spec:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/master
operator: In
values:
- true
operator: Exists
serviceAccountName: cluster-autoscaler
containers:
- name: cluster-autoscaler
Expand Down
Loading

0 comments on commit 940e304

Please sign in to comment.