Commit Graph

261 Commits

Author SHA1 Message Date
Kubernetes Prow Robot f0a7b452b6
Merge pull request #36215 from tengqm/revert-36114-k_completion
Revert "Updated kubectl completion configuration"
2023-02-08 09:25:02 -08:00
Asare Nkansah 18f27a0743 Add powershell markdown syntax 2023-02-08 08:15:20 -07:00
Asare Nkansah 42585e3296 Add cleanup commands to kubectl Windows install 2023-02-06 08:30:50 -07:00
zhuzhenghao 85b9f7f6b7 Remove what-next in install-kubectl-macos.md 2023-02-03 17:58:37 +08:00
Kubernetes Prow Robot d7e7824f05
Merge pull request #39228 from asarenkansah/kubectl-macos-cleanup
Add cleanup commands to kubectl MacOS install
2023-02-02 19:18:28 -08:00
kadtendulkar 0860e6780d Update content/en/docs/tasks/tools/_index.md 2023-02-02 22:18:55 +05:30
Asare Nkansah a0407eb486 Add cleanup commands to kubectl MacOS install 2023-02-02 07:57:27 -07:00
Asare Nkansah ca3286f603 Add cleanup commands to kubectl MacOS install 2023-02-02 07:40:15 -07:00
PiotrLewandowski323 4fc6aef191 exclude files from being rendered
Signed-off-by: PiotrLewandowski323 <lewandowski323@gmail.com>
2023-01-07 18:21:59 +01:00
Kubernetes Prow Robot da490859b9
Merge pull request #38302 from shortcuts/main
add version support to `fish` auto-completion
2022-12-16 04:26:17 -08:00
Kubernetes Prow Robot 06dac1bc79
Merge pull request #36958 from aFlyBird0/update-bash-completion-macOS
[en] Fix homebrew prefix error in bash-completion of kubectl
2022-12-13 17:13:34 -08:00
Kubernetes Prow Robot c996cd0710
Merge pull request #38349 from profnandaa/sig-windows/fix-kubectl-install
improvement: kubectl install on windows verify command
2022-12-12 06:29:34 -08:00
Gentoli 124b709ef7
Update winget reference url and capitalization 2022-12-10 03:56:48 -05:00
Anthony Nandaa 0bf2006105 fix: kubectl install on windows verify command
Make the the verification command cleaner by using only PS cmdlets.
certutil.exe returns 3 lines which need to be split to the hash,
as opposed to Get-FileHash that returns an object with .Hash

Fixes issue 30833
2022-12-09 09:40:51 +03:00
Clément Vannicatte 48550eb912 add version support to `fish` auto-completion 2022-12-06 11:56:04 +01:00
Andrey Glazkov 278e748fbb fix minikube description. 2022-12-02 09:09:08 +03:00
Kartik Sharma 9e552abc2d
Update content/en/docs/tasks/tools/install-kubectl-linux.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-11-29 08:58:48 +05:30
kartik494 93d6d2b7ea Modify key for apt repositories 2022-11-28 17:34:57 +05:30
Michael 61ca3c1438 Fix install-kubectl-windows.md 2022-11-04 10:14:21 +08:00
Kubernetes Prow Robot 4b05eab8b9
Merge pull request #37192 from maciejporebski/patch-1
Add Kubectl Install Instructions Using Winget
2022-10-24 11:56:24 -07:00
Huang Zou 608663e049
Fix kubectl autocompletion may only work on root
The current instructions creates a /etc/bash_completion.d/kubectl file with the default file permission, and may not always contain the necessary global read permission for all users of the system to use the config. This is fixed by adding a chmod command that adds the missing permisison, in case it is missing
2022-10-18 14:00:09 -04:00
Kubernetes Prow Robot 4c6003344a
Merge pull request #36854 from AnassKartit/patch-1
Update install-kubectl-windows.md
2022-10-17 11:13:07 -07:00
Anass Kartit 4f52a6fbdc
Update install-kubectl-windows.md
replaced curl with curl.exe at line 160
2022-10-14 10:35:25 +02:00
Maciej Porebski 5254265c1b
Add Oxford Comma to CLI Install Options List
Co-authored-by: Mark Rossetti <marosset@microsoft.com>
2022-10-12 21:41:17 +01:00
Anass Kartit 79ff9e84e9
Update content/en/docs/tasks/tools/install-kubectl-windows.md
Co-authored-by: Mahé <mahe5397@hotmail.fr>
2022-10-12 14:54:15 +02:00
Anass Kartit a26f7e69f6
Update content/en/docs/tasks/tools/install-kubectl-windows.md
Co-authored-by: Mahé <mahe5397@hotmail.fr>
2022-10-12 14:54:04 +02:00
Anass Kartit 50df8d57f1
Update content/en/docs/tasks/tools/install-kubectl-windows.md
Co-authored-by: Mahé <mahe5397@hotmail.fr>
2022-10-12 14:53:58 +02:00
Anass Kartit 782afe79e4
Update content/en/docs/tasks/tools/install-kubectl-windows.md
Co-authored-by: Mahé <mahe5397@hotmail.fr>
2022-10-12 14:53:44 +02:00
Maciej Porebski 0dde71a1fd
Update CLI Install Section Link to Match New URL 2022-10-10 14:16:26 +01:00
Maciej Porebski 47e928bc3f
Update Section Heading for CLI Install
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-10-10 14:10:59 +01:00
Maciej Porebski f5eab7d041
Add Kubectl Install Instructions Using Winget 2022-10-06 19:47:23 +01:00
Bird 7dcfd54a6f fix: homebrew prefix error in bash-completion of kubectl(en) 2022-09-24 10:50:20 +08:00
Kubernetes Prow Robot 266841629d
Merge pull request #36113 from samos123/fix-36111
remove unused repo gpgkey for yum repo
2022-09-21 17:49:08 -07:00
Anass Kartit 8d35a74385
Update install-kubectl-windows.md
suggest to replace curl with native invoke-webrequest
2022-09-16 11:00:39 +02:00
Sam Stoelinga 421109c462 Remove unused repo gpgkey for yum repo
microdnf is having issues with the repo gpgkey that was previously used
however the repogpgcheck was removed in
https://github.com/kubernetes/website/pull/34546 so the gpgkey for the
repo can be removed as well.

