diff --git a/test/traefik/install.sh b/test/traefik/install.sh index 62ce237c..ff9fab41 100755 --- a/test/traefik/install.sh +++ b/test/traefik/install.sh @@ -19,6 +19,9 @@ deployment: podAnnotations: "prometheus.io/port": "9000" "prometheus.io/scrape": "true" +service: + enabled: true + type: NodePort EOF kubectl -n traefik rollout status deployment/traefik diff --git a/test/traefik/test-canary.sh b/test/traefik/test-canary.sh index 8847bda9..b81693b6 100755 --- a/test/traefik/test-canary.sh +++ b/test/traefik/test-canary.sh @@ -17,7 +17,7 @@ spec: entryPoints: - web routes: - - match: Host(`app.example.com`) + - match: Host(\`app.example.com\`) kind: Rule services: - name: podinfo @@ -47,7 +47,7 @@ spec: annotations: test: test-annotation analysis: - interval: 60s + interval: 15s threshold: 15 maxWeight: 60 stepWeight: 10 @@ -76,6 +76,7 @@ spec: metadata: type: bash cmd: "curl -sd 'test' -H 'Host: app.example.com' http://traefik.traefik/token | grep token" + logCmdOutput: "true" - name: load-test url: http://flagger-loadtester.test/ timeout: 5s