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

chore(kurtosis): Clean up Kurtosis and Support for Cloud Deployments #2401

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

rezbera
Copy link
Contributor

@rezbera rezbera commented Jan 23, 2025

This PR makes changes to allow for easier run of Kurtosis on K8s based environments.

Main changes:

  • Setting min values that don't result in K8s running out of resources
  • README

Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 27.08%. Comparing base (419cd66) to head (6ca511c).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2401   +/-   ##
=======================================
  Coverage   27.08%   27.08%           
=======================================
  Files         351      351           
  Lines       15543    15543           
  Branches       20       20           
=======================================
  Hits         4210     4210           
  Misses      11130    11130           
  Partials      203      203           

@@ -71,9 +71,9 @@ network_configuration:
node_settings:
consensus_settings:
specs:
min_cpu: 0
min_cpu: 1000
Copy link
Contributor Author

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

Comment on lines -50 to -56
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
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@rezbera rezbera marked this pull request as ready for review January 23, 2025 18:52
@rezbera rezbera requested a review from a team as a code owner January 23, 2025 18:52
Comment on lines 125 to 126
- name: "otterscan" # otterscan supports only erigon nodes
client: "el-full-erigon-3"
Copy link
Contributor

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?

Copy link
Contributor Author

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

@rezbera rezbera changed the title WIP : chore(kurtosis): Clean up Kurtosis chore(kurtosis): Clean up Kurtosis Jan 24, 2025
@rezbera rezbera changed the title chore(kurtosis): Clean up Kurtosis chore(kurtosis): Clean up Kurtosis and Support for Cloud Deployments Jan 24, 2025
@rezbera rezbera requested a review from calbera January 25, 2025 00:23
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