mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
32 lines
635 B
YAML
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
|