0g-chain/deployment/deployment.yml

42 lines
1.0 KiB
YAML
Raw Normal View History

2018-05-19 21:54:37 +00:00
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: kava-deployment
labels:
app: kava
spec:
replicas: 1
selector:
matchLabels:
app: kava
template:
metadata:
labels:
app: kava
spec:
containers:
- name: gaiad
2018-06-04 12:12:34 +00:00
image: kava/cosmos-sdk:ilp-demo
2018-05-19 21:54:37 +00:00
command: ["gaiad", "start"]
ports:
- containerPort: 46656
- containerPort: 46657
volumeMounts:
- name: kava-persistent-storage-gaiad
mountPath: /root/.gaiad
- name: kava-persistent-storage-gaiacli
mountPath: /root/.gaiacli
- name: kava-config-map-volume
mountPath: /root/gaia/.gaiad/config
volumes:
- name: kava-persistent-storage-gaiad
persistentVolumeClaim:
claimName: kava-pvc-gaiad
- name: kava-persistent-storage-gaiacli
persistentVolumeClaim:
claimName: kava-pvc-gaiacli
- name: kava-config-map-volume
configMap:
name: kava-config-map