summaryrefslogtreecommitdiffstats
path: root/clover/test/istio/sdc
diff options
context:
space:
mode:
authorStephen Wong <stephen.kf.wong@gmail.com>2018-04-25 06:27:52 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-25 06:27:52 +0000
commit4be1d24ba88619d677f2a616239da6fa29bdb78f (patch)
tree0324bdf55fb08ec95fdd72b9d4c7c4cd2c0876fd /clover/test/istio/sdc
parentef270f1c391f5a1ef8b79291b725c8e09f5b17d1 (diff)
parent6c5d33ba097c7cce07487db5a6fa306cb0e9cc8f (diff)
Merge "Experimental commit for A-B testing with Clover Fraser release and on the SDC application"
Diffstat (limited to 'clover/test/istio/sdc')
-rw-r--r--clover/test/istio/sdc/clover-server4-delay.yaml13
-rw-r--r--clover/test/istio/sdc/clover-server5-delay.yaml13
-rw-r--r--clover/test/istio/sdc/route-rule-lb-50-v2.yaml15
-rw-r--r--clover/test/istio/sdc/route-rule-lb-v1.yaml11
-rw-r--r--clover/test/istio/sdc/route-rule-lb-v2.yaml11
5 files changed, 63 insertions, 0 deletions
diff --git a/clover/test/istio/sdc/clover-server4-delay.yaml b/clover/test/istio/sdc/clover-server4-delay.yaml
new file mode 100644
index 0000000..32a9f6a
--- /dev/null
+++ b/clover/test/istio/sdc/clover-server4-delay.yaml
@@ -0,0 +1,13 @@
+apiVersion: config.istio.io/v1alpha2
+kind: RouteRule
+metadata:
+ name: clover-server4-delay
+ namespace: default
+spec:
+ destination:
+ name: clover-server4
+ httpFault:
+ delay:
+ fixedDelay: 1.000s
+ percent: 100
+ precedence: 2
diff --git a/clover/test/istio/sdc/clover-server5-delay.yaml b/clover/test/istio/sdc/clover-server5-delay.yaml
new file mode 100644
index 0000000..0c8bcd8
--- /dev/null
+++ b/clover/test/istio/sdc/clover-server5-delay.yaml
@@ -0,0 +1,13 @@
+apiVersion: config.istio.io/v1alpha2
+kind: RouteRule
+metadata:
+ name: clover-server5-delay
+ namespace: default
+spec:
+ destination:
+ name: clover-server5
+ httpFault:
+ delay:
+ fixedDelay: 1.000s
+ percent: 100
+ precedence: 2
diff --git a/clover/test/istio/sdc/route-rule-lb-50-v2.yaml b/clover/test/istio/sdc/route-rule-lb-50-v2.yaml
new file mode 100644
index 0000000..529da78
--- /dev/null
+++ b/clover/test/istio/sdc/route-rule-lb-50-v2.yaml
@@ -0,0 +1,15 @@
+apiVersion: config.istio.io/v1alpha2
+kind: RouteRule
+metadata:
+ name: lb-default
+spec:
+ destination:
+ name: http-lb
+ precedence: 1
+ route:
+ - labels:
+ version: v1
+ weight: 50
+ - labels:
+ version: v2
+ weight: 50
diff --git a/clover/test/istio/sdc/route-rule-lb-v1.yaml b/clover/test/istio/sdc/route-rule-lb-v1.yaml
new file mode 100644
index 0000000..a3cac3a
--- /dev/null
+++ b/clover/test/istio/sdc/route-rule-lb-v1.yaml
@@ -0,0 +1,11 @@
+apiVersion: config.istio.io/v1alpha2
+kind: RouteRule
+metadata:
+ name: lb-default
+spec:
+ destination:
+ name: http-lb
+ precedence: 1
+ route:
+ - labels:
+ version: v1
diff --git a/clover/test/istio/sdc/route-rule-lb-v2.yaml b/clover/test/istio/sdc/route-rule-lb-v2.yaml
new file mode 100644
index 0000000..23a3c8d
--- /dev/null
+++ b/clover/test/istio/sdc/route-rule-lb-v2.yaml
@@ -0,0 +1,11 @@
+apiVersion: config.istio.io/v1alpha2
+kind: RouteRule
+metadata:
+ name: lb-default
+spec:
+ destination:
+ name: http-lb
+ precedence: 1
+ route:
+ - labels:
+ version: v2