Skip to content

Commit

Permalink
Merge pull request #8256 from zalando-incubator/fix/topology-spread-t…
Browse files Browse the repository at this point in the history
…imeout

fix: topology spread timeout
  • Loading branch information
demonCoder95 authored Oct 1, 2024
2 parents 569474c + c4aaeb6 commit 27919a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion cluster/config-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,18 @@ skipper_ingress_max_replicas: "50"
{{end}}
skipper_ingress_cpu: "1000m"
skipper_ingress_memory: "1500Mi"

skipper_topology_spread_enabled: "true"
skipper_topology_spread_timeout: "7m"

# PHC
skipper_ingress_health_check_options: "period=10s,min-requests=10,min-drop-probability=0.05,max-drop-probability=0.9,max-unhealthy-endpoints-ratio=0.9"

# Enables deployment of canary version
skipper_ingress_canary_enabled: "true"
skipper_ingress_test_single_pod: "false"
skipper_canary_controller_enabled: "false"

# When set to true (and dedicated node pool for skipper is also true) the
# daemonset overhead will be subtracted from the cpu settings such
# that skipper will perfectly fit on the node.
Expand All @@ -98,9 +104,9 @@ skipper_ingress_binpack: "true"
{{else}}
skipper_ingress_binpack: "false"
{{end}}

# skipper node-pool
enable_dedicate_nodepool_skipper: "true"
skipper_topology_spread_enabled: "true"
{{if eq .Cluster.Environment "e2e"}}
skipper_attach_only_to_skipper_node_pool: "false"
{{else}}
Expand Down
4 changes: 2 additions & 2 deletions cluster/manifests/skipper/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ spec:
prometheus.io/path: /metrics
prometheus.io/port: "9911"
prometheus.io/scrape: "true"
{{- if eq .Cluster.ConfigItems.skipper_topology_spread_enabled "true" }}
zalando.org/topology-spread-timeout: 7m
{{- if and (eq .Cluster.ConfigItems.skipper_topology_spread_enabled "true") (ne .Cluster.ConfigItems.skipper_topology_spread_timeout "0")}}
zalando.org/topology-spread-timeout: {{ .Cluster.ConfigItems.skipper_topology_spread_timeout }}
{{- end }}
spec:
{{- if eq .Cluster.ConfigItems.skipper_topology_spread_enabled "true" }}
Expand Down

0 comments on commit 27919a3

Please sign in to comment.