Commit Graph

194 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot 8d779533c6
Merge pull request #26945 from jihoon-seo/patch-3
Fix typo (Linux -> macOS)
2021-03-12 17:41:04 -08:00
Terry Moschou b1686cc43a Switch to curl, remove code formatting on the product names, use OS family name on tabs 2021-03-09 11:47:15 +10:30
Terry Moschou 21382af32e Update Ubuntu/Debian installation instructions to use Signed-By option (#26906)
The use of `apt-key` to install has also been removed as it is now deprecated
and will be last available in Debian 11 and Ubuntu 22.04.

Also updates the Docker repository setup instructions in container-runtimes.md,
to now refer to the respective instructions at https://docs.docker.com/engine/install/
which has already made the move to use the signed-by option.
2021-03-08 21:23:53 +10:30
Jihoon Seo 4af3585b05
Fix typo (Linux -> macOS) 2021-03-08 15:56:59 +09:00
Tom Kivlin 87e3291aaa
Update install-kubectl.md to use tabs for the different Operating Systems (#26682)
* top-level tags and change to included files

* revert content to main windows page

* include gcloud and update toc

* add leading blank line

* add text to avoid YAML error from Netlify

* remove YAML delimiter error

* removed redundant weight key

* add front matter and toc shortcode

* test to see if toc is fixed in included page

* update macos toc to show difference

* use static toc instead of shortcode

* uniqueness for gcloud install headers

* Move to model suggested in https://github.com/kubernetes/website/pull/26682#discussion_r585091797

* correct link to included/install-kubectl-gcloud.md

* correction of links to per-OS pages

* try a different way to use path to per-OS links

* correction of brainfart

* remove .md from link destination for per-OS pages

* modify how auto-competion steps are displayed

* remove redundant file

* correction of include - change % to <

* remove closing tag as not needed

* try and hide this directory from the ToC on the left

* remove erroneous "include="

* addressing feedback: https://github.com/kubernetes/website/pull/26682#discussion_r586325123

* addressing feedback: https://github.com/kubernetes/website/pull/26682#discussion_r586326346

* addressing feedback: https://github.com/kubernetes/website/pull/26682#discussion_r586326604

* addressing feedback: https://github.com/kubernetes/website/pull/26682#discussion_r586327212

* https://github.com/kubernetes/website/pull/26682#discussion_r586327856

* consistent verb usage as per feedback: https://github.com/kubernetes/website/pull/26682#discussion_r586328497

* update redirects as existing page is being deleted
2021-03-04 19:04:21 -08:00
Nate W ac8b4c5399 Updating /docs/tasks/tools/install-kubectl
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Updating Linux-specific install instructions to use install command, and
macOS-specific instructions to chown root the install to provide a trusted
kubectl.

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Adding some syntax highlighting to the command snippets

Correcting "PowerShell" spelling

fixes: https://github.com/kubernetes/website/issues/25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
2020-12-18 11:38:05 -08:00
RA489 815832f03a Update kind doc 2020-11-23 09:50:45 +05:30
Qiming Teng 740eb340d4 Fix links in the tasks section
This PR fixes links where the target is a redirection. The special case
is about minikube, which has been deleted recently. The dangling link
now points to `/docs/tasks/tools/` which makes no sense. This PR change
the target for `minikube` to `https://minikube.sigs.k8s.io/docs/`.
2020-10-22 15:01:45 +08:00
jornshen c24b5ef19d Add kubeadm to “Install Tools” 2020-10-19 16:16:58 +08:00
Tim Bannister a6b52520cd Redirect "Learning environment" to Install Tools task 2020-10-13 01:02:21 +01:00
Nate W b65ddd16f6 Remove content/en/docs/tasks/tools/install-minikube.md
As per conversations in issue https://github.com/kubernetes/website/issues/23354,
* Removing content/en/docs/tasks/tools/install-minikube.md page
* Adding a 302 temporary redirect for /docs/tasks/tools/install-minikube/
* Updating content/en/docs/tasks/tools/_index.md with the suggestion to add buttons to make these links more visual/see-able, including aria-labels

Additionally:
* Updating minikube capitalization throughout page
* Updating text throughout page for line length
* Correcting back ticks use throughout page

Signed-off-by: Nate W <nwaddington@cncf.io>
2020-10-09 13:50:03 -07:00
Ricardo Katz f4fe5eafd8
Add curl to required packages in kubectl install 2020-09-22 15:34:29 -03:00
Kubernetes Prow Robot 70b75e16f0
Merge pull request #22981 from shuuji3/en/replace-special-quote-with-normal-ones
Replace special quote characters with normal ones
2020-08-26 14:55:02 -07:00
Qiming Teng b8541d2127 Tune links in tasks section (1/2) 2020-08-12 18:32:22 +08:00
Daniel Schnetler d6e371fc57
Update _index.md 2020-08-11 23:15:20 +02:00
TAKAHASHI Shuuji c6a96128c4
Replace special quote characters with normal ones. 2020-08-11 21:05:22 +09:00
Qiming Teng 92ae1a9cf8 Tune links in tasks section (2/2) 2020-08-08 16:15:28 +08:00
Kubernetes Prow Robot 1b9a074fff
Merge pull request #22675 from sftim/20200723_improve_task_tools_overview
Revise overview for Install Tools tasks
2020-07-26 19:00:17 -07:00
Roberth Strand a5e1ede968
Wrong formatting on curl command for downloading latest release of kubectl (#22738)
* Update install-kubectl.md

Wrong formatting on the first curl command

* Update content/en/docs/tasks/tools/install-kubectl.md

Correct syntax

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

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-07-26 18:46:16 -07:00
Tim Bannister 0f519e614a Revise overview for Install Tools tasks
Co-authored-by: Zach Corleissen <zacharysarah@users.noreply.github.com>
2020-07-26 15:23:28 +01:00
Jerry Park 64f62106c1 Fix issue of document link in some documents 2020-07-05 22:46:08 +09:00
Tim Bannister 74360fa8ee Add descriptions for tasks
Add description metadata for each task section (English localization).
For sections that only have one page, make sure that that sole page has
description metadata set.

This change helps prepare for the migration to the Docsy theme.
2020-06-15 20:47:26 +01:00
Tim Bannister 117d0d6422 Revise kubectl installation task 2020-06-13 23:04:47 +01:00
Kubernetes Prow Robot af64e08666
Merge pull request #21549 from J3RN/patch-1
Add documentation about Minikube and libvirt
2020-06-10 06:22:51 -07:00
Karen Bradshaw fb79042c61 update orig. order of headings 2020-06-09 19:33:15 -04:00
Karen Bradshaw ecc27bbbe7 add en pages 2020-06-09 19:33:15 -04:00
Jonathan Arnett 673a749835 Add documentation about Minikube and libvirt 2020-06-08 10:43:08 -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
Christian Wansart fca1d58ce0
Update minikube documentation (#19756)
* Update vm-driver param and driver links

* Fix mistakes

* Fix spaces

* Revert "Fix spaces"

This reverts commit c08906d6

* Revert "Fix mistakes"

This reverts commit c6c14b69

* Revert "Update vm-driver param and driver links"

This reverts commit 164729db

* Update vm-driver param and driver links
2020-03-25 21:42:25 -07: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
RA489 d29ede7f47
Document minikube Podman support (#19514) 2020-03-08 20:07:34 -07:00
pierwill d856dfcd39
Add note on `none` driver in minikube installation docs (#18430)
* Add newlines to `none` VM driver docs

* Add note on `none` driver in minikube installation docs

Link to documentation describing possible security and data loss issues

* minikube: Add caution block to `none` vm driver

* Edit Debian-related minikube instructions

Update section on the `none` driver.
2020-02-13 00:20:35 -08: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
Daniel Helfand 12dadf46ee confirm installation instructions for minikube (#17479) 2019-12-06 07:06:50 -08:00
Samuel Kihahu b364ad92b3 en-docs: Minikube Installation via Homebrew (#17826)
* en-docs: Add Minikube Installation Via Homebrew

* Update install-minikube.md
2019-11-27 00:11:21 -08:00
Luzhenxing fb36e557c9 fix 17690 (#17704) 2019-11-21 02:15:28 -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
Tim Bannister 77b22e7fcd Tidy “clean up local state” for Minikube install (#17506) 2019-11-11 18:20:06 -08:00
Luzhenxing e999c0398d change minikube install cmd on macOS (#17296) 2019-11-01 08:09:25 -07: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
Artem V. Navrotskiy 168b7131f2 Update install-minikube.md (#16180) 2019-09-27 13:23:36 -07:00
Himanshu Pandey 9680192797 Added installation option for kubectl (#16380) 2019-09-27 12:05:37 -07:00
Ori Tzoran 492f6eb6c3 streamline `grep` usage in minikube_before_you_begin (#15360)
- tested on macOS with BSD's grep and GNU's. same flags, same output.
- there are some 55 CPU flags on mac, so highlighting VMX makes it
  easier to grasp
- using `egrep` on linux and `grep` on mac, not necessary
- precision: the VT-x feature is NOT an OS feature...
2019-08-06 15:10:50 -07:00
RA489 cf3c352881 None driver doesn't work with snap docker. (#15667) 2019-08-05 20:13:55 -07:00
janitha09 5a4088af42 Update install-minikube.md (#15087)
kubernetes-cli is now included as a dependency https://chocolatey.org/packages/Minikube
2019-08-05 15:41:49 -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
Patrick Lussan 06418e9676 Fix download link for latest release (#15050)
* Fix download link for latest release

See https://help.github.com/en/articles/linking-to-releases

* Update install-minikube.md
2019-06-21 10:36:17 -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
Rajakavitha1 55ac801bc4 Restructure the left navigation pane of setup (#14826)
* restructure left nav

* Restructure setup left navigation

* Update _redirects

* Incorporated all the changes suggested

* removed the Thumbs.db file
2019-06-12 04:57:29 -07:00
Tim Bannister 5c3e7955fb Split minikube install task into tabs (per-OS) (#14013)
* Put minikube install steps in per-OS tabs

* Work around nested <li> formatting issue

Using Markdown unordered lists inside tabs doesn't seem to work. These
changes are my work-around for that.

* Reword "laptop" to personal computer

Some computers aren't laptops

* Drop trailing whitespace

* Drop warning about removing other Mac hypervisors
2019-06-10 19:50:16 -07:00
Jarek Strzelecki feda4f90ec Update install-minikube.md (#14776)
Add message displayed when Hyper-V is already installed.
2019-06-10 17:50:15 -07:00
Thomas Strömberg b207ff8d2d Prefer "minikube delete" over "rm -rf ~/.minikube" (#14647)
Using `rm -Rf ~/.minikube` is not necessary in modern (v1.x) versions of minikube, and is highly discouraged as may can leave dangling VM's running, which minikube will fail to recover from. 

Example issue: https://github.com/kubernetes/minikube/issues/4377
2019-06-04 16:01:52 -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
Christian Rebischke 1213d41cdf Update install-minikube.md (#14542)
The link https://github.com/kubernetes/minikube#other-ways-to-install doesn't exist anymore.
So either we remove the link to it or we fix the minikube README and add a new section for alternative ways to install minikube.
What do you think?
2019-05-26 19:19:49 -07:00
shavidissa ae2ee00d1d Update install-minikube.md (#14097)
Added steps to find out if virtualization in installed on the users OS.

Minor improvement

Capitalized Windows

Removed the shell from the command.

Update install-minikube.md
2019-05-04 18:49:37 -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