Skip to content

Commit

Permalink
gateway
Browse files Browse the repository at this point in the history
Signed-off-by: Deepanshu Yadav <[email protected]>
  • Loading branch information
deepanshu-yadav committed Nov 28, 2023
1 parent 3847ffa commit 86c6bd1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions istio/simple/gateway-nodejs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: nodejs-gateway
spec:
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: nodejs-service
spec:
hosts:
- "*"
gateways:
- nodejs-gateway
http:
- route:
- destination:
host: nodejs-service
port:
number: 3000

0 comments on commit 86c6bd1

Please sign in to comment.