0g-chain/deployment/job.yml

27 lines
731 B
YAML
Raw Normal View History

2018-05-19 21:54:37 +00:00
apiVersion: batch/v1
kind: Job
metadata:
name: start-new-chain-job
2018-06-07 13:38:08 +00:00
labels:
app: kava
2018-05-19 21:54:37 +00:00
spec:
template:
spec:
containers:
- name: run-init
2018-06-04 12:12:34 +00:00
image: kava/cosmos-sdk:ilp-demo
2018-05-19 21:54:37 +00:00
command: ["gaiad", "init", "--chain-id", "kava", "--name", "kava"]
volumeMounts:
- name: kava-persistent-storage-gaiad
mountPath: /root/.gaiad
- name: kava-persistent-storage-gaiacli
mountPath: /root/.gaiacli
restartPolicy: Never
volumes:
- name: kava-persistent-storage-gaiad
persistentVolumeClaim:
claimName: kava-pvc-gaiad
- name: kava-persistent-storage-gaiacli
persistentVolumeClaim:
claimName: kava-pvc-gaiacli