ml-quantum-tensorflow-py/kubeflow/kfapp/kustomize/pipelines-ui/overlays/istio/virtual-service.yaml
2020-04-06 17:23:26 -07:00

43 lines
798 B
YAML

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: ml-pipeline-tensorboard-ui
spec:
gateways:
- kubeflow-gateway
hosts:
- '*'
http:
- match:
- uri:
prefix: /data
rewrite:
uri: /data
route:
- destination:
host: $(tensorboard-service).$(ui-namespace).svc.$(ui-clusterDomain)
port:
number: 80
timeout: 300s
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: ml-pipeline-ui
spec:
gateways:
- kubeflow-gateway
hosts:
- '*'
http:
- match:
- uri:
prefix: /pipeline
rewrite:
uri: /pipeline
route:
- destination:
host: $(service).$(ui-namespace).svc.$(ui-clusterDomain)
port:
number: 80
timeout: 300s