-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb-server-test-istio.yml
More file actions
42 lines (40 loc) · 868 Bytes
/
web-server-test-istio.yml
File metadata and controls
42 lines (40 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
### File : web-server-test-istio.yml
### Description : Test pod for testing installed kubernetes
### Author : Michael Yasko
### Version history :
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: n0wm-ws-test-gateway
namespace: n0wm-ws-test
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "n0wm-ws-test-istio.local.net"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: n0wm-ws-test-vsvc
namespace: n0wm-ws-test
spec:
hosts:
- "n0wm-ws-test-istio.local.net"
gateways:
- n0wm-ws-test-gateway
http:
- match:
- uri:
prefix: /
route:
- destination:
host: n0wm-ws-test
port:
number: 8000
#EOF