Skip to content

Commit

Permalink
Merge pull request #7117 from zalando-incubator/skipper/have-only-canary
Browse files Browse the repository at this point in the history
Make canary-only configuration for skipper-ingress possible
  • Loading branch information
szuecs authored Mar 5, 2024
2 parents 82770db + 69606de commit 744d80f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cluster/config-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ skipper_ingress_memory: "1500Mi"

# Enables deployment of canary version
skipper_ingress_canary_enabled: "true"
skipper_ingress_test_single_pod: "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
Expand Down
2 changes: 2 additions & 0 deletions cluster/manifests/skipper/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ metadata:
spec:
{{ if index . "replicas" }}
replicas: {{ .replicas }}
{{ else if eq .Cluster.ConfigItems.skipper_ingress_test_single_pod "true" }}
replicas: 0
{{ end }}
strategy:
rollingUpdate:
Expand Down

0 comments on commit 744d80f

Please sign in to comment.