0g-chain/deployment/job.yml

37 lines
919 B
YAML
Raw Normal View History

2018-05-19 21:54:37 +00:00
apiVersion: batch/v1
kind: Job
metadata:
2018-06-23 23:51:32 +00:00
name: kava-init-data2
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-23 23:51:32 +00:00
image: kava/kava-init
2018-05-19 21:54:37 +00:00
volumeMounts:
2018-06-23 23:51:32 +00:00
- name: kava-persistent-storage-kvd
mountPath: /root/.kvd
- name: kava-persistent-storage-kvcli
mountPath: /root/.kvcli
- name: user-keys
mountPath: /init-data/
- name: node-config
mountPath: /init-data/.kvd/config/
2018-05-19 21:54:37 +00:00
restartPolicy: Never
volumes:
2018-06-23 23:51:32 +00:00
- name: kava-persistent-storage-kvd
2018-05-19 21:54:37 +00:00
persistentVolumeClaim:
2018-06-23 23:51:32 +00:00
claimName: kava-pvc-kvd2
- name: kava-persistent-storage-kvcli
2018-05-19 21:54:37 +00:00
persistentVolumeClaim:
2018-06-23 23:51:32 +00:00
claimName: kava-pvc-kvcli2
- name: user-keys
secret:
secretName: kava-user-keys
- name: node-config
secret:
secretName: kava-node-config