-
Notifications
You must be signed in to change notification settings - Fork 198
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
chore(kurtosis): Clean up Kurtosis and Support for Cloud Deployments #2401
Conversation
fa56f3c
to
2e5c895
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2401 +/- ##
=======================================
Coverage 32.36% 32.36%
=======================================
Files 350 350
Lines 15592 15592
Branches 20 20
=======================================
Hits 5047 5047
Misses 10182 10182
Partials 363 363 |
kurtosis/beaconkit-local.yaml
Outdated
@@ -71,9 +71,9 @@ network_configuration: | |||
node_settings: | |||
consensus_settings: | |||
specs: | |||
min_cpu: 0 | |||
min_cpu: 1000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If min is not set, then it defaults to max value on K8s
stop-gcp-devnet: | ||
kurtosis enclave stop my-gcp-devnet2 | ||
|
||
# Stops and removes the specified Kurtosis enclave | ||
reset-gcp-devnet: | ||
$(MAKE) stop-gcp-devnet | ||
kurtosis enclave rm my-gcp-devnet2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can add more commands if they are useful but lets reduce bloat
images: | ||
beaconkit: northamerica-northeast1-docker.pkg.dev/prj-berachain-common-svc-01/berachain/beacon-kit:main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is in a private image repo
kurtosis/beaconkit-cloud.yaml
Outdated
- name: "otterscan" # otterscan supports only erigon nodes | ||
client: "el-full-erigon-3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how will this run if the erigon node isnt enabled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed otterscan as noone is using it afaik
kurtosis/Makefile
Outdated
# Starts a Kurtosis enclave in the cloud using the latest image tag | ||
start-devnet-cloud: install-kurtosis | ||
kurtosis run ./kurtosis --args-file ./kurtosis/beaconkit-cloud.yaml \ | ||
--enclave my-cloud-devnet-$(shell whoami) --parallelism 200 --production |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why remove the --image-download always
tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NBD, added back
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
This PR makes changes to allow for easier run of Kurtosis on K8s based environments.
Main changes: