Is there a way to specify the path to kubectl in tridentctl when kubectl is not in the $PATH?
Applies to
Trident
Answer
No, there is no such method.
- There is no way to specify the path to
kubectlfrom thetridentctlside. tridentctlsearches forkubectlstarting from the beginning of the $PATH- Make sure that
kubectlis accessible from the $PATH.- If the $PATH is not set, or if
kubectlis found but cannot be executed, the following error happens: Error: could not find the Kubernetes CLI: exec: "kubectl": executable file not found in $PATH
- If the $PATH is not set, or if
Additional Information
Trident installation fails with error "could not find the Kubernetes CLI"
