0g-chain/deployment/deployments/deployment-lcd.yml
rhuairahrighairigh a91f86cd72 add new deployment
2018-06-24 00:51:32 +01:00

30 lines
724 B
YAML

apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: kava-lcd-deployment2
labels:
app: kava
spec:
replicas: 1
selector:
matchLabels:
pod: kvcli-lcd
template:
metadata:
labels:
app: kava
pod: kvcli-lcd
spec:
containers:
- name: kvcli-lcd
image: kava/kava
command: ["kvcli", "rest-server", "--chain-id=test-kava", "--node=kava-d-service2:46657", "--laddr=tcp://0.0.0.0:1317"]
ports:
- containerPort: 1317
volumeMounts:
- name: persistent-storage-kvcli
mountPath: /root/.kvcli
volumes:
- name: persistent-storage-kvcli
persistentVolumeClaim:
claimName: kava-pvc-kvcli2