Skip to content

Commit

Permalink
[RHOAIENG-7919] add kserve-local-gateway Gateway and Service (opendat…
Browse files Browse the repository at this point in the history
…ahub-io#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 <jlee@redhat.com>
  • Loading branch information
Jooho authored Jun 26, 2024
1 parent f3e6a13 commit 69a7514
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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.
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: kserve-local-gateway
namespace: {{ .ControlPlane.Namespace }}
spec:
selector:
knative: ingressgateway
servers:
- hosts:
- 'default.host'
port:
name: https
number: 8445
protocol: HTTPS
tls:
mode: ISTIO_MUTUAL
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
labels:
experimental.istio.io/disable-gateway-port-translation: "true"
name: kserve-local-gateway
namespace: {{ .ControlPlane.Namespace }}
spec:
ports:
- name: https
protocol: TCP
port: 443
targetPort: 8445
selector:
knative: ingressgateway
type: ClusterIP

0 comments on commit 69a7514

Please sign in to comment.