You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The kubectl tool - and tools kubectl uses to auth into a cluster - are commonly installed via homebrew on MacOS. On the newer ARM architectures, this results in binaries in /opt/homebrew/bin. Monokle looks for binaries in whatever it's default path is, which doesn't include this path, resulting in errors configuring Monokle against a cluster for MacOS ARM users.
22:06:14 - stderr]
/bin/sh: kubectl: command not found\n
[22:06:14 - exit]
Exited with code 127
Additionally, setting a custom path isn't straightforward - the error message doesn't link out to updating the PATH, and the property is hidden behind global settings (which isn't easy to know how to get to at first glance since the settings gear points to cluster settings somehow). Once you set that path, you need to completely restart the app in order to get Monokle to understand that kubectl is in another path and it can retry auth.
Ideally Monokle adds that path by default on MacOS ARM installs, auto-detects changes to the PATH to reload config, and maybe optionally has a "retry auth" button on errors.
Describe the enhancement you'd like to see
The
kubectl
tool - and tools kubectl uses to auth into a cluster - are commonly installed via homebrew on MacOS. On the newer ARM architectures, this results in binaries in/opt/homebrew/bin
. Monokle looks for binaries in whatever it's default path is, which doesn't include this path, resulting in errors configuring Monokle against a cluster for MacOS ARM users.Additionally, setting a custom path isn't straightforward - the error message doesn't link out to updating the
PATH
, and the property is hidden behind global settings (which isn't easy to know how to get to at first glance since the settings gear points to cluster settings somehow). Once you set that path, you need to completely restart the app in order to get Monokle to understand thatkubectl
is in another path and it can retry auth.Ideally Monokle adds that path by default on MacOS ARM installs, auto-detects changes to the PATH to reload config, and maybe optionally has a "retry auth" button on errors.
Additional context
Discord thread here
The text was updated successfully, but these errors were encountered: