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

cluster-lock.json file limitations on k8s #48

Open
5 tasks
0xDones opened this issue May 14, 2024 · 1 comment
Open
5 tasks

cluster-lock.json file limitations on k8s #48

0xDones opened this issue May 14, 2024 · 1 comment

Comments

@0xDones
Copy link
Contributor

0xDones commented May 14, 2024

🎯 Problem to be solved

Is there another way to handle the cluster-lock.json file? K8s secrets have a 1MB size limitation and with 1000 validators in the cluster-lock file, the file will be 2MB in size, preventing the secret from being created.

🛠️ Proposed solution

Can't Charon fetch the cluster-lock.json file in a similar way DKG does for the definition file?

🧪 Tests

  • Test steps or automation scripts are provided
  • The chart is deployed to the test environment successfully

👐 Additional acceptance criteria

  • The helm chart is published to artifactory
  • The chart docs are updated
  • The chart is released to live environments (if applicable)

❌ Out of Scope

@aly-obol
Copy link
Collaborator

@refl3ction, thanks for bringing this constraint to the discussion. Charon does not have an option to load the cluster-lock from a URI. Still, I am discussing the visibility of adding this option with the team.

Meanwhile, we did a workaround to run our test clusters with a large cluster-lock file by loading it from a secure s3 bucket or vault using an init-container: https://github.com/ObolNetwork/charon-k8s-distributed-validator-cluster/blob/241e27bf7c3d96cc3d22e63108084aa3971885c0/templates/charon-perf.yaml#L51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants