mirror of https://github.com/fluxcd/flagger.git
e2e: Expose traefik as NodePort
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
371e177ff3
commit
0d2163cd94
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue