mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
30 lines
724 B
YAML
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
|