-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Updates linux default installation #2859
Conversation
Welcome @rewanthtammana! |
Hi @rewanthtammana. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/ok-to-test |
/test pull-kind-build |
@neolit123 I think the builds are failing for wrong reason. I made changes to the documentation but they are failing due to CSI volumes,etc in |
could be test flakes |
/override pull-kind-e2e-kubernetes-1-24 Thanks for the PR, sorry for the test flake noise. Since we've split out mac vs linux, this makes sense per linux FHS, one comment about permissions. |
@BenTheElder: Overrode contexts on behalf of BenTheElder: pull-kind-e2e-kubernetes-1-24 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/test-infra repository. |
I made the recommended changes, @BenTheElder @neolit123! |
@@ -49,7 +49,7 @@ On Linux: | |||
```console | |||
curl -Lo ./kind "https://kind.sigs.k8s.io/dl/v0.14.0/kind-$(uname)-amd64" | |||
chmod +x ./kind | |||
mv ./kind /some-dir-in-your-PATH/kind | |||
sudo mv ./kind /usr/local/bin/kind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All instances should be updated. There are at least lines 75 and 82 in this file and lines 74 and 81 in site/content/docs/user/quick-start.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 74 is for Mac & line 82 is for windows. I'm not a user of macOS/windows yet; hence I'm not sure of their default preferred locations. So, I made changes only to Linux installation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can leave discussion on changing those for a different PR, IIRC macOS SIP makes it more problematic to suggest installing to system folders vs a user local folder added to path (like ~/go/bin)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like a plan! There might be considerable discrepancies regarding macOS & windows default install locations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, rewanthtammana The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks for the prompt response & the merge, @BenTheElder :-) |
The most common installation location in linux is,
/usr/local/bin
. It's easier to copy-paste the snippet with actual values rather thewhatever-path
everytime.