Skip to content

add node selectors and tolerations to basic kurtosis commands #2783

@barnabasbusa

Description

@barnabasbusa

Background & motivation

Right now ethereum-package has node selectors and tolerations options, however run_sh or run_python tasks and kurtosis engine can't be scheduled to specific nodes right now.

Desired behaviour

Would be very good to have a way to add node selectors and tolerations to run_sh/run_python commands (or any built in commands) and some way to specify these in the config too like:

config-version: 2
should-send-metrics: false
kurtosis-clusters:
  docker:
    type: "docker"
  kube:
    type: "kubernetes"
    config:
      kubernetes-cluster-name: "kube"
      storage-class: "local-path"
      enclave-size-in-megabytes: 100
      node_selector: {"abc": "cba"}
      tolerations:
           - key: "abc"
             operator: "Equal"
             value: "true"
             effect: "NoSchedule"

Maybe worth doing automatic node selector for run_sh and run_python to use the same hosts as its configured in the config above.

How important is this to you?

Critical; Kurtosis is unusable for me without it.

What area of the product does this pertain to?

CLI: the Command Line Interface

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions