Skip to content

Commit

Permalink
update network config
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed May 16, 2024
1 parent 1a5e889 commit 431d495
Show file tree
Hide file tree
Showing 53 changed files with 1,190 additions and 0 deletions.
23 changes: 23 additions & 0 deletions kubernetes/devnet-0/beacon-metrics-gazer/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
6 changes: 6 additions & 0 deletions kubernetes/devnet-0/beacon-metrics-gazer/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: beacon-metrics-gazer
repository: https://ethpandaops.github.io/ethereum-helm-charts
version: 0.1.3
digest: sha256:25670c466402ba0216633aa1bea24a43329fac709a6c633bba91c5663620c2cc
generated: "2024-05-16T21:43:22.480734+03:00"
11 changes: 11 additions & 0 deletions kubernetes/devnet-0/beacon-metrics-gazer/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Ansible managed. Don't change this file manually. Template info: /vendor/collections/ansible_collections/ethpandaops/general/roles/generate_kubernetes_config/templates/Chart.yaml.j2

apiVersion: v2
name: beacon-metrics-gazer
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
dependencies:
- name: beacon-metrics-gazer
repository: https://ethpandaops.github.io/ethereum-helm-charts
version: 0.1.3
Binary file not shown.
57 changes: 57 additions & 0 deletions kubernetes/devnet-0/beacon-metrics-gazer/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Ansible managed. Don't change this file manually. Template info: /vendor/collections/ansible_collections/ethpandaops/general/roles/generate_kubernetes_config/templates/beacon-metrics-gazer.yaml.j2

beacon-metrics-gazer:
image:
repository: dapplion/beacon-metrics-gazer
tag: latest
pullPolicy: Always
fullnameOverride: beacon-metrics-gazer
resources:
requests:
cpu: 68m
memory: 128Mi
limits:
cpu: 128m
memory: 256Mi

serviceMonitor:
enabled: true
labels:
vmagent: common
network: "peerdas-devnet-0"

customCommand:
- /beacon-metrics-gazer
- http://teku-geth-001:5052
- --ranges-file
- /custom-config/ranges.yaml
- --port
- "8080"
- --address
- "0.0.0.0"

extraVolumes:
- name: custom-config
emptyDir: {}
extraVolumeMounts:
- name: custom-config
mountPath: "/custom-config"

initContainers:
- name: init-config
image: alpine:latest
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: false
runAsUser: 0
command:
- sh
- -ace
- >
apk update && apk add curl yq;
curl -s https://config.peerdas-devnet-0.ethpandaops.io/api/v1/nodes/validator-ranges | yq '.ranges' -P > /custom-config/ranges.yaml;
echo "====== init done ======";
cat /custom-config/ranges.yaml;
volumeMounts:
- name: custom-config
mountPath: "/custom-config"
23 changes: 23 additions & 0 deletions kubernetes/devnet-0/blobscan/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
12 changes: 12 additions & 0 deletions kubernetes/devnet-0/blobscan/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
dependencies:
- name: blobscan
repository: https://blobscan.github.io/blobscan-helm-charts/
version: 0.2.12
- name: blobscan-api
repository: https://blobscan.github.io/blobscan-helm-charts/
version: 0.2.8
- name: blobscan-indexer
repository: https://blobscan.github.io/blobscan-helm-charts/
version: 0.2.9
digest: sha256:36c11a4ce747642ed93425fab1005c035b6ddf51a33f8379c6bf81285653ffac
generated: "2024-05-16T21:44:22.966983+03:00"
17 changes: 17 additions & 0 deletions kubernetes/devnet-0/blobscan/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Ansible managed. Don't change this file manually. Template info: /vendor/collections/ansible_collections/ethpandaops/general/roles/generate_kubernetes_config/templates/Chart.yaml.j2

apiVersion: v2
name: blobscan
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
dependencies:
- name: blobscan
repository: https://blobscan.github.io/blobscan-helm-charts/
version: 0.2.12
- name: blobscan-api
repository: https://blobscan.github.io/blobscan-helm-charts/
version: 0.2.8
- name: blobscan-indexer
repository: https://blobscan.github.io/blobscan-helm-charts/
version: 0.2.9
Binary file not shown.
Binary file not shown.
Binary file not shown.
64 changes: 64 additions & 0 deletions kubernetes/devnet-0/blobscan/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Ansible managed. Don't change this file manually. Template info: /vendor/collections/ansible_collections/ethpandaops/general/roles/generate_kubernetes_config/templates/blobscan.yaml.j2

blobscan:
fullnameOverride: blobscan
image:
repository: blossomlabs/blobscan
tag: latest
pullPolicy: Always
ingress:
enabled: true
className: ingress-nginx-public
hosts:
- host: blobscan.peerdas-devnet-0.ethpandaops.io
paths:
- path: /
pathType: Prefix
backend:
service:
name: blobscan
port:
number: 3000
config:
NEXTAUTH_URL: https://blobscan.peerdas-devnet-0.ethpandaops.io
NEXT_PUBLIC_NETWORK_NAME: peerdas-devnet-0
NEXT_PUBLIC_BEACON_BASE_URL: https://dora.peerdas-devnet-0.ethpandaops.io
NEXT_PUBLIC_EXPLORER_BASE_URL: https://explorer.peerdas-devnet-0.ethpandaops.io
BEACON_NODE_ENDPOINT: http://teku-geth-001:5052
CHAIN_ID: "7071720988"
blobscandb:
fullnameOverride: blobscan-blobscandb

