This is a Kurtosis Starlark Package that allows you to spin up an etcd instance.
This assumes you have the Kurtosis CLI installed
Simply run
kurtosis run github.com/laurentluce/kurtosis-etcd-package
Kurtosis Packages can be used within other Kurtosis Packages, through what we call composition internally. Assuming you want to spin up etcd and your own service together you just need to do the following
main_etcd_module = import_module("github.com/laurentluce/kurtosis-etcd-package/main.star")
# main.star of your etcd + Service package
def run(plan, args):
plan.print("Spinning up the etcd Package")
# this will spin up etcd and return the output of the etcd package
etcd_run_output = main_redis_module.run(plan, args)