forked from wormhole-foundation/wormhole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalgorand.yaml
62 lines (62 loc) · 1.27 KB
/
algorand.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
---
apiVersion: v1
kind: Service
metadata:
name: algorand
labels:
app: algorand
spec:
clusterIP: None
selector:
app: algorand
ports:
- name: algod
port: 4001
targetPort: algod
- name: kmd
port: 4002
targetPort: kmd
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: algorand
spec:
selector:
matchLabels:
app: algorand
serviceName: algorand
template:
metadata:
labels:
app: algorand
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 0
containers:
- name: algod
image: algorand
command:
- /bin/sh
- -c
- ./goal network start -r /network && sleep infinity
ports:
- containerPort: 4001
name: algod
protocol: TCP
readinessProbe:
tcpSocket:
port: 4001
- name: goal-kmd
image: algorand
command:
- /bin/sh
- -c
- ./goal kmd start -d /network/Node && ./goal account list && /setup/setup.sh && sleep infinity
ports:
- containerPort: 4002
name: kmd
protocol: TCP
readinessProbe:
tcpSocket:
port: 4002