Skip to content

Commit

Permalink
Add priorityClassName & securityContext & upgrade image
Browse files Browse the repository at this point in the history
  • Loading branch information
damienleger committed Sep 1, 2021
1 parent 7a123ea commit cbcafb8
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,13 @@ spec:
prometheus.io/scrape: 'true'
prometheus.io/port: '8085'
spec:
priorityClassName: system-cluster-critical
securityContext:
runAsNonRoot: true
runAsUser: 65534
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.17.3
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.22.0
name: cluster-autoscaler
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,13 @@ spec:
prometheus.io/scrape: 'true'
prometheus.io/port: '8085'
spec:
priorityClassName: system-cluster-critical
securityContext:
runAsNonRoot: true
runAsUser: 65534
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.17.3
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.22.0
name: cluster-autoscaler
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,13 @@ spec:
prometheus.io/scrape: 'true'
prometheus.io/port: '8085'
spec:
priorityClassName: system-cluster-critical
securityContext:
runAsNonRoot: true
runAsUser: 65534
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.17.3
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.22.0
name: cluster-autoscaler
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ spec:
prometheus.io/scrape: 'true'
prometheus.io/port: '8085'
spec:
priorityClassName: system-cluster-critical
securityContext:
runAsNonRoot: true
runAsUser: 65534
serviceAccountName: cluster-autoscaler
tolerations:
- effect: NoSchedule
Expand Down

0 comments on commit cbcafb8

Please sign in to comment.