livebook-dev / livebook

Automate code & data workflows with interactive Elixir notebooks
https://livebook.dev
Apache License 2.0
4.97k stars 427 forks source link

Error about missing `kubectl` command #2792

Closed mruoss closed 1 month ago

mruoss commented 1 month ago

I wanted to test The K8s runtime in Livebook 0.14.1. It works nicely but I always get the message about the kubectl binary missing. Easiest to demonstrate. What's not visible in the video: I was able to run and connect to the runtime.

https://github.com/user-attachments/assets/521d641f-230a-4e4b-bf7a-aac7f5a8c7f8

jonatanklosko commented 1 month ago

GAH, totally my bad, I didn't revert the condition from testing. I will release v0.14.2 shortly.

jonatanklosko commented 1 month ago

Fixed in e7bde13e93ac37349aa8357c5b6800ec456e63b5, release building. Thanks for the quick catch!

mruoss commented 1 month ago

Ahm... now the k8s runtime component crashes the live view... at least for me...?

Edit: Not your fault this time. this is something I might have to fix... probably even in kubereq. My current config uses exec to execute a command. However, that command cannot be found.