forked from polymerdao/ibc-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.yaml
44 lines (44 loc) · 859 Bytes
/
deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: ibc-explorer
labels:
app: ibc-explorer
spec:
replicas: 1
selector:
matchLabels:
app: ibc-explorer
template:
metadata:
labels:
app: ibc-explorer
spec:
containers:
- name: ibc-explorer
image: ghcr.io/polymerdao/ibc-explorer:v0.0.2-alpha-26
resources:
limits:
cpu: '1'
memory: '2000Mi'
requests:
cpu: '1'
memory: '1000Mi'
ports:
- containerPort: 3000
env:
- name: API_URL
value: http://peptide:26657
---
apiVersion: v1
kind: Service
metadata:
name: ibc-explorer
spec:
type: LoadBalancer
selector:
app: ibc-explorer
ports:
- protocol: TCP
port: 80
targetPort: 3000