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 Linux #33764

Closed
Sandiip96 opened this issue May 17, 2022 · 7 comments
Closed

Install and Set Up kubectl on Linux #33764

Sandiip96 opened this issue May 17, 2022 · 7 comments
Labels
language/en Issues or PRs related to English language needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/cli Categorizes an issue or PR as relevant to SIG CLI.

Comments

@Sandiip96
Copy link

While installing bootstrap server, we need to configure 'kubectl', so i am using aws cloud, used this command to install
error

" curl -LO https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-linux-amd64 "
But it shows an error it is deprecating then how can i install kubectl in amazon linux

@k8s-ci-robot
Copy link
Contributor

@Sandiip96: This issue is currently awaiting triage.

SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label May 17, 2022
@Shubham82
Copy link
Contributor

Shubham82 commented May 17, 2022

Hi @Sandiip96
kubectl is installed. This warning message is from the flags you are using with kubectl version
It is due to the following code changes:
See this PR: kubernetes/kubernetes#108987 https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/kubectl/pkg/cmd/version/version.go#L138

@Shubham82
Copy link
Contributor

/sig cli

@k8s-ci-robot k8s-ci-robot added the sig/cli Categorizes an issue or PR as relevant to SIG CLI. label May 17, 2022
@sftim
Copy link
Contributor

sftim commented May 17, 2022

/kind support

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label May 17, 2022
@sftim
Copy link
Contributor

sftim commented May 17, 2022

We could mention that kubectl version --short is the command to run (which it is if you're not sure what version of kubectl you're going to get) but that you do see a deprecation warning.

The warning being printed does not indicate any error.

/language en

@sftim
Copy link
Contributor

sftim commented May 17, 2022

/remove-kind support

I'm not sure that this is a docs bug. Something needs to change, but maybe that thing is kubectl itself.

@k8s-ci-robot k8s-ci-robot removed the kind/support Categorizes issue or PR as a support question. label May 17, 2022
@reylejano
Copy link
Member

Hi @Sandiip96 , this issue is better suited in https://github.com/kubernetes/kubectl, please re-create this issue in https://github.com/kubernetes/kubectl
Since this is not an issue with kubernetes.io, I'm closing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language/en Issues or PRs related to English language needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/cli Categorizes an issue or PR as relevant to SIG CLI.
Projects
None yet
Development

No branches or pull requests

5 participants