Skip to content

Commit

Permalink
Merge pull request #7089 from zalando-incubator/dev-to-kube-1.26
Browse files Browse the repository at this point in the history
dev to kube-1.26
  • Loading branch information
linki authored Feb 28, 2024
2 parents 3abafbe + 08a82a4 commit d16ccc4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
9 changes: 9 additions & 0 deletions cluster/config-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,15 @@ audit_webhook_batch_max_size: "250"
kube2iam_cpu: "25m"
kube2iam_memory: "100Mi"

# configure whether kube2iam should only run on worker nodes.
# This depends on control_plane_asg_lifecycle_hook=false as kube-node-ready
# doesn't work without kube2iam.
{{if eq .Cluster.Environment "production"}}
kube2iam_worker_only: "false"
{{else}}
kube2iam_worker_only: "true"
{{end}}

# CIDR configuration for nodes and pods
# Changing this will change the number of nodes and pods we can schedule in the
# cluster: https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr
Expand Down
4 changes: 4 additions & 0 deletions cluster/manifests/kube2iam/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ spec:
annotations:
logging/destination: "{{.Cluster.ConfigItems.log_destination_infra}}"
spec:
{{- if and (eq .Cluster.ConfigItems.kube2iam_worker_only "true") (eq .Cluster.ConfigItems.control_plane_asg_lifecycle_hook "false") }}
nodeSelector:
node.kubernetes.io/role: worker
{{- end }}
dnsConfig:
options:
- name: ndots
Expand Down
6 changes: 3 additions & 3 deletions cluster/manifests/skipper/skipper-redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: StatefulSet
metadata:
labels:
application: skipper-ingress-redis
version: v6.2.7
version: v7.2.4
annotations:
zalando.org/update-using-hpa-replicas: skipper-ingress-redis
name: skipper-ingress-redis
Expand All @@ -19,7 +19,7 @@ spec:
labels:
statefulset: skipper-ingress-redis
application: skipper-ingress-redis
version: v6.2.7
version: v7.2.4
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
logging/destination: "{{.Cluster.ConfigItems.log_destination_infra}}"
Expand Down Expand Up @@ -50,7 +50,7 @@ spec:
- skipper-ingress-redis
priorityClassName: "{{ .Cluster.ConfigItems.system_priority_class }}"
containers:
- image: container-registry.zalando.net/library/redis-6-alpine:6-alpine-20220622
- image: container-registry.zalando.net/library/redis-7-alpine:7-alpine-20240226
name: skipper-ingress-redis
args:
- /usr/local/bin/docker-entrypoint.sh
Expand Down

0 comments on commit d16ccc4

Please sign in to comment.