Commit Graph

49 Commits

Author SHA1 Message Date
Tim Bannister 117d0d6422 Revise kubectl installation task 2020-06-13 23:04:47 +01:00
Karen Bradshaw ecc27bbbe7 add en pages 2020-06-09 19:33:15 -04:00
Karen Bradshaw 7a98007a29 update tabs shortcode 2020-05-11 18:12:43 -04:00
Kubernetes Prow Robot 83843968f6
Merge pull request #19742 from NikeNano/master
Update the Mac autocomplete documentation to use bash_profile
2020-04-08 17:25:44 -07:00
Mr.Hien 8ba1410113
Update install-kubectl.md
For install of kubectl on debian based distros, also install gnupg2 for apt-key add to work
2020-04-06 08:22:56 +07:00
Gasmi Christophe ffaa13c364
Missing parameters --client for kubectl version 2020-03-31 10:47:12 +02:00
Niklas Hansson 2ca1c075ad
Update the Mac autocomplete to use bash_profile
On OS X, Terminal by default runs a login shell every time, thus I believe it is simpler for new users to not have to change to change the default. behaviour or source the bashrc file every time. https://apple.stackexchange.com/questions/51036/what-is-the-difference-between-bash-profile-and-bashrc
2020-03-20 09:43:49 +01:00
Hanyu Cui c667b22ef2
Instructions to upgrade Bash for shell autocompletion (#19561)
* Instructions to upgrade Bash for shell autocompletion

* Tweak

* Clarification
2020-03-15 21:04:35 -07:00
Sharjeel Aziz 1b269add17 Updates kubectl version command to use --client flag. (#18125) 2020-01-15 01:13:32 -08:00
Samuel Kihahu c2617fb80f en-docs: Improve Install Instruction Formating (#17996) 2019-12-24 07:33:29 -08:00
Samuel Kihahu 767f9fb0c0 en-docs: Add kubectl Installation Via Homebrew (#17928) 2019-12-06 07:34:51 -08:00
tde908 3398b6f69d chore(kubectl): Formatting markdown (#17697)
Amending the formatting of the MD as ```shell was showing up in plain text. Zsh options: "https://kubernetes.io/docs/tasks/tools/install-kubectl/#enabling-shell-autocompletion"
2019-11-21 02:13:28 -08:00
Himanshu Pandey d600ed6f0c Added source location for kube-up.sh (#17016) 2019-10-23 08:22:16 -07:00
Mike Parker e3aeebed31 Update install-kubectl.md (#17110)
Docker for Windows is now called Docker Desktop for windows
2019-10-23 08:12:17 -07:00
ReSearchITEng 99fccb9bbe completion for an alias also (#16701)
* completion for an alias also

how to do bash completion for an alias also (e.g. when there is an alias k=kubectl)

* rephrasing
2019-10-09 13:19:50 -07:00
Syed Awais Ali 61fd2ab61e update install command for Mac OS (#16177)
when copying/pasting the command to install the Kubernetes on Mac OS using zsh, the command results in the following error,
`The specified key does not exist.`. This is usually because of the `\` that zsh automatically inserts into the command. The best practice is to use double-quotes and this is also the standard method according to https://google.github.io/styleguide/shell.xml?showone=Quoting#Quoting
2019-09-27 13:27:36 -07:00
Himanshu Pandey 9680192797 Added installation option for kubectl (#16380) 2019-09-27 12:05:37 -07:00
Nicolás Pascual González 3395e5ef71 Fixed bug on downloading kubectl in linux (#15264)
Fixed bug on command for downloading kubectl in linux
2019-07-31 12:50:15 -07:00
Brian Grant 71e027895e Remove myself from review of all files except what-is-kubernetes and the deprecation policy. All of the lists of suggested reviewers need to be overhauled, but that's a separate task. (#15227) 2019-07-06 04:20:35 -07:00
Jarek Strzelecki ba03f9580b Update install-kubectl.md (#14840)
Add note: Docker for Windows adds its own kubectl to PATH
2019-06-12 06:59:32 -07:00
Daniel Weibel 6c91774f47 Adapt docs for kubectl completion on macOS (#14636) 2019-06-03 18:23:01 -07:00
Atif Mahmood 424045fae3 Corrected documentation for kubectl tab completion on Mac (#14617)
* Corrects procedure to get tab completion on Mac

Tab completion only requires the installation of bash-completion and sourcing the bash_completion script. 

Installing bash-completion@2 doesn't work and source <(kubectl completion bash) is no longer necessary in the .bash_profile.

* Removed reference to other methods that don't work

* Update install-kubectl.md
2019-05-29 19:36:19 -07:00
shavidissa 7212523448 Update install-kubectl.md (#14072)
Added a step under the sections that guide the user to install the binary using curl on the OS. This is the same format maintained by the other section on this page.
2019-04-29 16:27:35 -07:00
shavidissa eaf7658f76 Update install-kubectl.md (#14036)
I thought this organization would give the users a better idea of what method to select based on the OS they use. 

Initially, I was a wee bit confused when I saw how to Install kubectl binary with curl on the Mac OS and then another section on how to install Kubectl on the Mac OS.

Now, I moved the content under the $subject to the respective OS section. 

P.S: I am still in the process of testing out the steps. :)
2019-04-25 10:12:49 -07:00
Cody Clark 37e59b898d Clean up kubectl install page (#13578)
* [WIP] Clean up kubectl install page

Fixes issue #13577

* Update install-kubectl.md

Addresses @zacharaysarah and @jaredbhatti's comments.

Minor language Improvements:
- Deleted unnecessary adverbs
- Used fewer words where possible

Next pass will include deeper edits, with careful attention to the kubectl autocompletion section

* Update install-kubectl.md
2019-04-15 09:48:09 -07:00
Song Kun 64700c0ab1 Use better format for kubectl install guide (#13810) 2019-04-14 17:41:59 -07:00
Daniel Weibel 783ee875d0 Clarify kubectl shell autocompletion documentation (#13060)
* Clarify kubectl autocompletion documentation (#12405)

* Clarify kubectl autocompletion documentation (#12405)

Remove comments.

* Clarify kubectl autocompletion documentation

Fix according to review.

* Clarify kubectl autocompletion documentation

Use selectable tabs.

* Fix note callouts in various sections

* Clarify kubectl autocompletion documentation

Change wording of intro paragraph.
2019-03-15 09:45:10 -07:00
June Yi 8e5d7e4829 Make k8s.io/docs/home to support i18n (#12570)
* Make k8s.io/docs/home to support i18n

* Apply kbhawkey's review comment
2019-02-21 08:24:20 -08:00
Marcin Kłopotek e7626d7687 Add option to install kubectl on Windows via scoop (#12359)
* Add option to install kubectl via scoop

* Review suggestions

* Fixed tab rendering

* Fixed list numbering
2019-02-12 20:42:51 -08:00
lIuDuI 7021514755 Fix Wrong document (#11697) 2018-12-11 17:31:57 -08:00
Jay 3d8f4a2e73 Kubernetes Repository URL HTTPS (#10983) 2018-11-14 17:39:18 -08:00
Luc Perkins d65e1790ff Add admonition type to shortcode (#9482)
* Change existing admon blocks

* Fix includes issue
2018-11-06 11:33:04 -08:00
LiuDui 654a589167 Delete some extra space (#10741)
Delete some extra space
2018-10-30 09:45:56 -07:00
Denis Salamanca af2207017f Removed "touch" on sources.list.d (#10427)
touch is not necessary as the "tee" command will create the file regardless if it exists or not
2018-10-03 19:45:58 -07:00
Damien Duportal c22f068daa Fix Markdown on documentation for install-kubectl (#9975)
* Fix Markdown on documentation for install-kubectl 

Section modified: "Install with Powershell from PSGallery"

* Update install-kubectl.md

* Feedback from PR review with gramamtically incorect sentence and markdown rendering in install-kubectl.md

Update install-kubectl.md

Update install-kubectl.md

Update install-kubectl.md

Update install-kubectl.md
2018-09-20 10:43:53 -07:00
Julie Bruce 7210c0e99a Applied Technical Writer Edits to the Top Portion (#10001)
Edited the file with Technical Writer edits through the Install kubectl binary using curl section. Will finish more later.
2018-08-22 12:03:06 -07:00
Shivakumar Thanikachalam 3586b9336e Update autocomplete instructions for Oh-My-Zsh (#9746)
The explanation to setup auto completion of zsh with Oh-My-Zsh is correct, however the example code is incorrectly mentioned as `source <(kubectl completion zsh)`. This pull request updates it to `plugins=(kubectl)`
2018-08-03 09:38:14 -07:00
Tair Sabirgaliev a09e9eafa3 Add instructions for Macports (#9701) 2018-08-02 09:18:27 -07:00
Luc Perkins bb818a9b41 Make macOS standard usage (#9422) 2018-07-18 15:12:16 -07:00
hidekif 2d086cb032 include supported version skew (#9501) 2018-07-18 15:04:51 -07:00
Jim Angel 11b28cc7c5 clarifying kubectl prereq wording (#9156)
* simplifying the kubectl prereqs

* unforeseen spelling fix

* made readability corrections

* minor phrasing change
2018-07-09 13:23:17 -07:00
makocchi af6cdabe9b use official homebrew package name (#9255) 2018-07-02 17:53:19 -07:00
dandersondavidp 77cf8d542b update to include sudo for various commands (#9031)
Also, if the kubernetes.list does not exist you will not be able to edit it, so adding touch and then add the line will prevent errors with installing via apt-get.
2018-06-15 09:48:28 -07:00
chenyb4 02e3bcbb32 Fix kubectl_install doc centos default not install bash-completion (#8888)
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-06-11 16:59:27 -07:00
Steve Perry 4207de7d63 Improve left nav for Tasks. (#8582)
* Add weights to first three Task sections.

* Add one more weight.
2018-05-19 21:43:52 -07:00
Bjørn Erik Pedersen 28341b5ec4 Fix sections in install-kubectl (#8588)
This commit adds a missing closing capture and puts "## Install kubectl" inside the relevant capture.

Note that the missing close was also missing before Hugo-migration, so the section ordering is still not the same as the Jekyll version of the site. But I think it is more corret.

Note that content outside the capture template blocks, is included as defined is this template:

https://github.com/kubernetes/website/blob/master/layouts/partials/templates/task.html#L8

See #8277
2018-05-18 10:33:50 -07:00
Bjørn Erik Pedersen 290aa53888 Fix tab titles in install-kubectl.md (#8496)
Fixes #8276
2018-05-12 07:54:27 -07:00
Tom Van Waardhuizen 093b78bf00 Fix spacing so CLI samples render properly (#8370)
#8273
2018-05-11 13:06:27 -07:00
Bjørn Erik Pedersen 7f3b633aa0 Convert site to Hugo (#8316)
This commit converts content and layout to use Hugo.
2018-05-05 09:00:51 -07:00