summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorearrage <eddie.arrage@huawei.com>2018-11-09 11:57:22 -0800
committerEddie Arrage <eddie.arrage@huawei.com>2018-11-09 20:00:01 +0000
commite6b28a2822965493c63179bbfb9851267c896151 (patch)
treece10ca3c91f4294b4504dd4168ef84d385cb8a40 /samples
parent79bb4023420396130c97f0ed8da2045400c1d7a3 (diff)
Refresh SDC guide for Istio 1.0
- Add description of new VirtualService and Gateway resources in Istio 1.0 - Modify manual inject commands to match Istio 1.0 - Update tracing UI graphic with Jaeger that is integrated with Istio 1.0 - Update Istio pod listing - Update how to expose Prometheus and Jaeger - Fix the commands to remove Istio 1.0 - Modify SDC yaml for local Docker registry case Change-Id: I51e2b876699eae48714e94e33e56191364a0dbe5 Signed-off-by: earrage <eddie.arrage@huawei.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/scenarios/service_delivery_controller.yaml44
1 files changed, 32 insertions, 12 deletions
diff --git a/samples/scenarios/service_delivery_controller.yaml b/samples/scenarios/service_delivery_controller.yaml
index 34e2df0..9f37f1b 100644
--- a/samples/scenarios/service_delivery_controller.yaml
+++ b/samples/scenarios/service_delivery_controller.yaml
@@ -366,18 +366,38 @@ spec:
selector:
app: proxy-access-control
---
-apiVersion: extensions/v1beta1
-kind: Ingress
+apiVersion: networking.istio.io/v1alpha3
+kind: Gateway
metadata:
- name: proxy-gateway
- annotations:
- kubernetes.io/ingress.class: "istio"
+ name: sdc-gateway
spec:
- rules:
- - http:
- paths:
- - path:
- backend:
- serviceName: proxy-access-control
- servicePort: 9180
+ selector:
+ istio: ingressgateway # use istio default controller
+ servers:
+ - port:
+ number: 80
+ name: http
+ protocol: HTTP
+ hosts:
+ - "*"
---
+apiVersion: networking.istio.io/v1alpha3
+kind: VirtualService
+metadata:
+ name: sdcsample
+spec:
+ hosts:
+ - "*"
+ gateways:
+ - sdc-gateway
+ http:
+ - match:
+ - uri:
+ prefix: /
+ route:
+ - destination:
+ host: proxy-access-control
+ port:
+ number: 9180
+ mirror:
+ host: snort-ids