2018-05-19 21:54:37 +00:00
|
|
|
apiVersion: apps/v1beta2
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
2018-06-07 13:38:08 +00:00
|
|
|
name: kava-d-deployment
|
2018-05-19 21:54:37 +00:00
|
|
|
labels:
|
|
|
|
app: kava
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
2018-06-07 13:38:08 +00:00
|
|
|
app: kava-d
|
2018-05-19 21:54:37 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
2018-06-07 13:38:08 +00:00
|
|
|
app: kava-d
|
2018-05-19 21:54:37 +00:00
|
|
|
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
|
|
|
|
volumes:
|
|
|
|
- name: kava-persistent-storage-gaiad
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: kava-pvc-gaiad
|
|
|
|
- name: kava-persistent-storage-gaiacli
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: kava-pvc-gaiacli
|