2020-11-16 04:28:07 -08:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: terra-lcd
|
|
|
|
name: terra-lcd
|
|
|
|
spec:
|
|
|
|
ports:
|
2020-11-16 08:45:17 -08:00
|
|
|
- name: lcd
|
2020-11-16 04:28:07 -08:00
|
|
|
port: 1317
|
2020-11-16 08:45:17 -08:00
|
|
|
protocol: TCP
|
2020-11-16 04:28:07 -08:00
|
|
|
selector:
|
|
|
|
app: terra-lcd
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: terra-terrad
|
|
|
|
name: terra-terrad
|
|
|
|
spec:
|
|
|
|
ports:
|
2020-11-16 08:45:17 -08:00
|
|
|
- name: rpc
|
2020-11-16 04:28:07 -08:00
|
|
|
port: 26657
|
2020-11-16 08:45:17 -08:00
|
|
|
protocol: TCP
|
2020-11-16 04:28:07 -08:00
|
|
|
selector:
|
|
|
|
app: terra-terrad
|
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: StatefulSet
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: terra-lcd
|
|
|
|
name: terra-lcd
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: terra-lcd
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: terra-lcd
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- args:
|
|
|
|
- terracli
|
|
|
|
- rest-server
|
|
|
|
- --laddr=tcp://0.0.0.0:1317
|
|
|
|
- --node=tcp://terra-terrad:26657
|
|
|
|
- --trust-node=true
|
|
|
|
- --unsafe-cors
|
2020-11-30 03:34:31 -08:00
|
|
|
image: terra-image
|
2020-11-16 04:28:07 -08:00
|
|
|
name: terra-lcd
|
|
|
|
ports:
|
|
|
|
- containerPort: 1317
|
2020-11-27 16:33:57 -08:00
|
|
|
readinessProbe:
|
|
|
|
tcpSocket:
|
|
|
|
port: 1317
|
2020-11-16 04:28:07 -08:00
|
|
|
restartPolicy: Always
|
2020-11-16 08:45:17 -08:00
|
|
|
serviceName: terra-lcd
|
2020-11-16 04:28:07 -08:00
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: StatefulSet
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: terra-terrad
|
|
|
|
name: terra-terrad
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: terra-terrad
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: terra-terrad
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- args:
|
|
|
|
- terrad
|
|
|
|
- start
|
2020-11-30 03:34:31 -08:00
|
|
|
image: terra-image
|
2020-11-16 04:28:07 -08:00
|
|
|
name: terra-terrad
|
|
|
|
ports:
|
|
|
|
- containerPort: 26657
|
2020-11-27 16:33:57 -08:00
|
|
|
readinessProbe:
|
|
|
|
httpGet:
|
|
|
|
port: 26657
|
2020-11-16 04:28:07 -08:00
|
|
|
resources: {}
|
2020-12-03 05:37:23 -08:00
|
|
|
- name: terra-contracts
|
|
|
|
image: terra-contracts
|
2020-11-16 04:28:07 -08:00
|
|
|
restartPolicy: Always
|
2020-11-16 08:45:17 -08:00
|
|
|
serviceName: terra-terrad
|