zombienet icon indicating copy to clipboard operation
zombienet copied to clipboard

Clarify that spawning network in k8s should be in default namespace

Open Neyromancer opened this issue 1 year ago • 5 comments

Description

While trying to spawn a network in kubernetes an error occures when namesapce is set to a value different from default:

Error:  	 Error: Command failed with exit code 1: kubectl --kubeconfig /Users/wirednkod/.kube/config apply -f -
Error from server (NotFound): error when creating "STDIN": namespaces "zombie-b3b08c66fc8e8e48d2876049d4477f7e" not found
Error from server (NotFound): error when creating "STDIN": namespaces "zombie-b3b08c66fc8e8e48d2876049d4477f7e" not found
Error from server (NotFound): error when creating "STDIN": namespaces "zombie-b3b08c66fc8e8e48d2876049d4477f7e" not found
Error from server (NotFound): error when creating "STDIN": namespaces "zombie-b3b08c66fc8e8e48d2876049d4477f7e" not found

Related Issue #1412 Error when trying to spawn network in kubernetes


Tasks:

  • [ ] Make clear in the docs that you need to be set in the default namespace to start working with zombienet.
  • [ ] Print a warning at start that different then default namspace is used
  • [ ] Code review
  • [ ] Test

Neyromancer avatar Oct 20 '23 21:10 Neyromancer

User @Neyromancer, please sign the CLA here.

cla-bot-2021[bot] avatar Oct 20 '23 21:10 cla-bot-2021[bot]

@Neyromancer Thank you for the contributions. Just a reminder that docs will automatically update so there is no need to manual edit them

wirednkod avatar Nov 10 '23 11:11 wirednkod

i am also going to add logs with current namespace

Neyromancer avatar Nov 10 '23 14:11 Neyromancer

@Neyromancer is this ready for review? @pepoviola if this looks fine - I think we can merge it. What do you think?

wirednkod avatar Nov 21 '23 14:11 wirednkod

ping @Neyromancer are you still working on this? Thx!

pepoviola avatar Apr 09 '24 18:04 pepoviola