summaryrefslogtreecommitdiffstats
path: root/clover/test/istio
diff options
context:
space:
mode:
Diffstat (limited to 'clover/test/istio')
-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