get it working monerod
This commit is contained in:
parent
9b9e78b791
commit
a44ac5768e
@ -47,7 +47,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: monerod
|
- name: monerod
|
||||||
image: debian:bookworm-slim
|
image: debian:bookworm-slim
|
||||||
command: ["/bin/sh","-c"]
|
command: ["/data/monerod"]
|
||||||
args:
|
args:
|
||||||
- exec /data/monerod \
|
- exec /data/monerod \
|
||||||
--data-dir=/data \
|
--data-dir=/data \
|
||||||
@ -57,23 +57,23 @@ spec:
|
|||||||
--confirm-external-bind \
|
--confirm-external-bind \
|
||||||
--p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080
|
--p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080
|
||||||
ports:
|
ports:
|
||||||
- { containerPort: 18081, name: rpc }
|
- { name: rpc, port: 18081, targetPort: 18081 }
|
||||||
- { containerPort: 18080, name: p2p }
|
- { name: p2p, port: 18080, targetPort: 18080 }
|
||||||
securityContext:
|
# securityContext:
|
||||||
allowPrivilegeEscalation: false
|
# allowPrivilegeEscalation: false
|
||||||
readOnlyRootFilesystem: true
|
# readOnlyRootFilesystem: true
|
||||||
runAsNonRoot: true
|
# runAsNonRoot: true
|
||||||
runAsUser: 1000
|
# runAsUser: 1000
|
||||||
capabilities: { drop: ["ALL"] }
|
# capabilities: { drop: ["ALL"] }
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet: { path: /get_info, port: 18081 }
|
httpGet: { path: /get_info, port: 18081 }
|
||||||
initialDelaySeconds: 90
|
initialDelaySeconds: 120
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
timeoutSeconds: 3
|
timeoutSeconds: 3
|
||||||
failureThreshold: 6
|
failureThreshold: 6
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet: { path: /get_info, port: 18081 }
|
httpGet: { path: /get_info, port: 18081 }
|
||||||
initialDelaySeconds: 180
|
initialDelaySeconds: 300
|
||||||
periodSeconds: 20
|
periodSeconds: 20
|
||||||
timeoutSeconds: 3
|
timeoutSeconds: 3
|
||||||
failureThreshold: 6
|
failureThreshold: 6
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user