blobscan-indexer:
fullnameOverride: blobscan-indexer
image:
repository: blossomlabs/blobscan-indexer
tag: latest
pullPolicy: Always
config:
EXECUTION_NODE_ENDPOINT: http://geth-teku-001:8545
BEACON_NODE_ENDPOINT: http://teku-geth-001:5052

# Blobscan API
blobscan-api:
fullnameOverride: blobscan-api
image:
repository: blossomlabs/blobscan
tag: latest
pullPolicy: Always
config:
BEACON_NODE_ENDPOINT: http://teku-geth-001:5052
CHAIN_ID: "7071720988"
ingress:
enabled: true
className: ingress-nginx-public
hosts:
- host: blobscan-api.peerdas-devnet-0.ethpandaops.io
paths:
- path: /
pathType: Prefix
backend:
service:
name: blobscan-api
port:
number: 3001
23 changes: 23 additions & 0 deletions kubernetes/devnet-0/blockscout/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
6 changes: 6 additions & 0 deletions kubernetes/devnet-0/blockscout/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: blockscout
repository: https://ethpandaops.github.io/ethereum-helm-charts
version: 0.2.1
digest: sha256:85a3bfc3aa5db7beb16b64e3600cb99029de7f87137203324f26740b7c18468e
generated: "2024-05-16T21:46:01.229138+03:00"
11 changes: 11 additions & 0 deletions kubernetes/devnet-0/blockscout/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Ansible managed. Don't change this file manually. Template info: /vendor/collections/ansible_collections/ethpandaops/general/roles/generate_kubernetes_config/templates/Chart.yaml.j2

apiVersion: v2
name: blockscout
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
dependencies:
- name: blockscout
repository: https://ethpandaops.github.io/ethereum-helm-charts
version: 0.2.1
Binary file not shown.
82 changes: 82 additions & 0 deletions kubernetes/devnet-0/blockscout/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Ansible managed. Don't change this file manually. Template info: /vendor/collections/ansible_collections/ethpandaops/general/roles/generate_kubernetes_config/templates/blockscout.yaml.j2

blockscout:
fullnameOverride: blockscout

image:
repository: blockscout/blockscout
tag: master
pullPolicy: IfNotPresent
podAnnotations:
"promtail.io/ignore_pod": "true"
resources:
requests:
cpu: 2000m
memory: 2Gi
limits:
cpu: 2000m
memory: 6Gi

ingress:
enabled: true
className: ingress-nginx-public
hosts:
- host: explorer.peerdas-devnet-0.ethpandaops.io
paths:
- path: /
pathType: Prefix

config:
COIN: ETH
DATABASE_URL: postgres://postgres:postgres@blockscout-postgresql:5432/blockscout?ssl=false
DISABLE_EXCHANGE_RATES: "true"
DISABLE_KNOWN_TOKENS: "true"
SHOW_PRICE_CHART: "false"
ENABLE_1559_SUPPORT: "true"
DISABLE_READ_API: "false"
DISABLE_WRITE_API: "true"
ENABLE_TXS_STATS: "true"
ECTO_USE_SSL: "false"
SHOW_TXS_CHART: "true"
ETHEREUM_JSONRPC_VARIANT: "geth"
ETHEREUM_JSONRPC_HTTP_URL: http://geth-teku-001:8545
ETHEREUM_JSONRPC_WS_URL: ws://geth-teku-001:8546
ETHEREUM_JSONRPC_TRACE_URL: http://geth-teku-001:8545
INDEXER_COIN_BALANCES_BATCH_SIZE: "5"
NETWORK: Ethereum
SUBNETWORK: peerdas-devnet-0
BLOCK_TRANSFORMER: base
POOL_SIZE: "15"
CHAIN_SPEC_PATH: /config-update/chainspec.json
extraVolumes:
- name: config-update
emptyDir: {}

extraVolumeMounts:
- name: config-update
mountPath: "/config-update"

initContainers:
- name: init-config
image: alpine:latest
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: false
runAsUser: 0
command:
- sh
- -ace
- >
CHAINSPEC=https://config.peerdas-devnet-0.ethpandaops.io/el/chainspec.json;
mkdir -p /config-update;
wget -O /config-update/chainspec.json $CHAINSPEC;
echo "got genesis";
volumeMounts:
- name: config-update
mountPath: /config-update

serviceMonitor:
enabled: true

postgresql:
fullnameOverride: blockscout-postgresql
23 changes: 23 additions & 0 deletions kubernetes/devnet-0/checkpointz/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
6 changes: 6 additions & 0 deletions kubernetes/devnet-0/checkpointz/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: checkpointz
repository: https://ethpandaops.github.io/ethereum-helm-charts
version: 0.1.3
digest: sha256:9eceb3eb5bb940e21ad6256c1258227069c421ccb29cae6c09005783826cece4
generated: "2024-05-16T21:47:09.203336+03:00"
11 changes: 11 additions & 0 deletions kubernetes/devnet-0/checkpointz/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Ansible managed. Don't change this file manually. Template info: /vendor/collections/ansible_collections/ethpandaops/general/roles/generate_kubernetes_config/templates/Chart.yaml.j2

apiVersion: v2
name: checkpointz
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
dependencies:
- name: checkpointz
repository: https://ethpandaops.github.io/ethereum-helm-charts
version: 0.1.3
Binary file not shown.
Loading

0 comments on commit 431d495

Please sign in to comment.