kurtosis-tech / kurtosis

A platform for packaging and launching ephemeral backend stacks with a focus on approachability for the average developer.
https://docs.kurtosistech.com/
Apache License 2.0
351 stars 47 forks source link

Enclave Pool Breaks Deterministic Enclave Namespaces #1203

Open h4ck3rk3y opened 1 year ago

h4ck3rk3y commented 1 year ago

What's your CLI version?

0.82.11

Description & steps to reproduce

Do

  1. kurtosis engine restart --enclave-pool-size 2
  2. Use kubernetes as cluster
  3. Have gateway running
  4. Run a package
  5. kubectl get ns

You will see that the name space names are the idle name space and not the new enclave name that got created

You can verify that by running

  1. kubectl describe namespace namespace-name

You will see that the annotation is correct like

image

Desired behavior

Renamed enclaves should rename the name space

  1. This makes deterministic kubernetes namesapce names
  2. This makes port forwarding simpler and faster

What is the severity of this bug?

Painful; this is causing significant friction in my workflow.

leoporoli commented 1 year ago

@h4ck3rk3y we have a blocker, it's not possible to rename a K8s namespace: https://github.com/kubernetes/kubernetes/issues/43867