| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- apiVersion: v1
- kind: Pod
- metadata:
- name: pilot
- spec:
- containers:
- - name: pilot
- image: ubuntu:latest
- command: ["sleep"]
- args: ["infinity"]
- volumeMounts:
- - name: data
- mountPath: /home
- volumes:
- - name: data
- persistentVolumeClaim:
- claimName: pilot-pvc
-
- # ubuntu command line on the same network space with besu nodes
- # apiVersion: apps/v1
- # kind: Deployment
- # metadata:
- # name: pilot
- # labels: {
- # component: pilot
- # }
- # spec:
- # replicas: 1
- # selector:
- # matchLabels:
- # component: pilot
- # template:
- # metadata:
- # labels:
- # component: pilot
- # volumes:
- # - name: data
- # persistentVolumeClaim:
- # claimName: pilot-pvc
- # containers:
- # - name: pilot
- # image: ubuntu:latest
- # command: ["sleep"]
- # args: ["infinity"]
- # # volumeMounts:
- # # - mountPath: /host
- # # name: my-pv-storage
- # # - mountPath: /var/run
- # # name: host
|