Skip to content

Commit 5d222bb

Browse files
authored
Merge branch 'dev' into container-registry.zalando.net/teapot/external-provisioner
2 parents 82731b8 + c27f2cc commit 5d222bb

File tree

148 files changed

+5163
-2133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+5163
-2133
lines changed

cluster/cluster.yaml

Lines changed: 1169 additions & 322 deletions
Large diffs are not rendered by default.

cluster/config-defaults.yaml

Lines changed: 47 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ karpenter_controller_memory: "256Mi"
3838
karpenter_log_level: "error"
3939
# restrict the maximum number of pods for karpenter nodes
4040
karpenter_max_pods_per_node: "32"
41-
#
42-
# Karpenter version for controlling roll-out, can be "current" or "legacy"
43-
# current => 0.37.0-main-26.patched
44-
# legacy => 0.36.2-main-25.patched
45-
karpenter_version: "current"
4641

4742
# configure whether karpenter should assume instances with local storage use
4843
# RAID0 for ephemeral pod storage.
@@ -341,6 +336,9 @@ skipper_oauth2_ui_login: "true"
341336
# Comma-separated list of tokeninfo keys to retain
342337
skipper_oauth2_ui_login_tokeninfo_keys: ""
343338

339+
skipper_hostname_credentials_controller_cpu: 10m
340+
skipper_hostname_credentials_controller_memory: 50Mi
341+
344342
# ClusterScalingSchedules
345343
# One or multiple cluster scaling schedules can be configured as a
346344
# comma-separated list of <cluster schedule name>=<target value> pairs.
@@ -417,6 +415,11 @@ kube_proxy_memory_limit: "200Mi"
417415
kube_proxy_sync_period: "15m0s"
418416
kube_proxy_verbose_level: "2"
419417

418+
# kube-node-decommissioner
419+
kube_node_decommissioner_enabled: "true"
420+
kube_node_decommissioner_cpu: "100m"
421+
kube_node_decommissioner_memory: "1Gi"
422+
420423
# flannel settings
421424
flannel_cpu: "25m"
422425
flannel_memory_request: "100Mi"
@@ -602,6 +605,7 @@ teapot_admission_controller_validate_pod_template_resources: "true"
602605
teapot_admission_controller_preemption_enabled: "true"
603606
teapot_admission_controller_postgresql_delete_protection_enabled: "true"
604607
teapot_admission_controller_namespace_delete_protection_enabled: "true"
608+
teapot_admission_controller_postgresql_owning_application_check_enabled: "true"
605609
{{else if eq .Cluster.Environment "e2e"}}
606610
teapot_admission_controller_validate_application_label: "false"
607611
teapot_admission_controller_validate_base_images: "false"
@@ -613,6 +617,7 @@ teapot_admission_controller_validate_pod_template_resources: "false"
613617
teapot_admission_controller_preemption_enabled: "true"
614618
teapot_admission_controller_postgresql_delete_protection_enabled: "false"
615619
teapot_admission_controller_namespace_delete_protection_enabled: "false"
620+
teapot_admission_controller_postgresql_owning_application_check_enabled: "false"
616621
{{else}}
617622
teapot_admission_controller_validate_application_label: "false"
618623
teapot_admission_controller_validate_base_images: "false"
@@ -624,6 +629,7 @@ teapot_admission_controller_validate_pod_template_resources: "true"
624629
teapot_admission_controller_preemption_enabled: "false"
625630
teapot_admission_controller_postgresql_delete_protection_enabled: "false"
626631
teapot_admission_controller_namespace_delete_protection_enabled: "false"
632+
teapot_admission_controller_postgresql_owning_application_check_enabled: "false"
627633
{{end}}
628634

629635
# Enable automatic replacement of vanity images with ECR images
@@ -689,10 +695,15 @@ teapot_admission_controller_configmap_deletion_protection_factories_enabled: "tr
689695
# enable the rolebinding admission-controller webhook which validates rolebindings and clusterrolebindings
690696
teapot_admission_controller_enable_rolebinding_webhook: "true"
691697

692-
# enable the generic deny-all admission webhook which rejects all requests it receives
698+
{{ if eq .Cluster.Provider "zalando-eks" }}
699+
# enable the resource protection admission webhook which prevents users from accessing system resources
700+
teapot_admission_controller_enable_write_protection_webhook: "true"
701+
# configure the behaviour of the resource protection admission webhook, `true` blocks everything, `false` allows everything
702+
teapot_admission_controller_prevent_write_operations: "true"
703+
{{ else }}
693704
teapot_admission_controller_enable_write_protection_webhook: "false"
694-
# configure the behaviour of the deny-all admission webhook, `true` blocks everything, `false` allows everything
695705
teapot_admission_controller_prevent_write_operations: "false"
706+
{{ end }}
696707

697708
# Enable and configure Pod Security Policy rules implemented in admission-controller.
698709
teapot_admission_controller_pod_security_policy_enabled: "true"
@@ -731,7 +742,7 @@ etcd_instance_type: "t3.medium"
731742

