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