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 application encountered an error where the kubectl command could not be executed because it was referenced with an absolute path (/kubectl). The error message fork/exec /kubectl: no such file or directory indicates that the command was not found at the specified path. This issue occurs because kubectl should be invoked using its relative or full path based on the environment configuration, rather than assuming a fixed location.
{"level":"info","caller":"drainmanager/kubernetes.go:54","msg":"uncordon node aks-agent-312112314-vmss000000"}
{"level":"error","msg":"fork/exec /kubectl: no such file or directory","command":"kubectl"}
Steps to Reproduce:
Attempt to run the drain function that triggers the kubectl command.
Observe the error message related to /kubectl not being found.
Expected Behavior: The kubectl command should execute successfully, allowing proper drain handling in the Kubernetes environment.
Actual Behavior: The execution fails with the error no such file or directory due to an incorrect path reference for kubectl.
The text was updated successfully, but these errors were encountered:
Issue Description:
The application encountered an error where the
kubectl
command could not be executed because it was referenced with an absolute path (/kubectl
). The error messagefork/exec /kubectl: no such file or directory
indicates that the command was not found at the specified path. This issue occurs becausekubectl
should be invoked using its relative or full path based on the environment configuration, rather than assuming a fixed location.Steps to Reproduce:
Attempt to run the drain function that triggers the
kubectl
command.Observe the error message related to
/kubectl
not being found.Expected Behavior: The
kubectl
command should execute successfully, allowing proper drain handling in the Kubernetes environment.Actual Behavior: The execution fails with the error
no such file or directory
due to an incorrect path reference forkubectl
.The text was updated successfully, but these errors were encountered: