mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
address PR review comments and remove unnecessary configuration from Canary CR in e2e tests
This commit is contained in:
@@ -100,11 +100,6 @@ spec:
|
||||
service:
|
||||
port: 9898
|
||||
portDiscovery: true
|
||||
apex:
|
||||
annotations:
|
||||
test: "annotations-test"
|
||||
labels:
|
||||
test: "labels-test"
|
||||
headers:
|
||||
request:
|
||||
add:
|
||||
@@ -116,26 +111,6 @@ spec:
|
||||
threshold: 15
|
||||
maxWeight: 30
|
||||
stepWeight: 10
|
||||
metrics:
|
||||
- name: request-success-rate
|
||||
thresholdRange:
|
||||
min: 99
|
||||
interval: 1m
|
||||
- name: latency
|
||||
templateRef:
|
||||
name: latency
|
||||
namespace: istio-system
|
||||
thresholdRange:
|
||||
max: 500
|
||||
interval: 1m
|
||||
webhooks:
|
||||
- name: load-test
|
||||
url: http://flagger-loadtester.test/
|
||||
timeout: 5s
|
||||
metadata:
|
||||
type: cmd
|
||||
cmd: "hey -z 10m -q 10 -c 2 http://podinfo.test:9898/"
|
||||
logCmdOutput: "true"
|
||||
EOF
|
||||
|
||||
echo '>>> Waiting for primary to be ready'
|
||||
|
||||
@@ -103,11 +103,6 @@ spec:
|
||||
service:
|
||||
port: 9898
|
||||
portDiscovery: true
|
||||
apex:
|
||||
annotations:
|
||||
test: "annotations-test"
|
||||
labels:
|
||||
test: "labels-test"
|
||||
headers:
|
||||
request:
|
||||
add:
|
||||
@@ -119,26 +114,6 @@ spec:
|
||||
threshold: 15
|
||||
maxWeight: 30
|
||||
stepWeight: 10
|
||||
metrics:
|
||||
- name: request-success-rate
|
||||
thresholdRange:
|
||||
min: 99
|
||||
interval: 1m
|
||||
- name: latency
|
||||
templateRef:
|
||||
name: latency
|
||||
namespace: istio-system
|
||||
thresholdRange:
|
||||
max: 500
|
||||
interval: 1m
|
||||
webhooks:
|
||||
- name: load-test
|
||||
url: http://flagger-loadtester.test/
|
||||
timeout: 5s
|
||||
metadata:
|
||||
type: cmd
|
||||
cmd: "hey -z 10m -q 10 -c 2 http://podinfo.test:9898/"
|
||||
logCmdOutput: "true"
|
||||
EOF
|
||||
|
||||
echo '>>> Waiting for primary to be ready'
|
||||
|
||||
@@ -113,11 +113,6 @@ spec:
|
||||
service:
|
||||
port: 9898
|
||||
portDiscovery: true
|
||||
apex:
|
||||
annotations:
|
||||
test: "annotations-test"
|
||||
labels:
|
||||
test: "labels-test"
|
||||
headers:
|
||||
request:
|
||||
add:
|
||||
@@ -129,26 +124,6 @@ spec:
|
||||
threshold: 15
|
||||
maxWeight: 30
|
||||
stepWeight: 10
|
||||
metrics:
|
||||
- name: request-success-rate
|
||||
thresholdRange:
|
||||
min: 99
|
||||
interval: 1m
|
||||
- name: latency
|
||||
templateRef:
|
||||
name: latency
|
||||
namespace: istio-system
|
||||
thresholdRange:
|
||||
max: 500
|
||||
interval: 1m
|
||||
webhooks:
|
||||
- name: load-test
|
||||
url: http://flagger-loadtester.test/
|
||||
timeout: 5s
|
||||
metadata:
|
||||
type: cmd
|
||||
cmd: "hey -z 10m -q 10 -c 2 http://podinfo.test:9898/"
|
||||
logCmdOutput: "true"
|
||||
EOF
|
||||
|
||||
echo '>>> Waiting for primary to be ready'
|
||||
|
||||
@@ -115,11 +115,6 @@ spec:
|
||||
service:
|
||||
port: 9898
|
||||
portDiscovery: true
|
||||
apex:
|
||||
annotations:
|
||||
test: "annotations-test"
|
||||
labels:
|
||||
test: "labels-test"
|
||||
headers:
|
||||
request:
|
||||
add:
|
||||
@@ -131,26 +126,6 @@ spec:
|
||||
threshold: 15
|
||||
maxWeight: 30
|
||||
stepWeight: 10
|
||||
metrics:
|
||||
- name: request-success-rate
|
||||
thresholdRange:
|
||||
min: 99
|
||||
interval: 1m
|
||||
- name: latency
|
||||
templateRef:
|
||||
name: latency
|
||||
namespace: istio-system
|
||||
thresholdRange:
|
||||
max: 500
|
||||
interval: 1m
|
||||
webhooks:
|
||||
- name: load-test
|
||||
url: http://flagger-loadtester.test/
|
||||
timeout: 5s
|
||||
metadata:
|
||||
type: cmd
|
||||
cmd: "hey -z 10m -q 10 -c 2 http://podinfo.test:9898/"
|
||||
logCmdOutput: "true"
|
||||
EOF
|
||||
|
||||
echo '>>> Waiting for primary to be ready'
|
||||
|
||||
@@ -139,11 +139,6 @@ spec:
|
||||
service:
|
||||
port: 9898
|
||||
portDiscovery: true
|
||||
apex:
|
||||
annotations:
|
||||
test: "annotations-test"
|
||||
labels:
|
||||
test: "labels-test"
|
||||
headers:
|
||||
request:
|
||||
add:
|
||||
@@ -155,26 +150,6 @@ spec:
|
||||
threshold: 15
|
||||
maxWeight: 30
|
||||
stepWeight: 10
|
||||
metrics:
|
||||
- name: request-success-rate
|
||||
thresholdRange:
|
||||
min: 99
|
||||
interval: 1m
|
||||
- name: latency
|
||||
templateRef:
|
||||
name: latency
|
||||
namespace: istio-system
|
||||
thresholdRange:
|
||||
max: 500
|
||||
interval: 1m
|
||||
webhooks:
|
||||
- name: load-test
|
||||
url: http://flagger-loadtester.test/
|
||||
timeout: 5s
|
||||
metadata:
|
||||
type: cmd
|
||||
cmd: "hey -z 10m -q 10 -c 2 http://podinfo.test:9898/"
|
||||
logCmdOutput: "true"
|
||||
EOF
|
||||
|
||||
echo '>>> Waiting for primary to be ready'
|
||||
|
||||
Reference in New Issue
Block a user