|
| 1 | +# Ansible managed. Don't change this file manually. Template info: /vendor/collections/ansible_collections/ethpandaops/general/roles/generate_kubernetes_config/templates/erpc.yaml.j2 |
| 2 | + |
| 3 | +erpc: |
| 4 | + fullnameOverride: erpc |
| 5 | + image: |
| 6 | + repository: docker.ethquokkaops.io/gh/erpc/erpc |
| 7 | + tag: main |
| 8 | + pullPolicy: IfNotPresent |
| 9 | + resources: |
| 10 | + limits: |
| 11 | + cpu: 500m |
| 12 | + memory: 1Gi |
| 13 | + requests: |
| 14 | + cpu: 250m |
| 15 | + memory: 256Mi |
| 16 | + ingress: |
| 17 | + enabled: true |
| 18 | + className: ingress-nginx-public |
| 19 | + hosts: |
| 20 | + - host: rpc.perf-devnet-1.ethpandaops.io |
| 21 | + paths: |
| 22 | + - path: / |
| 23 | + pathType: Prefix |
| 24 | + |
| 25 | + config: | |
| 26 | + logLevel: info |
| 27 | +
|
| 28 | + database: |
| 29 | + evmJsonRpcCache: |
| 30 | + connectors: |
| 31 | + - id: memory-cache |
| 32 | + driver: memory # Refer to "memory" driver docs below |
| 33 | + memory: |
| 34 | + maxItems: 100000 |
| 35 | + policies: |
| 36 | + # Cache all methods with finalized data including empty responses |
| 37 | + - network: "*" |
| 38 | + method: "*" |
| 39 | + finality: finalized |
| 40 | + empty: allow |
| 41 | + connector: memory-cache |
| 42 | + ttl: 0 |
| 43 | + # Cache unfinalized data only for 5 seconds (getLogs of a recent block) except empty responses |
| 44 | + - network: "*" |
| 45 | + method: "*" |
| 46 | + finality: unfinalized |
| 47 | + empty: ignore |
| 48 | + connector: memory-cache |
| 49 | + ttl: 5s |
| 50 | + # Cache unknown finalization data (eth_trace*) only for 10 seconds |
| 51 | + - network: "*" |
| 52 | + method: "*" |
| 53 | + finality: unknown |
| 54 | + empty: ignore |
| 55 | + connector: memory-cache |
| 56 | + ttl: 10s |
| 57 | + # Cache realtime data only for 2 seconds (eth_blockNumber, eth_gasPrice, etc) to reduce costs yet fresh enough data |
| 58 | + - network: "*" |
| 59 | + method: "*" |
| 60 | + finality: realtime |
| 61 | + empty: ignore |
| 62 | + connector: memory-cache |
| 63 | + ttl: 2s |
| 64 | +
|
| 65 | + server: |
| 66 | + httpHostV4: "0.0.0.0" |
| 67 | + listenV6: true |
| 68 | + httpHostV6: "[::]" |
| 69 | + httpPort: 4000 |
| 70 | + aliasing: |
| 71 | + rules: |
| 72 | + - matchDomain: "*" |
| 73 | + serveProject: "main" |
| 74 | + serveArchitecture: "evm" |
| 75 | + serveChain: "1" |
| 76 | +
|
| 77 | + metrics: |
| 78 | + enabled: true |
| 79 | + hostV4: "0.0.0.0" |
| 80 | + hostV6: "[::]" |
| 81 | + port: 4001 |
| 82 | +
|
| 83 | + projects: |
| 84 | + - id: main |
| 85 | + cors: |
| 86 | + allowedOrigins: |
| 87 | + - "https://*.ethpandaops.io" |
| 88 | + allowedMethods: |
| 89 | + - "GET" |
| 90 | + - "POST" |
| 91 | + - "OPTIONS" |
| 92 | + allowedHeaders: |
| 93 | + - "Content-Type" |
| 94 | + upstreamDefaults: |
| 95 | + allowMethods: |
| 96 | + - "eth_blockNumber" |
| 97 | + - "eth_call" |
| 98 | + - "eth_chainId" |
| 99 | + - "eth_estimateGas" |
| 100 | + - "eth_feeHistory" |
| 101 | + - "eth_gasPrice" |
| 102 | + - "eth_getBalance" |
| 103 | + - "eth_getBlockByHash" |
| 104 | + - "eth_getBlockByNumber" |
| 105 | + - "eth_getBlockReceipts" |
| 106 | + - "eth_getBlockTransactionCountByHash" |
| 107 | + - "eth_getBlockTransactionCountByNumber" |
| 108 | + - "eth_getCode" |
| 109 | + - "eth_getFilterChanges" |
| 110 | + - "eth_getLogs" |
| 111 | + - "eth_getStorageAt" |
| 112 | + - "eth_getTransactionByBlockHashAndIndex" |
| 113 | + - "eth_getTransactionByBlockNumberAndIndex" |
| 114 | + - "eth_getTransactionByHash" |
| 115 | + - "eth_getTransactionCount" |
| 116 | + - "eth_getTransactionReceipt" |
| 117 | + - "eth_newBlockFilter" |
| 118 | + - "eth_newPendingTransactionFilter" |
| 119 | + - "eth_maxPriorityFeePerGas" |
| 120 | + - "eth_sendRawTransaction" |
| 121 | + - "eth_subscribe" |
| 122 | + - "eth_syncing" |
| 123 | + - "eth_uninstallFilter" |
| 124 | + - "eth_unsubscribe" |
| 125 | + - "net_listening" |
| 126 | + - "net_version" |
| 127 | + - "rpc_modules" |
| 128 | + - "web3_clientVersion" |
| 129 | + - "debug_getRawReceipts" |
| 130 | + - "debug_traceBlock" |
| 131 | + - "trace_transaction" |
| 132 | + - "trace_block" |
| 133 | + upstreams: |
| 134 | + - endpoint: https://<path:/secrets/services/services.enc.yaml#ethereum | jsonPath {.testnets.perf-devnets.node_ingress.combined}>@rpc.bootnode-1.perf-devnet-1.ethpandaops.io |
| 135 | + - endpoint: https://<path:/secrets/services/services.enc.yaml#ethereum | jsonPath {.testnets.perf-devnets.node_ingress.combined}>@rpc.lighthouse-nethermind-1.perf-devnet-1.ethpandaops.io |
| 136 | + - endpoint: https://<path:/secrets/services/services.enc.yaml#ethereum | jsonPath {.testnets.perf-devnets.node_ingress.combined}>@rpc.lighthouse-reth-1.perf-devnet-1.ethpandaops.io |
| 137 | + - endpoint: https://<path:/secrets/services/services.enc.yaml#ethereum | jsonPath {.testnets.perf-devnets.node_ingress.combined}>@rpc.nimbus-besu-1.perf-devnet-1.ethpandaops.io |
| 138 | + - endpoint: https://<path:/secrets/services/services.enc.yaml#ethereum | jsonPath {.testnets.perf-devnets.node_ingress.combined}>@rpc.prysm-geth-1.perf-devnet-1.ethpandaops.io |
| 139 | + - endpoint: https://<path:/secrets/services/services.enc.yaml#ethereum | jsonPath {.testnets.perf-devnets.node_ingress.combined}>@rpc.teku-erigon-1.perf-devnet-1.ethpandaops.io |
0 commit comments