Skip to content

Commit 5e1e683

Browse files
authored
Merge pull request #9819 from zalando-incubator/beta-to-stable
beta to stable
2 parents d0882d6 + 2eeaeda commit 5e1e683

8 files changed

Lines changed: 27 additions & 31 deletions

File tree

cluster/cluster.yaml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,17 @@ Resources:
156156
GroupDescription: EKS worker to EFS sg
157157
VpcId: "{{.Cluster.ConfigItems.vpc_id}}"
158158
Type: 'AWS::EC2::SecurityGroup'
159+
{{- if eq .Cluster.ConfigItems.eks_control_plane_logging "true" }}
160+
ControlPlaneLogGroup:
161+
Type: AWS::Logs::LogGroup
162+
Properties:
163+
LogGroupName: "/aws/eks/{{.Cluster.Name}}/cluster"
164+
RetentionInDays: 545
165+
{{- end }}
159166
EKSCluster:
160167
Type: AWS::EKS::Cluster
161168
{{- if eq .Cluster.ConfigItems.eks_control_plane_logging "true" }}
162-
{{- if eq .Cluster.ConfigItems.eks_control_plane_logging_migration "true" }}
163169
DependsOn: ControlPlaneLogGroup
164-
{{- end }}
165170
{{- end }}
166171
Properties:
167172
Name: "{{.Cluster.Name}}"
@@ -2306,8 +2311,8 @@ Resources:
23062311
Version: 2012-10-17
23072312
PolicyName: root
23082313
RoleName: "{{.Cluster.LocalID}}-etcd-backup"
2309-
{{- end }}
23102314
Type: 'AWS::IAM::Role'
2315+
{{- end }}
23112316
StaticEgressControllerIAMRole:
23122317
Properties:
23132318
AssumeRolePolicyDocument: !Sub
@@ -3003,16 +3008,6 @@ Resources:
30033008
- BucketArn: !GetAtt AuditTrailBucket.Arn
30043009
{{- end }}
30053010

3006-
{{- if eq .Cluster.ConfigItems.eks_control_plane_logging "true" }}
3007-
{{- if eq .Cluster.ConfigItems.eks_control_plane_logging_migration "true" }}
3008-
ControlPlaneLogGroup:
3009-
Type: AWS::Logs::LogGroup
3010-
Properties:
3011-
LogGroupName: "/aws/eks/{{.Cluster.LocalID}}/cluster"
3012-
RetentionInDays: 545
3013-
{{- end }}
3014-
{{- end }}
3015-
30163011
{{- if index .Cluster.ConfigItems "session_manager_destination_arn" }}
30173012
SessionManagerLogGroup:
30183013
Type: AWS::Logs::LogGroup

cluster/config-defaults.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ skipper_pod_deletion_cost_controller_resync_interval: "1h"
262262
# right now only installed on skipper-ingress nodes
263263
polarsignals_enabled: "false"
264264
polarsignals_apikey: ""
265-
polarsignals_memory: 200Mi
265+
polarsignals_memory: 400Mi
266266
polarsignals_cpu: 50m
267267

268268
# Kube-Metrics-Adapter
@@ -554,6 +554,8 @@ downscaler_default_uptime: "always"
554554
downscaler_default_downtime: "never"
555555
downscaler_enabled: "false"
556556
{{end}}
557+
# optionally enable downscaling of statefulsets
558+
downscaler_scale_statefulsets: "false"
557559

558560
# HPA settings (defaults from https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/)
559561
horizontal_pod_autoscaler_sync_period: "30s"
@@ -1287,7 +1289,6 @@ wiz_node_feature_rollout : "false"
12871289

12881290
# EKS specific configuration
12891291
eks_control_plane_logging: "true"
1290-
eks_control_plane_logging_migration: "false"
12911292
eks_ip_family: "ipv4"
12921293
eks_zalando_iam_aws_proxy_cpu: "100m"
12931294
eks_zalando_iam_aws_proxy_memory: "512Mi"

cluster/manifests/01-coredns-local/daemonset-coredns.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ spec:
122122
{{- if eq .Cluster.Provider "zalando-eks" }}
123123
image: 926694233939.dkr.ecr.eu-central-1.amazonaws.com/production_namespace/teapot/coredns:1.12.1-master-26
124124
{{- else }}
125-
image: container-registry.zalando.net/teapot/coredns:1.12.1-master-26
125+
image: container-registry.zalando.net/teapot/coredns:1.12.3-master-27
126126
{{- end }}
127127
args: [ "-conf", "/etc/coredns/Corefile" ]
128128
env:

