Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(panda-pulse): multiple jobs if cl/el arrays passed #7

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

mattevans
Copy link
Member

Refactors chart to allow passing of an optional array of ethereumCls and/or ethereumEls.

If ethereumCls + ethereumEls are both omitted, then a single cron will be created as normal capturing all clients.

For example:

helm install panda-pulse ./charts/panda-pulse \
  --set config.network=NETWORK_NAME_HERE \
  --set config.discordChannel=DISCORD_CHANNEL_ID_HERE \
  --set config.ethereumCls="{lighthouse,nimbus}" \
  --set config.ethereumEls="{geth,reth}" \
  --set secrets.grafanaServiceToken=GRAFANA_SERVICE_TOKEN_HERE \
  --set secrets.discordBotToken=DISCORD_BOT_TOKEN_HERE
NAME                        SCHEDULE      TIMEZONE   SUSPEND   ACTIVE   LAST SCHEDULE   AGE
panda-pulse-cl-lighthouse   0/2 * * * *   <none>     False     0        <none>          3s
panda-pulse-cl-nimbus       0/2 * * * *   <none>     False     0        <none>          3s
panda-pulse-el-geth         0/2 * * * *   <none>     False     0        <none>          3s
panda-pulse-el-reth         0/2 * * * *   <none>     False     0        <none>          3s

@mattevans mattevans self-assigned this Jan 31, 2025
@mattevans mattevans requested a review from Savid January 31, 2025 03:20
@mattevans mattevans merged commit 25a3231 into master Jan 31, 2025
1 check passed
@mattevans mattevans deleted the refactor/panda-pulse-multi-crons branch January 31, 2025 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants