diff options
author | earrage <eddie.arrage@huawei.com> | 2018-11-09 11:57:22 -0800 |
---|---|---|
committer | earrage <eddie.arrage@huawei.com> | 2018-11-09 11:58:30 -0800 |
commit | f9a0e3cea4ac15c0be8eb9ba82776773e4403079 (patch) | |
tree | 81711c73f16f5cf4f37898c2c8e9e5b94b34821e /samples/scenarios/service_delivery_controller.yaml | |
parent | a75b22a451908f7af46fd02800c92dc9143facb4 (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/scenarios/service_delivery_controller.yaml')
-rw-r--r-- | samples/scenarios/service_delivery_controller.yaml | 44 |
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 |