From 4ff67a85cec2a850c2e9b0242d02e303c75e382c Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Wed, 13 Feb 2019 00:51:44 +0200 Subject: [PATCH] Add configmap demo to podinfo --- charts/podinfo/templates/configmap.yaml | 2 +- charts/podinfo/values.yaml | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/charts/podinfo/templates/configmap.yaml b/charts/podinfo/templates/configmap.yaml index a93748fd..14b6a765 100644 --- a/charts/podinfo/templates/configmap.yaml +++ b/charts/podinfo/templates/configmap.yaml @@ -11,5 +11,5 @@ data: config.yaml: |- # http settings http-client-timeout: 1m - http-server-timeout: 30s + http-server-timeout: {{ .Values.httpServer.timeout }} http-server-shutdown-timeout: 5s diff --git a/charts/podinfo/values.yaml b/charts/podinfo/values.yaml index 3240abe5..2aaa0f3b 100644 --- a/charts/podinfo/values.yaml +++ b/charts/podinfo/values.yaml @@ -11,12 +11,12 @@ service: hpa: enabled: true minReplicas: 2 - maxReplicas: 4 + maxReplicas: 2 cpu: 80 memory: 512Mi canary: - enabled: false + enabled: true istioIngress: enabled: false # Istio ingress gateway name @@ -25,7 +25,7 @@ canary: host: analysis: # schedule interval (default 60s) - interval: 10s + interval: 15s # max number of failed metric checks before rollback threshold: 10 # max traffic percentage routed to canary @@ -42,7 +42,7 @@ canary: # milliseconds latency: 500 loadtest: - enabled: true + enabled: false # load tester address url: http://flagger-loadtester.test/ @@ -67,4 +67,7 @@ message: #UI greetings faults: delay: false - error: false \ No newline at end of file + error: false + +httpServer: + timeout: 30s