-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8s.yaml
64 lines (64 loc) · 1.12 KB
/
k8s.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: silph-grid
name: silph-grid
spec:
replicas: 1
selector:
matchLabels:
app: silph-grid
strategy: {}
minReadySeconds: 10
template:
metadata:
creationTimestamp: null
labels:
app: silph-grid
spec:
containers:
- image: silph/silph-grid:latest
imagePullPolicy: Always
name: silph-grid
ports:
- containerPort: 8081
resources: {}
restartPolicy: Always
serviceAccountName: ""
status: {}
---
apiVersion: v1
kind: Service
metadata:
name: silph-grid
labels:
app: silph-grid
spec:
ports:
- port: 80
protocol: TCP
targetPort: 8081
selector:
app: silph-grid
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: silph-grid
annotations:
kubernetes.io/tls-acme: "true"
spec:
tls:
- hosts:
- grid.silph.io
secretName: grid-tls
rules:
- host: grid.silph.io
http:
paths:
- path: /
backend:
serviceName: silph-grid
servicePort: 80