cluster/manifests/kube-downscaler/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ spec:
3434
- --interval=30
3535
- --exclude-namespaces=kube-system,visibility,tracing,wiz
3636
# do not downscale ourselves, also keep Postgres Operator so excluded DBs can be managed
37-
- --exclude-deployments=kube-downscaler,postgres-operator
37+
- --exclude-deployments=kube-downscaler{{if ne .Cluster.ConfigItems.downscaler_scale_statefulsets "true"}},postgres-operator{{end}}
3838
- "--default-uptime={{ .Cluster.ConfigItems.downscaler_default_uptime }}"
3939
- "--default-downtime={{ .Cluster.ConfigItems.downscaler_default_downtime }}"
40-
- --include-resources=deployments,stacks
40+
- --include-resources=deployments,stacks{{if eq .Cluster.ConfigItems.downscaler_scale_statefulsets "true"}},statefulsets{{end}}
4141
- --deployment-time-annotation=deployment-time
4242
resources:
4343
limits:

cluster/manifests/polarsignals/daemonset.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,16 @@ spec:
1717
application: polarsignals
1818
template:
1919
metadata:
20+
annotations:
21+
prometheus.io/path: /metrics
22+
prometheus.io/port: "7071"
23+
prometheus.io/scrape: "true"
2024
labels:
2125
component: agent
2226
application: polarsignals
2327
spec:
2428
containers:
2529
- args:
26-
- /bin/parca-agent
2730
- --log-level=info
2831
- --node=$(NODE_NAME)
2932
- --http-address=:7071
@@ -37,15 +40,11 @@ spec:
3740
valueFrom:
3841
fieldRef:
3942
fieldPath: spec.nodeName
40-
image: container-registry.zalando.net/gwproxy/parca-agent:v0.41.0
43+
image: container-registry.zalando.net/gwproxy/parca-agent:v0.41.0-main-1
4144
name: polarsignals-agent
4245
ports:
4346
- containerPort: 7071
4447
name: http
45-
readinessProbe:
46-
httpGet:
47-
path: /ready
48-
port: http
4948
resources:
5049
limits:
5150
cpu: "{{ .Cluster.ConfigItems.polarsignals_cpu}}"
@@ -85,8 +84,6 @@ spec:
8584
- effect: NoSchedule
8685
key: dedicated
8786
value: skipper-ingress
88-
- effect: NoExecute
89-
operator: Exists
9087
volumes:
9188
- emptyDir: {}
9289
name: tmp
@@ -114,4 +111,4 @@ spec:
114111
- secret:
115112
secretName: polarsignals-agent
116113
name: token
117-
{{ end }}
114+
{{ end }}

cluster/manifests/skipper/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{/* image-updater-bot detects *image variables so use print to disable it for main image */}}
22

33
{{ $main_image := print "container-registry.zalando.net/teapot/skipper-internal:" "v0.22.76-1183" }}
4-
{{ $canary_image := "container-registry.zalando.net/teapot/skipper-internal:v0.22.88-1195" }}
4+
{{ $canary_image := "container-registry.zalando.net/teapot/skipper-internal:v0.22.102-1209" }}
55

66
{{/* Optional canary arguments separated by "[cf724afc]" to allow whitespaces, e.g. "-foo=has a whitespace[cf724afc]-baz=qux" */}}
77
{{ $canary_args := "" }}

cluster/manifests/skipper/skipper-redis.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
# {{ $image := "container-registry.zalando.net/library/redis-7-alpine:7.2-alpine-20250805" }}
2+
# {{ $version := index (split $image ":") 1 }}
13
apiVersion: apps/v1
24
kind: StatefulSet
35
metadata:
46
labels:
57
application: skipper-ingress-redis
6-
version: v7.2.4
8+
version: "{{ $version }}"
79
annotations:
810
zalando.org/update-using-hpa-replicas: skipper-ingress-redis
911
name: skipper-ingress-redis
@@ -19,7 +21,7 @@ spec:
1921
labels:
2022
statefulset: skipper-ingress-redis
2123
application: skipper-ingress-redis
22-
version: v7.2.4
24+
version: "{{ $version }}"
2325
annotations:
2426
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
2527
logging/destination: "{{ .Cluster.ConfigItems.log_destination_both }}"
@@ -49,7 +51,7 @@ spec:
4951
priorityClassName: "{{ .Cluster.ConfigItems.system_priority_class }}"
5052
terminationGracePeriodSeconds: 45
5153
containers:
52-
- image: container-registry.zalando.net/library/redis-7-alpine:7.2-alpine-20250805
54+
- image: "{{ $image }}"
5355
name: skipper-ingress-redis
5456
args:
5557
- /usr/local/bin/docker-entrypoint.sh

test/e2e/cluster_config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ clusters:
5656
consolidate_after: "5m"
5757
wiz_api_client_id: "${WIZ_API_CLIENT_ID}"
5858
wiz_api_client_token: "${WIZ_API_CLIENT_TOKEN}"
59+
eks_control_plane_logging: "false"
5960
criticality_level: 1
6061
environment: e2e
6162
id: ${CLUSTER_ID}

0 commit comments

Comments
 (0)