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

32 lines
635 B
YAML

apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: kava-d-deployment2
labels:
app: kava
spec:
replicas: 1
selector:
matchLabels:
pod: kvd
template:
metadata:
labels:
app: kava
pod: kvd
spec:
containers:
- name: kvd
image: kava/kava
command: ["kvd", "start"]
ports:
- containerPort: 46656
- containerPort: 46657
volumeMounts:
- name: persistent-storage-kvd
mountPath: /root/.kvd
volumes:
- name: persistent-storage-kvd
persistentVolumeClaim:
claimName: kava-pvc-kvd2