Skip to content
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

Install and Set Up kubectl on Windows - del command update #45468

Closed
Kheiden opened this issue Mar 7, 2024 · 7 comments
Closed

Install and Set Up kubectl on Windows - del command update #45468

Kheiden opened this issue Mar 7, 2024 · 7 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. language/en Issues or PRs related to English language triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@Kheiden
Copy link
Contributor

Kheiden commented Mar 7, 2024

When following the instructions, I received the following error message when trying to run this command:

del kubectl-convert.exe kubectl-convert.exe.sha256

2024-03-07 12_31_54-Administrator_ Windows PowerShell

Text:

Remove-Item : A positional parameter cannot be found that accepts argument 'kubectl-convert.exe.sha256'.
At line:1 char:1
+ del kubectl-convert.exe kubectl-convert.exe.sha256
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Remove-Item], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

However running the following commands worked:

del kubectl-convert.exe
del kubectl-convert.exe.sha256

I recommend updating the page.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Mar 7, 2024
@dipesh-rawat
Copy link
Member

Page mentioned in the issue (based on the current title): https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/
/language en

@k8s-ci-robot k8s-ci-robot added the language/en Issues or PRs related to English language label Mar 7, 2024
@dipesh-rawat
Copy link
Member

Looks like a bug to me.
/kind bug

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Mar 7, 2024
@Kheiden
Copy link
Contributor Author

Kheiden commented Mar 7, 2024

I've created a PR to address this minor documentation fix:

#45469

@sftim
Copy link
Contributor

sftim commented Mar 11, 2024

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 11, 2024
@vaibhav2107
Copy link
Member

I think this issue has been resolved by this PR #45469 and hence we can close this issue

@vaibhav2107
Copy link
Member

/close

@k8s-ci-robot
Copy link
Contributor

@vaibhav2107: Closing this issue.

In response to this:

/close

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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. language/en Issues or PRs related to English language triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

5 participants