Skip to content

Commit

Permalink
update(config/prow): bump cluster-autoscaler to version 1.30.1
Browse files Browse the repository at this point in the history
Signed-off-by: Aldo Lacuku <[email protected]>
  • Loading branch information
alacuku authored and poiana committed Jul 17, 2024
1 parent 9aaa64b commit 0d37160
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions config/prow/cluster-autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
labels:
k8s-addon: cluster-autoscaler.addons.k8s.io
k8s-app: cluster-autoscaler
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::292999226676:role/falco-prow-test-infra-cluster-autoscaler
name: cluster-autoscaler
namespace: kube-system
---
Expand Down Expand Up @@ -34,6 +36,7 @@ rules:
verbs: ["watch", "list", "get", "update"]
- apiGroups: [""]
resources:
- "namespaces"
- "pods"
- "services"
- "replicationcontrollers"
Expand All @@ -50,7 +53,7 @@ rules:
resources: ["statefulsets", "replicasets", "daemonsets"]
verbs: ["watch", "list", "get"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses", "csinodes"]
resources: ["storageclasses", "csinodes", "csidrivers", "csistoragecapacities"]
verbs: ["watch", "list", "get"]
- apiGroups: ["batch", "extensions"]
resources: ["jobs"]
Expand All @@ -74,7 +77,7 @@ metadata:
rules:
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["create","list","watch"]
verbs: ["create", "list", "watch"]
- apiGroups: [""]
resources: ["configmaps"]
resourceNames: ["cluster-autoscaler-status", "cluster-autoscaler-priority-expander"]
Expand Down Expand Up @@ -135,9 +138,16 @@ spec:
prometheus.io/scrape: 'true'
prometheus.io/port: '8085'
spec:
priorityClassName: system-cluster-critical
securityContext:
runAsNonRoot: true
runAsUser: 65534
fsGroup: 65534
seccompProfile:
type: RuntimeDefault
serviceAccountName: cluster-autoscaler
containers:
- image: registry.k8s.io/autoscaling/cluster-autoscaler:v1.21.0
- image: registry.k8s.io/autoscaling/cluster-autoscaler:v1.30.1
name: cluster-autoscaler
resources:
limits:
Expand All @@ -157,10 +167,14 @@ spec:
- name: ssl-certs
mountPath: /etc/ssl/certs/ca-certificates.crt #/etc/ssl/certs/ca-bundle.crt for Amazon Linux Worker Nodes
readOnly: true
imagePullPolicy: "Always"
imagePullPolicy: "IfNotPresent"
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
volumes:
- name: ssl-certs
hostPath:
path: "/etc/ssl/certs/ca-bundle.crt"
nodeSelector:
Archtype: "x86"

0 comments on commit 0d37160

Please sign in to comment.