-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgotty-pod-dev.yaml
More file actions
46 lines (44 loc) · 837 Bytes
/
gotty-pod-dev.yaml
File metadata and controls
46 lines (44 loc) · 837 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
42
43
44
45
46
---
# Endpoints
apiVersion: v1
kind: Endpoints
metadata:
name: gotty-pod-test
namespace: ingress
subsets:
- addresses:
- ip: 192.168.10.234
ports:
- port: 7101
# Service
---
kind: Service
apiVersion: v1
metadata:
name: gotty-pod-test
namespace: ingress
spec:
ports:
- protocol: TCP
port: 80
targetPort: 7101
# Ingress
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: gotty-pod-test
namespace: ingress
annotations:
# traefik.ingress.kubernetes.io/redirect-entry-point: https
traefik.ingress.kubernetes.io/frontend-entry-points: auth
#kubernetes.io/ingress.class: test
spec:
rules:
- host: k8spod-test.haodai.net
http:
paths:
- path: /
backend:
serviceName: gotty-pod-test
servicePort: 80