2018-05-19 21:54:37 +00:00
|
|
|
apiVersion: apps/v1beta2
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
2018-06-07 13:38:08 +00:00
|
|
|
name: kava-lcd-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-lcd
|
2018-05-19 21:54:37 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
2018-06-07 13:38:08 +00:00
|
|
|
app: kava-lcd
|
2018-05-19 21:54:37 +00:00
|
|
|
spec:
|
|
|
|
containers:
|
2018-06-07 13:38:08 +00:00
|
|
|
- name: gaiacli-lcd
|
2018-06-04 12:12:34 +00:00
|
|
|
image: kava/cosmos-sdk:ilp-demo
|
2018-06-07 13:38:08 +00:00
|
|
|
command: ["gaiacli", "rest-server", "--chain-id=kava", "--node=kava-d-service:46657", "--laddr=tcp://0.0.0.0:1317"]
|
2018-05-19 21:54:37 +00:00
|
|
|
ports:
|
2018-06-07 13:38:08 +00:00
|
|
|
- containerPort: 1317
|
2018-05-19 21:54:37 +00:00
|
|
|
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:
|
2018-06-07 13:38:08 +00:00
|
|
|
claimName: kava-pvc-gaiacli
|