this is to implement #36111
2022-08-30 14:44:38 -07:00
Qiming Teng f15ab32593
Revert "Updated kubectl completion configuration" 2022-08-24 15:40:43 +08:00
Manish Kumar 7151102e11 Updated kubectl completion configuration 2022-08-19 23:26:00 +05:30
towfeeqfayaz11 87ef86b8f2 Fixes Issue mentioned here: https://github.com/kubernetes/website/issues/35931
Adding functionality for bash autocompletion in current session
2022-08-15 23:17:39 +09:00
ydFu 8183d5a62d Fix the extra '{' or '}'
Signed-off-by: ydFu <ader.ydfu@gmail.com>
2022-08-14 15:36:13 +08:00
Shubham 40c626c276
Fixed markdown in tabs. (#35504)
* Fixed markdown in tabs.

* Removed {{< note >}} shortcode.
2022-07-29 04:13:11 -07:00
Akanksha kumari 31cde47bf0
Omit `apt-transport-https` from install
Remove dummy package `apt-transport-https` from linux kubectl install instructions
2022-07-16 19:24:06 +05:30
Jihoon Seo 4d73d8939d Update install page to turn off repo_gpgcheck 2022-06-24 15:34:48 +09:00
Kubernetes Prow Robot ea642a94db
Merge pull request #32621 from ac427/docs
remove hardcoded x86_64 from linux install doc
2022-06-13 21:59:32 -07:00
Kubernetes Prow Robot e1a1a953c6
Merge pull request #32127 from mtovmassian/fix-en-bash-alias-auto-completion
[en] Update Bash alias auto-completion
2022-06-13 21:11:34 -07:00
Ananta C 74112d268b add escape before $basearch in repo file creation 2022-06-07 22:20:55 -04:00
Ananta Chakravartula 634ed73a9b remove hardcoded x86_64 from linux install doc 2022-06-07 22:05:37 -04:00
Arhell 49114042bc [en] remove trailing whitespaces install-kubectl-windows.md 2022-04-23 13:08:45 +03:00
Sarang Joshi b3e75c52a6
Nit: grammar fix on install-kubectl-linux.md 2022-04-08 15:19:53 +05:30
Lukas Hass 3980c42945
Use cat instead of shell built-in to read checksum 2022-03-24 19:58:00 +01:00
Kubernetes Prow Robot f397e3ca11
Merge pull request #32380 from jeremypuchta/patch-1
Remove trailing whitespaces from cli commands
2022-03-23 08:50:08 -07:00
Kubernetes Prow Robot 7352c425f7
Merge pull request #32185 from jihoon-seo/220311_nit_kubectl-convert
nit: `kubectl` → `kubectl-convert`
2022-03-22 15:13:59 -07:00
Jeremy Puchta 00f74d9ae4
Remove trailing whitespaces from cli commands 2022-03-20 16:36:50 +01:00
Anjan 1d7ee57cbd there is no need to create a kubernetes directory under ~/.local/bin 2022-03-18 12:30:16 +05:30
Jihoon Seo 06aa7edaff nit: kubectl -> kubectl-convert 2022-03-11 10:42:58 +09:00
Martin Tovmassian d05fb625f4 [en] Update Bash alias auto-completion 2022-03-08 16:54:48 +01:00
Marc Khouzam 0976014b7e No need for special handling for zsh aliases
Zsh completion is native since v1.22. Native zsh completion
automatically deals with aliases without needing
any extra configuration from the user.

Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
2022-03-04 13:57:49 -05:00
Yuvraj Chhetri cd26a2bb6b
Updated files install-kubectl-linux.md , install-kubectl-macos.md , install-kubectl-windows.md (#31916)
* updated install-kubectl-windows.md

* Updated install-kubectl-windows.md

* Update install-kubectl-linux.md

* Update install-kubectl-macos.md
2022-02-26 18:23:17 -08:00
Kubernetes Prow Robot 1d77a887e9
Merge pull request #31355 from Babapool/fix-binary-path
Mention the kubectl binary folder as PATH environment variable
2022-01-31 04:08:23 -08:00
Shivam Singhal 788591c7e1 Fix the download link to kubectl convert plugin for bash 2022-01-21 10:38:39 +02:00
Vitthal Sai be56556f8f
Incorporates the feedback changes 2022-01-16 16:45:22 +05:30
Vitthal Sai d8f4cefa59
Mention the kubectl binary folder as PATH environment variable 2022-01-15 22:14:53 +05:30
brianpursley ad015ad425 Add instructions for enabling fish auto-completions for kubectl 2022-01-09 20:36:19 -05:00
Kubernetes Prow Robot 77cc3857e6
Merge pull request #30662 from CarlosDomingues/patch-1
Use tee to write to /etc/bash_completion.d/kubectl
2022-01-08 06:28:19 -08:00
Kubernetes Prow Robot cdeca91910
Merge pull request #30166 from stefanlasiewski/patch-1
sha256sum requires 2nd space for the file type
2021-12-22 01:29:35 -08:00
Jesse Butler 018f9d05a2 Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-12-01 12:23:10 -05:00
Carlos Domingues 42e485b814
Use tabs and explicitly say this is for bash only 2021-11-29 22:23:54 -03:00
Carlos Domingues 7efe6cb612
Remove unecessary "echo"
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2021-11-29 22:11:31 -03:00
Carlos Domingues cde216e2f4
Use tee to write to /etc/bash_completion.d/kubectl 2021-11-29 00:43:34 -03:00
Kubernetes Prow Robot 1c31b83f9d
Merge pull request #30294 from bradbeck/zsh-completion
Fix zsh completion setup
2021-11-22 18:14:16 -08:00
Jesse Butler d330226a95 Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-11-17 12:55:09 -05:00
Kubernetes Prow Robot 80b4fe0cac
Merge pull request #30069 from sftim/20211013_tweak_kubectl_skew_advice
Tweak advice about kubectl skew
2021-11-05 13:52:40 -07:00
Brad Beck b48ddd9e90 Fix zsh completion setup 2021-10-28 10:02:50 -05:00
Ali Yousefi Sabzevar d895791f1f fix the sudo problem with cat using tee - en 2021-10-27 14:22:35 +02:00
Ali Yousefi Sabzevar 9a36c05f6a add sudo to Red Hat-based distributions - en 2021-10-26 21:43:55 +02:00
Stefan Lasiewski 537c2e101b
sha256sum requires 2nd space for the type 2021-10-20 10:12:43 -07:00
Tim Bannister cccf7b2102 Tweak advice about kubectl skew
This change helps make the example apply more relevantly to older docs
releases.
2021-10-13 19:35:06 +01:00
Zovin Khanmohammed c189c2d162
Update docs to reflect newly support shells with autocompletions (#29610)
* Update docs to reflect newly support shells with autocompletions

* Update Windows docs to use Powershell instead of zsh

* Adds a bit more explanation of the different lines.

* Apply suggestions from code review

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Apply PR suggestions

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2021-09-12 02:56:06 -07:00
S Nitesh Singh 1016cd383d fix broken link in install kubectl windows page 2021-08-27 23:10:48 +05:30
Juhee Kang 97d371bcf7
Fix kubectl-convert plugin typo on "Install kubectl on macOS"
Compared with the other distro guide about installation kubectl, the macOS installation guide has a typo about validation of kubectl-convert. 
This commits fixes the typo on "Install kubectl on macOS" documentation.
2021-07-30 22:16:44 +09:00
ruffrey f65f046cb5
Fix incorrect mv command for kubectl-convert
Looks like the `mv` installation command for `kubectl-convert` had been copied from `kubectl` install, but not fully changed
2021-07-14 09:45:25 -07:00
Kubernetes Prow Robot 670116cc39
Merge pull request #28740 from bhumijgupta/add-kubectl-check-info
Add kubectl-convert plugin installation info
2021-07-12 14:29:42 -07:00
Oisín ad5afa3dfa
Make kubectl executable in non-root install docs
Following the "if you do not have root access" installation docs for kubectl results in a "permission denied" error, so this change adds the appropriate chmod command to minimise confusion.
2021-07-07 14:00:33 +01:00
bhumijgupta 437e2a74f8 Add info to verify successfull installation and address other suggestions
Signed-off-by: bhumijgupta <bhumijgupta@gmail.com>
2021-07-05 17:15:04 +05:30
bhumijgupta 956eb48e72 Move kubectl-convert installation info under Optional kubectl configurations and plugins
Signed-off-by: bhumijgupta <bhumijgupta@gmail.com>
2021-07-03 09:36:30 +05:30
bhumijgupta 34b701c10f Add link to kubectl-convert in install tools footer
Signed-off-by: bhumijgupta <bhumijgupta@gmail.com>
2021-07-01 23:58:59 +05:30
bhumijgupta 729414f650 Add kubectl-convert install info
Signed-off-by: bhumijgupta <bhumijgupta@gmail.com>
2021-07-01 23:51:37 +05:30
Kubernetes Prow Robot 5dfcf92490
Merge pull request #28447 from tengqm/fix-file-modes
Remove exec permission on markdown files
2021-06-17 19:04:04 -07:00
Kubernetes Prow Robot 9d6baceb49
Merge pull request #28418 from HongjiangHuang/install-kubectl-notes
[en]: Add PATH note for install macos kubectl
2021-06-16 03:55:59 -07:00
Qiming Teng e9703497a1 Remove exec permission on markdown files
For some unknown reasons, we have got many markdown files with exec
permission. That is weird and risky.
2021-06-16 17:57:00 +08:00
Albert cd30245ed5 [en]: Add PATH note for install macos kubectl 2021-06-16 17:51:22 +08:00
Albert 482b53e3df remove duplicate content 2021-06-15 21:54:35 +08:00
Brendan Burns 2a03ddea27
Remove Google SDK instructions. (#28165)
* Remove Google SDK instructions.

Ref: https://github.com/kubernetes/website/issues/20232

* Remove Google SDK instructions for MacOS

* Remove Google SDK instructions for Windows

* Delete install-kubectl-gcloud.md
2021-06-11 18:23:00 -07:00
Yılmaz ŞEN cd04c8a1f6
Adding one line code for installation of kubectl
Hi There, When I follow these instructions, I could not install correctly kubectl.  After kubectl file downloading, That file needs to be given execution permission.
I want to contribute for that.  Best regards.
2021-06-04 11:19:25 +03:00
Kubernetes Prow Robot dc77f26c4a
Merge pull request #27425 from Kartik494/improveDocs
Improvement in Docs
2021-04-21 05:22:10 -07:00
Kubernetes Prow Robot 1dc0e0fcc4
Merge pull request #27467 from eddiezane/ez/remove-kubectl-psgallery
Remove out of date PSGallery kubectl install instructions
2021-04-20 01:02:33 -07:00
kartik494 59b166ed89 Improvement in Docs 2021-04-20 09:00:39 +05:30
Eddie Zaneski 0349ac0035
Remove PSGallery kubectl install instructions
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2021-04-13 19:56:53 -06:00
Rebecca f0d53f9f79
Update macOS installation instructions (#27512)
* Update macOS installation instructions

* Add tabs to example

* tabs render weird in infoboxes
2021-04-13 05:46:50 -07:00
Akihito INOH d7c2dd670b Fix errors of linkchecker.py in tasks folder
This commit fixes `Should use relative paths` errors which are shown by `linkchecker.py`
on `en/docs/tasks/*`.
2021-03-23 11:13:46 +09:00
Jihoon Seo bf312020cf
Fix broken link 2021-03-15 11:14:11 +09:00