mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
36 lines
857 B
YAML
36 lines
857 B
YAML
apiVersion: apps/v1beta2
|
|
kind: Deployment
|
|
metadata:
|
|
name: kava-d-deployment
|
|
labels:
|
|
app: kava
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: kava-d
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: kava-d
|
|
spec:
|
|
containers:
|
|
- name: gaiad
|
|
image: kava/cosmos-sdk:ilp-demo
|
|
command: ["gaiad", "start"]
|
|
ports:
|
|
- containerPort: 46656
|
|
- containerPort: 46657
|
|
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:
|
|
claimName: kava-pvc-gaiacli
|