-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubectl.sh,bug: possibly broken - run kubectl.sh
without having kubectl
installed on your machine
#1293
Comments
/kind bug /help |
@dhiller: Guidelines
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@dosu explain how kubectl.sh works |
Is dosubot available on kubevirtci issues? |
Not yet - I've just added it, will try again after indexing has completed. |
@andreabolognani I just did When I then did bash -x ./cluster-up/kubectl.sh get nodes output showed me ...
+++ kubectl=/home/dhiller/Projects/github.com/kubevirt.io/kubevirt/_ci-configs/k8s-1.31/.kubectl
... which seems to indicate that it uses the So I think we can /close this issue. Please chime in if you disagree. |
@dhiller: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/reopen Apologies - it seems you were right, since I see here that instead of
FYI @brianmcarey |
@dhiller: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@dosu please explain how the script kubectl.sh works |
The
The script is designed to manage virtual machine operations and Kubernetes commands without needing |
FYI @brianmcarey |
This brings up a fundamental point of |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
There's code in the k8s provider that takes care of pulling the kubectl binary from the cluster and use that one for subsequent operations; however, right before that happens, a few settings are changed in kubeconfig, which means that it's necessary for the host system to provide its own kubectl binary. Invert the order of these operations, and make sure that we always invoke the binary obtained from the cluster. This way, it is possible to successfully bring up a cluster on a machine that doesn't have kubectl installed. kubevirt#1293 Signed-off-by: Andrea Bolognani <[email protected]>
Check whether using kubectl.sh without having kubectl installed on local machine still works.
Originally posted by @andreabolognani in #1277 (comment)
The text was updated successfully, but these errors were encountered: