Skip to content

Commit d16ccc4

Browse files
authored
Merge pull request #7089 from zalando-incubator/dev-to-kube-1.26
dev to kube-1.26
2 parents 3abafbe + 08a82a4 commit d16ccc4

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

cluster/config-defaults.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,15 @@ audit_webhook_batch_max_size: "250"
713713
kube2iam_cpu: "25m"
714714
kube2iam_memory: "100Mi"
715715

716+
# configure whether kube2iam should only run on worker nodes.
717+
# This depends on control_plane_asg_lifecycle_hook=false as kube-node-ready
718+
# doesn't work without kube2iam.
719+
{{if eq .Cluster.Environment "production"}}
720+
kube2iam_worker_only: "false"
721+
{{else}}
722+
kube2iam_worker_only: "true"
723+
{{end}}
724+
716725
# CIDR configuration for nodes and pods
717726
# Changing this will change the number of nodes and pods we can schedule in the
718727
# cluster: https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr

cluster/manifests/kube2iam/daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ spec:
2121
annotations:
2222
logging/destination: "{{.Cluster.ConfigItems.log_destination_infra}}"
2323
spec:
24+
{{- if and (eq .Cluster.ConfigItems.kube2iam_worker_only "true") (eq .Cluster.ConfigItems.control_plane_asg_lifecycle_hook "false") }}
25+
nodeSelector:
26+
node.kubernetes.io/role: worker
27+
{{- end }}
2428
dnsConfig:
2529
options:
2630
- name: ndots

cluster/manifests/skipper/skipper-redis.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: StatefulSet
33
metadata:
44
labels:
55
application: skipper-ingress-redis
6-
version: v6.2.7
6+
version: v7.2.4
77
annotations:
88
zalando.org/update-using-hpa-replicas: skipper-ingress-redis
99
name: skipper-ingress-redis
@@ -19,7 +19,7 @@ spec:
1919
labels:
2020
statefulset: skipper-ingress-redis
2121
application: skipper-ingress-redis
22-
version: v6.2.7
22+
version: v7.2.4
2323
annotations:
2424
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
2525
logging/destination: "{{.Cluster.ConfigItems.log_destination_infra}}"
@@ -50,7 +50,7 @@ spec:
5050
- skipper-ingress-redis
5151
priorityClassName: "{{ .Cluster.ConfigItems.system_priority_class }}"
5252
containers:
53-
- image: container-registry.zalando.net/library/redis-6-alpine:6-alpine-20220622
53+
- image: container-registry.zalando.net/library/redis-7-alpine:7-alpine-20240226
5454
name: skipper-ingress-redis
5555
args:
5656
- /usr/local/bin/docker-entrypoint.sh

0 commit comments

Comments
 (0)