forked from tonwhales/ton-raw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment-worker.yaml
35 lines (35 loc) · 918 Bytes
/
deployment-worker.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: ton-chain-worker-deployment
labels:
app: ton-chain-worker
spec:
replicas: 1
selector:
matchLabels:
app: ton-chain-worker
template:
metadata:
labels:
app: ton-chain-worker
spec:
containers:
- name: ton-chain-worker
image: <image>
env:
- name: ROLE
value: worker
- name: TON_HISTORICAL
value: https://scalable-api.tonwhales.com/jsonRPC
- name: TON_ENDPOINTS
value: https://node-1.servers.tonwhales.com/jsonRPC,https://node-2.servers.tonwhales.com/jsonRPC
- name: STORAGE
valueFrom:
secretKeyRef:
name: atlas-cluster
key: connection
ports:
- containerPort: 3000
imagePullSecrets:
- name: regcred