wormhole/devnet/terra-devnet.yaml

63 lines
1.3 KiB
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
labels:
app: terra-terrad
name: terra-terrad
spec:
ports:
2022-02-11 18:43:52 -08:00
- name: rpc
port: 26657
protocol: TCP
- name: rest
port: 1317
protocol: TCP
selector:
app: terra-terrad
---
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:
2022-02-11 18:43:52 -08:00
- args:
- terrad
- start
image: terra-image
name: terra-terrad
ports:
- containerPort: 26657
- containerPort: 1317
readinessProbe:
httpGet:
port: 26657
resources: {}
- name: terra-contracts
image: terra-contracts
command:
- /bin/sh
- -c
- "sh /app/tools/deploy.sh && touch /app/tools/success && sleep infinity"
readinessProbe:
exec:
command:
- test
- -e
- "/app/tools/success"
initialDelaySeconds: 5
periodSeconds: 5
restartPolicy: Always
2020-11-16 08:45:17 -08:00
serviceName: terra-terrad