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

Add curl download options for linux on arm64 #40887

Merged
merged 1 commit into from
May 2, 2023

Conversation

mrgiles
Copy link
Contributor

@mrgiles mrgiles commented Apr 28, 2023

Adds missing curl download options for Linux on arm64 arch. Fixes #31699

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language labels Apr 28, 2023
@k8s-ci-robot k8s-ci-robot added sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 28, 2023
@mrgiles mrgiles force-pushed the 31699_linux_install branch from f621d7f to ec519e2 Compare April 28, 2023 22:55
@netlify
Copy link

netlify bot commented Apr 28, 2023

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit ec519e2
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/644c4ed156143d0008454c31
😎 Deploy Preview https://deploy-preview-40887--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@rul3m4k3r
Copy link
Contributor

/LGTM

@k8s-ci-robot
Copy link
Contributor

@rul3m4k3r: changing LGTM is restricted to collaborators

In response to this:

/LGTM

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.

Copy link
Member

@dipesh-rawat dipesh-rawat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addition of instructions for both x86_64 and ARM64 in a tab layout, have effectively resolved the issue.

Deploy Preview: deploy-preview-40887-install-kubectl-linux

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 29, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 66b7547fac7b49ff08bd67c8a511d1415bfb7349

@mrgiles
Copy link
Contributor Author

mrgiles commented Apr 30, 2023

/assign @tengqm

@@ -30,28 +30,45 @@ The following methods exist for installing kubectl on Linux:

1. Download the latest release with the command:

```bash
{{< tabs name="download_binary_linux" >}}
{{< tab name="x86-64" codelang="bash" >}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In other pages, I saw the shortcode written as {{% tab %}}, but I'm not sure which one is correct or why there are two flavors of the same thing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tengqm, I've used the Tabs format that's described in the Hugo Documentation: https://kubernetes.io/docs/contribute/style/hugo-shortcodes/#tabs
If you click on the Deploy Preview link above, you will see that it renders correctly.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The shortcode is written to work with {{< tab >}} because of a historical detail about how we migrated to Hugo.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which is to say this is laid out correctly. Thanks for the context @sftim.

/approve

Copy link
Contributor

@chrisnegus chrisnegus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, @mrgiles . I tried out the commands and they all worked for me.
/lgtm

@mrgiles
Copy link
Contributor Author

mrgiles commented May 2, 2023

/assign @nate-double-u

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nate-double-u

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 2, 2023
@k8s-ci-robot k8s-ci-robot merged commit a6511b1 into kubernetes:main May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kubectl download page for Linux assumes amd64 architecture
8 participants