Skip to content

Commit

Permalink
Merge pull request #7023 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
gargravarr authored Feb 21, 2024
2 parents ce77cc6 + b1bfb2d commit fbc4037
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 9 deletions.
1 change: 1 addition & 0 deletions cluster/manifests/01-admission-control/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ data:
{{- range $group, $provider := nodeLifeCycleProviderPerNodePoolGroup .Cluster.NodePools }}
pod.node-lifecycle.provider.{{ $group }}: "{{ $provider }}"
{{- end}}
pod.node-lifecycle.provider.master: "zalando"

pod.runtime-policy.enable: "{{ .Cluster.ConfigItems.teapot_admission_controller_runtime_policy_enabled }}"
pod.runtime-policy.default: "{{ .Cluster.ConfigItems.teapot_admission_controller_runtime_policy_default }}"
Expand Down
2 changes: 1 addition & 1 deletion cluster/node-pools/master-default/userdata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ write_files:
limits:
memory: {{ .Values.InstanceInfo.MemoryFraction (parseInt64 .Cluster.ConfigItems.apiserver_memory_limit_percent)}}
{{- end }}
- image: 926694233939.dkr.ecr.eu-central-1.amazonaws.com/production_namespace/teapot/admission-controller:master-191
- image: 926694233939.dkr.ecr.eu-central-1.amazonaws.com/production_namespace/teapot/admission-controller:master-194
name: admission-controller
lifecycle:
preStop:
Expand Down
42 changes: 34 additions & 8 deletions test/e2e/cluster_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,17 @@ clusters:
min_size: 1
max_size: 2
- discount_strategy: none
instance_types: ["m5.xlarge"]
instance_types:
- "m6i.xlarge"
name: default-worker-splitaz
profile: worker-splitaz
min_size: 0
max_size: 21
config_items:
cpu_manager_policy: static
- discount_strategy: none
instance_types: ["m5.xlarge"]
instance_types:
- "m6i.xlarge"
config_items:
availability_zones: "eu-central-1a"
scaling_priority: "-100"
Expand All @@ -74,13 +76,15 @@ clusters:
min_size: 0
max_size: 21
- discount_strategy: none
instance_types: ["m5d.xlarge"]
instance_types:
- "m6id.xlarge"
name: worker-instance-storage
profile: worker-splitaz
min_size: 0
max_size: 21
- discount_strategy: none
instance_types: ["m5.xlarge"]
instance_types:
- "m6i.xlarge"
name: worker-combined
profile: worker-combined
config_items:
Expand All @@ -89,7 +93,17 @@ clusters:
min_size: 0
max_size: 21
- discount_strategy: spot
instance_types: ["c5.large", "c5a.large", "m5a.large", "m5.large", "t3.large"]
instance_types:
- "c7g.large"
- "c6g.large"
- "c6i.large"
- "c6a.large"
- "c5.large"
- "m5.large"
- "m6i.large"
- "m6a.large"
- "m6g.large"
- "m7g.large"
min_size: 0
max_size: 9
profile: worker-splitaz
Expand All @@ -98,7 +112,17 @@ clusters:
labels: dedicated=skipper-ingress
taints: dedicated=skipper-ingress:NoSchedule
- discount_strategy: spot
instance_types: ["m5a.large", "m5.large", "m5.xlarge", "m5a.xlarge", "t3.large", "t3.xlarge", "c5a.large", "c5a.xlarge"]
instance_types:
- "m6a.large"
- "m6i.large"
- "m5.large"
- "m5.xlarge"
- "m6a.xlarge"
- "m6i.xlarge"
- "c6i.large"
- "c6i.xlarge"
- "c6a.large"
- "c6a.xlarge"
min_size: 0
max_size: 3
profile: worker-splitaz
Expand Down Expand Up @@ -140,7 +164,8 @@ clusters:
taints: nvidia.com/gpu=present:NoSchedule
scaling_priority: "-200"
- discount_strategy: none
instance_types: ["m5.xlarge"]
instance_types:
- "m6i.xlarge"
min_size: 0
max_size: 3
profile: worker-splitaz
Expand All @@ -158,7 +183,8 @@ clusters:
labels: dedicated=worker-karpenter
taints: dedicated=worker-karpenter:NoSchedule
- discount_strategy: none
instance_types: ["m6g.large"]
instance_types:
- "m6g.large"
min_size: 0
max_size: 3
profile: worker-splitaz
Expand Down

0 comments on commit fbc4037

Please sign in to comment.