Skip to content

Commit

Permalink
Merge pull request #359 from p2p-org/mbelt3/prod
Browse files Browse the repository at this point in the history
Mbelt3/prod
  • Loading branch information
rcrvano authored Mar 6, 2024
2 parents ac7002d + 3fa00b1 commit d18cedd
Show file tree
Hide file tree
Showing 13 changed files with 435 additions and 32 deletions.
8 changes: 8 additions & 0 deletions .helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,12 @@ helm diff upgrade --install mbelt-stage-moonriver-preloader .helm -f .helm/moonr
helm diff upgrade --install mbelt-stage-moonriver-block-processor .helm -f .helm/moonriver.stage.block-processor.yaml -n mbelt-stage
### Staking processor
helm diff upgrade --install mbelt-stage-moonriver-staking-processor .helm -f .helm/moonriver.stage.staking-processor.yaml -n mbelt-stage
# Manta
helm diff upgrade --install mbelt3-manta-balances-processor .helm -f .helm/manta.mbelt3.balances-processor.yaml -n mbelt3
helm diff upgrade --install mbelt3-manta-block-processor .helm -f .helm/manta.mbelt3.block-processor.yaml -n mbelt3
helm diff upgrade --install mbelt3-manta-identity-processor .helm -f .helm/manta.mbelt3.identity-processor.yaml -n mbelt3
helm diff upgrade --install mbelt3-manta-monitoring .helm -f .helm/manta.mbelt3.monitoring.yaml -n mbelt3
helm diff upgrade --install mbelt3-manta-preloader .helm -f .helm/manta.mbelt3.preloader.yaml -n mbelt3
helm diff upgrade --install mbelt3-manta-staking-processor .helm -f .helm/manta.mbelt3.staking-processor.yaml -n mbelt3
```
2 changes: 1 addition & 1 deletion .helm/kusama.mbelt3.block-processor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ vault:
role: "mbelt"
secret: "secret/mbelt/mbelt3_kusama"
additional_args:
- "--max_old_space_size=1000"
- "--max_old_space_size=8192"
env:
substrate_uri: ws://substrate-ws-proxy-prod.kusama.svc.cluster.local:9944
log_level: info
Expand Down
35 changes: 35 additions & 0 deletions .helm/manta.mbelt3.balances-processor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
environment: mbelt3-prod
replicas: 1
chain: manta
role: balances-processor
limits: {cpu: 250m, memory: 1000Mi}
requests: {cpu: 150m, memory: 1000Mi}
image: {repository: eu.gcr.io/substrate-infra/mbelt3_preloader, tag: b19fe24d469c7a12fe0f813d71fc9e28279b3f45}
port: 3000
metrics:
enabled: true
vault:
role: "mbelt"
secret: "secret/mbelt/mbelt3_manta"
additional_args:
- "--max_old_space_size=1000"
env:
substrate_uri: ws://substrate-ws-proxy-prod.manta.svc.cluster.local:9934
log_level: info
network_id: 77
mode: BALANCES_PROCESSOR
network: manta
ingress:
enabled: true
class: nginx-external
host: mbelt3-manta-balances-processor.polka.p2p.world
tls:
cluster_issuer: cloudflare-prod
secret: mbelt3-manta-balances-processor-polka-p2p-world
ssl_redirect: true
tolerations:
- key: cloud.google.com/gke-spot
operator: Equal
value: "true"
effect: NoSchedule
35 changes: 35 additions & 0 deletions .helm/manta.mbelt3.block-processor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
environment: mbelt3-prod
replicas: 1
chain: manta
role: block-processor
limits: {cpu: 450m, memory: 1000Mi}
requests: {cpu: 450m, memory: 1000Mi}
image: {repository: eu.gcr.io/substrate-infra/mbelt3_preloader, tag: b19fe24d469c7a12fe0f813d71fc9e28279b3f45}
port: 3000
metrics:
enabled: true
vault:
role: "mbelt"
secret: "secret/mbelt/mbelt3_manta"
additional_args:
- "--max_old_space_size=1000"
env:
substrate_uri: ws://substrate-ws-proxy-prod.manta.svc.cluster.local:9934
log_level: info
network_id: 77
mode: BLOCK_PROCESSOR
network: manta
ingress:
enabled: true
class: nginx-external
host: mbelt3-manta-block-processor.polka.p2p.world
tls:
cluster_issuer: cloudflare-prod
secret: mbelt3-manta-block-processor-polka-p2p-world
ssl_redirect: true
tolerations:
- key: cloud.google.com/gke-spot
operator: Equal
value: "true"
effect: NoSchedule
35 changes: 35 additions & 0 deletions .helm/manta.mbelt3.identity-processor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
environment: mbelt3-prod
replicas: 1
chain: manta
role: identity-processor
limits: {cpu: 250m, memory: 200Mi}
requests: {cpu: 150m, memory: 200Mi}
image: {repository: eu.gcr.io/substrate-infra/mbelt3_preloader, tag: b19fe24d469c7a12fe0f813d71fc9e28279b3f45}
port: 3000
metrics:
enabled: true
vault:
role: "mbelt"
secret: "secret/mbelt/mbelt3_manta"
additional_args:
- "--max_old_space_size=1000"
env:
substrate_uri: ws://substrate-ws-proxy-prod.manta.svc.cluster.local:9934
log_level: info
network_id: 77
mode: IDENTITY_PROCESSOR
network: manta
ingress:
enabled: true
class: nginx-external
host: mbelt3-manta-identity-processor.polka.p2p.world
tls:
cluster_issuer: cloudflare-prod
secret: mbelt3-manta-identity-processor-polka-p2p-world
ssl_redirect: true
tolerations:
- key: cloud.google.com/gke-spot
operator: Equal
value: "true"
effect: NoSchedule
30 changes: 30 additions & 0 deletions .helm/manta.mbelt3.monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
environment: mbelt3-prod
replicas: 1
chain: manta
role: monitoring
limits: {cpu: 200m, memory: 100Mi}
requests: {cpu: 100m, memory: 100Mi}
image: {repository: eu.gcr.io/substrate-infra/mbelt3_preloader, tag: b19fe24d469c7a12fe0f813d71fc9e28279b3f45}
port: 3000
metrics:
enabled: true
vault:
role: "mbelt"
secret: "secret/mbelt/mbelt3_manta"
env:
substrate_uri: ws://substrate-ws-proxy-prod.manta.svc.cluster.local:9934
restart_blocks_uri: http://mbelt-mbelt3-prod-manta-preloader.mbelt3.svc.cluster.local:80/restart-unprocessed-blocks
restart_rounds_uri: http://mbelt-mbelt3-prod-manta-preloader.mbelt3.svc.cluster.local:80/restart-unprocessed-rounds
restart_balances_uri: http://mbelt-mbelt3-prod-manta-preloader.mbelt3.svc.cluster.local:80/restart-balances
log_level: info
network_id: 77
mode: MONITORING
network: manta
ingress:
enabled: false
tolerations:
- key: cloud.google.com/gke-spot
operator: Equal
value: "true"
effect: NoSchedule
33 changes: 33 additions & 0 deletions .helm/manta.mbelt3.preloader.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
environment: mbelt3-prod
chain: manta
role: preloader
replicas: 1
image: {repository: eu.gcr.io/substrate-infra/mbelt3_preloader, tag: b19fe24d469c7a12fe0f813d71fc9e28279b3f45}
limits: {cpu: 200m, memory: 100Mi}
requests: {cpu: 100m, memory: 100Mi}
port: 3000
metrics:
enabled: true
vault:
role: "mbelt"
secret: "secret/mbelt/mbelt3_manta"
env:
substrate_uri: ws://substrate-ws-proxy-prod.manta.svc.cluster.local:9934
log_level: info
network_id: 77
mode: LISTENER
network: manta
ingress:
enabled: true
class: nginx-external
host: mbelt3-manta-preloader.polka.p2p.world
tls:
cluster_issuer: cloudflare-prod
secret: mbelt3-manta-preloader-polka-p2p-world
ssl_redirect: true
tolerations:
- key: cloud.google.com/gke-spot
operator: Equal
value: "true"
effect: NoSchedule
35 changes: 35 additions & 0 deletions .helm/manta.mbelt3.staking-processor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
environment: mbelt3-prod
chain: manta
role: staking-processor
replicas: 1
limits: {cpu: 450m, memory: 1000Mi}
requests: {cpu: 350m, memory: 1000Mi}
image: {repository: eu.gcr.io/substrate-infra/mbelt3_preloader, tag: b19fe24d469c7a12fe0f813d71fc9e28279b3f45}
port: 3000
metrics:
enabled: true
vault:
role: "mbelt"
secret: "secret/mbelt/mbelt3_manta"
additional_args:
- "--max_old_space_size=1000"
env:
substrate_uri: ws://substrate-ws-proxy-prod.manta.svc.cluster.local:9934
log_level: info
network_id: 77
mode: STAKING_PROCESSOR
network: manta
ingress:
enabled: true
class: nginx-external
host: mbelt3-manta-staking-processor.polka.p2p.world
tls:
cluster_issuer: cloudflare-prod
secret: mbelt3-manta-staking-processor-polka-p2p-world
ssl_redirect: true
tolerations:
- key: cloud.google.com/gke-spot
operator: Equal
value: "true"
effect: NoSchedule
2 changes: 1 addition & 1 deletion .helm/vara.mbelt3.block-processor.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
environment: mbelt3-prod
replicas: 1
replicas: 10
chain: vara
role: block-processor
limits: {cpu: 250m, memory: 1000Mi}
Expand Down
2 changes: 1 addition & 1 deletion .helm/vara.mbelt3.identity-processor.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
environment: mbelt3-prod
replicas: 0
replicas: 1
chain: vara
role: identity-processor
limits: {cpu: 250m, memory: 200Mi}
Expand Down
Loading

0 comments on commit d18cedd

Please sign in to comment.