-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path0l-explorer.yml
48 lines (48 loc) · 1.07 KB
/
0l-explorer.yml
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
apiVersion: v1
kind: Service
metadata:
name: "ol-explorer-service"
spec:
ports:
- port: 3027
nodePort: 32322
protocol: TCP
type: NodePort
selector:
app: "ol-explorer"
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ol-explorer-deployment
labels:
app: ol-explorer
spec:
replicas: 3
selector:
matchLabels:
app: ol-explorer
template:
metadata:
labels:
app: ol-explorer
spec:
containers:
- name: ol-explorer
env:
- name: PORT
value: "3027"
- name: NODE_HOSTNAME
value: $NODE_HOSTNAME$
- name: PERMISSION_TREE_API_PRIVATE_URL
value: $PERMISSION_TREE_API_PRIVATE_URL$
- name: PERMISSION_TREE_API_PUBLIC_URL
value: $PERMISSION_TREE_API_PUBLIC_URL$
- name: GA_MEASUREMENT_ID
value: $GA_MEASUREMENT_ID$
- name: VALIDATOR_DIEM_PROMETHEUS_HOST
value: $VALIDATOR_DIEM_PROMETHEUS_HOST$
image: $CONTAINER_IMAGE$
ports:
- containerPort: 3027
imagePullPolicy: "Always"