Skip to content

Commit 5807c1a

Browse files
authored
Merge pull request #9774 from zalando-incubator/dev-to-kube-1.33
dev to kube-1.33
2 parents bb55434 + 06a2ef9 commit 5807c1a

File tree

8 files changed

+32
-6
lines changed

8 files changed

+32
-6
lines changed

.zappr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ approvals:
2121
- demonCoder95
2222
- MustafaSaber
2323
- vlktna
24+
- tcondeixa
2425

2526
# mandatory pull request labels
2627
pull-request:

cluster/cluster.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ Resources:
158158
Type: 'AWS::EC2::SecurityGroup'
159159
EKSCluster:
160160
Type: AWS::EKS::Cluster
161+
{{- if eq .Cluster.ConfigItems.eks_control_plane_logging "true" }}
162+
{{- if eq .Cluster.ConfigItems.eks_control_plane_logging_migration "true" }}
163+
DependsOn: ControlPlaneLogGroup
164+
{{- end }}
165+
{{- end }}
161166
Properties:
162167
Name: "{{.Cluster.Name}}"
163168
Version: "1.33"
@@ -3023,6 +3028,16 @@ Resources:
30233028
- BucketArn: !GetAtt AuditTrailBucket.Arn
30243029
{{- end }}
30253030

3031+
{{- if eq .Cluster.ConfigItems.eks_control_plane_logging "true" }}
3032+
{{- if eq .Cluster.ConfigItems.eks_control_plane_logging_migration "true" }}
3033+
ControlPlaneLogGroup:
3034+
Type: AWS::Logs::LogGroup
3035+
Properties:
3036+
LogGroupName: "/aws/eks/{{.Cluster.LocalID}}/cluster"
3037+
RetentionInDays: 545
3038+
{{- end }}
3039+
{{- end }}
3040+
30263041
{{- if index .Cluster.ConfigItems "session_manager_destination_arn" }}
30273042
SessionManagerLogGroup:
30283043
Type: AWS::Logs::LogGroup

cluster/config-defaults.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,8 @@ etcd_instance_type: "t3.medium"
765765

766766
etcd_scalyr_key: ""
767767

768-
etcd_ami: {{ amiID "zalando-ubuntu-etcd-production-v3.5.18-amd64-main-35" "861068367966"}}
768+
etcd_ami_amd64: {{ amiID "zalando-ubuntu-etcd-production-v3.5.22-amd64-main-38" "861068367966"}}
769+
etcd_ami_arm64: {{ amiID "zalando-ubuntu-etcd-production-v3.5.22-arm64-main-38" "861068367966"}}
769770

770771
cluster_dns: "coredns"
771772
coredns_log_svc_names: "true"
@@ -1282,6 +1283,7 @@ wiz_node_feature_rollout : "false"
12821283

12831284
# EKS specific configuration
12841285
eks_control_plane_logging: "true"
1286+
eks_control_plane_logging_migration: "false"
12851287
eks_ip_family: "ipv4"
12861288
eks_zalando_iam_aws_proxy_cpu: "100m"
12871289
eks_zalando_iam_aws_proxy_memory: "512Mi"

cluster/etcd/stack.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Metadata:
66
"kubernetes:component": "etcd-cluster"
77
application: "kubernetes"
88
component: "etcd-cluster"
9+
Mappings:
10+
Images:
11+
{{.Cluster.Region}}:
12+
# Use the etcd instance architecture to construct the config item name that we're using to get the AMI name.
13+
MachineImage: '{{ index .Cluster.ConfigItems (print "etcd_ami_" .Values.etcd_instance_type_info.Architecture) }}'
914
Outputs:
1015
EtcdClusterSecurityGroupId:
1116
Description: "Security Group ID of the etcd cluster"
@@ -53,7 +58,10 @@ Resources:
5358
IamInstanceProfile:
5459
Name: !Ref AppServerInstanceProfile
5560
InstanceInitiatedShutdownBehavior: terminate
56-
ImageId: {{.Cluster.ConfigItems.etcd_ami}}
61+
ImageId: !FindInMap
62+
- Images
63+
- !Ref 'AWS::Region'
64+
- MachineImage
5765
InstanceType: {{.Cluster.ConfigItems.etcd_instance_type}}
5866
UserData:
5967
Fn::Base64: !Sub |

cluster/manifests/03-kube-aws-iam-controller/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
hostNetwork: true
2828
containers:
2929
- name: kube-aws-iam-controller
30-
image: container-registry.zalando.net/teapot/kube-aws-iam-controller:v0.3.0-82-g83974de
30+
image: container-registry.zalando.net/teapot/kube-aws-iam-controller:v0.3.0-84-g8bed7f3
3131
env:
3232
- name: AWS_DEFAULT_REGION
3333
value: "{{.Cluster.Region}}"

cluster/manifests/ingress-controller/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# {{ $image := "926694233939.dkr.ecr.eu-central-1.amazonaws.com/production_namespace/teapot/kube-ingress-aws-controller:v0.18.7" }}
1+
# {{ $image := "926694233939.dkr.ecr.eu-central-1.amazonaws.com/production_namespace/teapot/kube-ingress-aws-controller:v0.18.8" }}
22
# {{ $version := index (split $image ":") 1 }}
33

44
apiVersion: apps/v1

cluster/manifests/kube-state-metrics/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
serviceAccountName: kube-state-metrics
2828
containers:
2929
- name: kube-state-metrics
30-
image: container-registry.zalando.net/teapot/kube-state-metrics:v2.15.0-master-29
30+
image: container-registry.zalando.net/teapot/kube-state-metrics:v2.16.0-master-30
3131
args:
3232
- --resources=certificatesigningrequests,configmaps,cronjobs,daemonsets,deployments,endpoints,horizontalpodautoscalers,ingresses,jobs,limitranges,mutatingwebhookconfigurations,namespaces,networkpolicies,nodes,persistentvolumeclaims,persistentvolumes,poddisruptionbudgets,pods,replicasets,replicationcontrollers,resourcequotas,secrets,services,statefulsets,storageclasses,validatingwebhookconfigurations,volumeattachments
3333
- --metric-labels-allowlist=pods=[{{.Cluster.ConfigItems.observability_metrics_pods_labels}}],ingresses=[{{.Cluster.ConfigItems.observability_metrics_ingresses_labels}}],nodes=[topology.kubernetes.io/zone,node.kubernetes.io/instance-type,node.kubernetes.io/node-pool,node.kubernetes.io/role,node.kubernetes.io/profile,dedicated]

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.76-1183" }}
4+
{{ $canary_image := "container-registry.zalando.net/teapot/skipper-internal:v0.22.88-1195" }}
55

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

0 commit comments

Comments
 (0)