diff --git a/services/crypto/monerod/deployment.yaml b/services/crypto/monerod/deployment.yaml index b3f6f57..ce2904a 100644 --- a/services/crypto/monerod/deployment.yaml +++ b/services/crypto/monerod/deployment.yaml @@ -1,4 +1,4 @@ -# services/crypto/monerod/deployment.yaml +# services/crypto/monerod apiVersion: apps/v1 kind: Deployment metadata: @@ -49,16 +49,17 @@ spec: image: debian:bookworm-slim command: ["/data/monerod"] args: - - exec /data/monerod \ - --data-dir=/data \ - --non-interactive \ - --prune-blockchain \ - --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18081 \ - --confirm-external-bind \ - --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 + - --data-dir=/data + - --non-interactive + - --prune-blockchain + - --rpc-bind-ip=0.0.0.0 + - --rpc-bind-port=18081 + - --confirm-external-bind + - --p2p-bind-ip=0.0.0.0 + - --p2p-bind-port=18080 ports: - - { name: rpc, port: 18081, targetPort: 18081 } - - { name: p2p, port: 18080, targetPort: 18080 } + - { name: rpc, containerPort: 18081 } + - { name: p2p, containerPort: 18080 } # securityContext: # allowPrivilegeEscalation: false # readOnlyRootFilesystem: true diff --git a/services/crypto/monerod/service.yaml b/services/crypto/monerod/service.yaml index c60d8fd..bad32a0 100644 --- a/services/crypto/monerod/service.yaml +++ b/services/crypto/monerod/service.yaml @@ -10,3 +10,4 @@ spec: selector: { app: monerod } ports: - { name: rpc, port: 18081, targetPort: 18081 } + - { name: p2p, port: 18080, targetPort: 18080 } \ No newline at end of file