forked from atticlab/wormhole
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathweb.yaml
More file actions
46 lines (46 loc) · 791 Bytes
/
web.yaml
File metadata and controls
46 lines (46 loc) · 791 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
---
apiVersion: v1
kind: Service
metadata:
name: web
labels:
app: web
spec:
ports:
- port: 3000
name: rpc
protocol: TCP
clusterIP: None
selector:
app: web
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: web
spec:
selector:
matchLabels:
app: web
serviceName: web
replicas: 1
template:
metadata:
labels:
app: web
spec:
terminationGracePeriodSeconds: 1
containers:
- name: web
image: web
command:
- /usr/local/bin/npm
- start
tty: true
ports:
- containerPort: 3000
name: react-devserver
protocol: TCP
readinessProbe:
httpGet:
port: react-devserver