Skip to content

Commit 69a7514

Browse files
authored
[RHOAIENG-7919] add kserve-local-gateway Gateway and Service (#1056)
* This PR creates kserver-local-gateway Gateway and Service object. Jira: https://issues.redhat.com/browse/RHOAIENG-7919 ADR: opendatahub-io/architecture-decision-records#45 --------- Signed-off-by: jooho lee <[email protected]>
1 parent f3e6a13 commit 69a7514

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This Gateway is used for KServe internal communication. Each InferenceService (ISVC) will update this Gateway, particularly by adding a Server that includes TLS settings, hosts, and port configurations. This Gateway is created by the OpenDataHub Operator as a feature, but it will not be managed by the OpenDataHub Operator after its creation.
2+
apiVersion: networking.istio.io/v1beta1
3+
kind: Gateway
4+
metadata:
5+
name: kserve-local-gateway
6+
namespace: {{ .ControlPlane.Namespace }}
7+
spec:
8+
selector:
9+
knative: ingressgateway
10+
servers:
11+
- hosts:
12+
- 'default.host'
13+
port:
14+
name: https
15+
number: 8445
16+
protocol: HTTPS
17+
tls:
18+
mode: ISTIO_MUTUAL
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
labels:
5+
experimental.istio.io/disable-gateway-port-translation: "true"
6+
name: kserve-local-gateway
7+
namespace: {{ .ControlPlane.Namespace }}
8+
spec:
9+
ports:
10+
- name: https
11+
protocol: TCP
12+
port: 443
13+
targetPort: 8445
14+
selector:
15+
knative: ingressgateway
16+
type: ClusterIP

0 commit comments

Comments
 (0)