732743
etcd_scalyr_key: ""
733744

734-
etcd_ami: {{ amiID "zalando-ubuntu-etcd-production-v3.5.13-amd64-main-34" "861068367966"}}
745+
etcd_ami: {{ amiID "zalando-ubuntu-etcd-production-v3.5.18-amd64-main-35" "861068367966"}}
735746

736747
cluster_dns: "coredns"
737748
coredns_log_svc_names: "true"
@@ -753,12 +764,14 @@ tracing_coredns_local_zone_traces_endpoint: ""
753764
# AMI id given the image name and the Image AWS account owner.
754765
#
755766
# [0]: https://github.com/zalando-incubator/cluster-lifecycle-manager/blob/8a9bd1cb2d094038a9e23e646421f8146b48886a/provisioner/template.go#L116
756-
kuberuntu_image_v1_31_jammy_amd64: {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.4-amd64-master-359" "861068367966" }}
757-
kuberuntu_image_v1_31_jammy_arm64: {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.4-arm64-master-359" "861068367966" }}
767+
kuberuntu_image_v1_31_old_amd64: {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.4-amd64-master-359" "861068367966" }}
768+
kuberuntu_image_v1_31_old_arm64: {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.4-arm64-master-359" "861068367966" }}
769+
kuberuntu_image_v1_31_new_amd64: {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.6-amd64-master-368" "861068367966" }}
770+
kuberuntu_image_v1_31_new_arm64: {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.6-arm64-master-368" "861068367966" }}
758771

759-
# Which distro from the previous config items should be used. Valid options are only `jammy` for now. Can be set for each node pool.
760-
kuberuntu_distro_master: "jammy"
761-
kuberuntu_distro_worker: "jammy"
772+
# This is used to determine which AMI to use for the cluster or individual node
773+
# pools. Possible values are 'new' or 'old'
774+
kuberuntu_ami_version: "new"
762775

763776
# Feature toggle for auditing events
764777
audit_pod_events: "true"
@@ -1231,11 +1244,32 @@ role_sync_controller_enabled: "false"
12311244
# called Connector will be deployed into the cluster.
12321245
wiz_enable_runtime_sensor: "false"
12331246
wiz_enable_runtime_connector: "false"
1247+
wiz_enable_runtime_connector_broker: "false"
12341248
wiz_sensor_cpu: "300m"
12351249
wiz_sensor_memory: "300Mi"
12361250
wiz_connector_cpu: "300m"
12371251
wiz_connector_memory: "300Mi"
1252+
wiz_priority: "false"
12381253
# Please note when this is set to true it allows the use of the node selector feature
12391254
# to deploy the sensor and connector on specific nodes, by manually setting the node selector label on the nodes.
12401255
# This is useful when you want to deploy the sensor and connector on specific nodes.
12411256
wiz_node_feature_rollout : "false"
1257+
1258+
# EKS specific configuration
1259+
eks_control_plane_logging: "false"
1260+
eks_ip_family: "ipv4"
1261+
eks_zalando_iam_aws_proxy_cpu: "100m"
1262+
eks_zalando_iam_aws_proxy_memory: "512Mi"
1263+
eks_zalando_iam_aws_proxy_hpa_max_replicas: "10"
1264+
eks_zalando_iam_aws_proxy_hpa_cpu_target: "80"
1265+
eks_zalando_iam_aws_proxy_hpa_memory_target: "80"
1266+
eks_okta_identity_provider: "true"
1267+
eks_fis_support_enabled: "false"
1268+
eks_fis_namespaces: "default"
1269+
1270+
# prefix delegation can only be configured for ipv4. For ipv6 it can only be true.
1271+
aws_vpc_cni_prefix_delegation: "false"
1272+
# enable network policy enforcement in the cluster.
1273+
aws_vpc_cni_enable_network_policy: "false"
1274+
# specify the network policy enforcement mode.
1275+
aws_vpc_cni_network_policy_enforcing_mode: "standard"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{{- if eq .Cluster.Provider "zalando-eks" }}
2+
apiVersion: v1
3+
kind: ConfigMap
4+
metadata:
5+
name: amazon-vpc-cni
6+
namespace: kube-system
7+
labels:
8+
app.kubernetes.io/instance: aws-vpc-cni
9+
app.kubernetes.io/name: aws-node
10+
app.kubernetes.io/version: v1.19.0
11+
k8s-app: aws-node
12+
application: kubernetes
13+
component: aws-node
14+
data:
15+
branch-eni-cooldown: "60"
16+
enable-network-policy-controller: "{{.Cluster.ConfigItems.aws_vpc_cni_enable_network_policy}}"
17+
enable-windows-ipam: "false"
18+
enable-windows-prefix-delegation: "false"
19+
minimum-ip-target: "3"
20+
warm-ip-target: "1"
21+
warm-prefix-target: "0"
22+
{{- end }}

0 commit comments

Comments
 (0)