Add model registry v0.2.19
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: DestinationRule
|
||||
metadata:
|
||||
name: model-registry-service
|
||||
spec:
|
||||
host: model-registry-service.kubeflow.svc.cluster.local
|
||||
trafficPolicy:
|
||||
tls:
|
||||
mode: ISTIO_MUTUAL
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: security.istio.io/v1beta1
|
||||
kind: AuthorizationPolicy
|
||||
metadata:
|
||||
name: model-registry-service
|
||||
spec:
|
||||
action: ALLOW
|
||||
selector:
|
||||
matchLabels:
|
||||
component: model-registry-server
|
||||
rules:
|
||||
- {}
|
||||
@@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- istio-authorization-policy.yaml
|
||||
- destination-rule.yaml
|
||||
- virtual-service.yaml
|
||||
@@ -0,0 +1,29 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: model-registry
|
||||
spec:
|
||||
gateways:
|
||||
- kubeflow-gateway
|
||||
hosts:
|
||||
- '*'
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /api/model_registry/
|
||||
route:
|
||||
- destination:
|
||||
host: model-registry-service.kubeflow.svc.cluster.local
|
||||
port:
|
||||
number: 8080
|
||||
- match:
|
||||
- port: 9090
|
||||
- authority:
|
||||
regex: model-registry-service(\..+)?(:9090)?
|
||||
- uri:
|
||||
prefix: /ml_metadata.MetadataStoreService/
|
||||
route:
|
||||
- destination:
|
||||
host: model-registry-service.kubeflow.svc.cluster.local
|
||||
port:
|
||||
number: 9090
|
||||
Reference in New Issue
Block a user