mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
27 lines
731 B
YAML
27 lines
731 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: start-new-chain-job
|
|
labels:
|
|
app: kava
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: run-init
|
|
image: kava/cosmos-sdk:ilp-demo
|
|
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
|