Skip to content

Commit 69606de

Browse files
author
Roman Zavodskikh
committed
Add a flag for canary-only skipper-ingress deployment
Signed-off-by: Roman Zavodskikh <[email protected]>
1 parent 82770db commit 69606de

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

cluster/config-defaults.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ skipper_ingress_memory: "1500Mi"
7777

7878
# Enables deployment of canary version
7979
skipper_ingress_canary_enabled: "true"
80+
skipper_ingress_test_single_pod: "false"
8081

8182
# When set to true (and dedicated node pool for skipper is also true) the
8283
# daemonset overhead will be subtracted from the cpu settings such

cluster/manifests/skipper/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ metadata:
3939
spec:
4040
{{ if index . "replicas" }}
4141
replicas: {{ .replicas }}
42+
{{ else if eq .Cluster.ConfigItems.skipper_ingress_test_single_pod "true" }}
43+
replicas: 0
4244
{{ end }}
4345
strategy:
4446
rollingUpdate:

0 commit comments

Comments
 (0)