Commit Graph

837 Commits

Author SHA1 Message Date
Rey Lejano 9d56683e8b Merge master into dev-1.21 to keep in sync - SIG-Release 1.21 Docs team 3/17/21
Fixed merge conflict with /docs/reference/command-line-tools-reference/kube-apiserver.md and preferred master
2021-03-17 21:29:04 -07:00
Karen Bradshaw 3ff5ec1eff clean up use of word: just 2021-03-17 19:57:40 -04:00
Kubernetes Prow Robot 9a9c2f3f74
Merge pull request #26966 from enyinna1234/fix-docker-version
container-runtimes: include note about latest validated docker
2021-03-17 12:19:18 -07:00
Kubernetes Prow Robot 8513a4d041
Merge pull request #27073 from neolit123/1.21-update-containerd-restart-order
container-runtimes: add note about restarting containerd
2021-03-16 22:36:56 -07:00
Kubernetes Prow Robot 0a2eff62d3
Merge pull request #27074 from atoato88/fix-feature-gate-link
Replace with relative path for feature gate link
2021-03-16 09:28:35 -07:00
Kubernetes Prow Robot bc451ce8f9
Merge pull request #27055 from atoato88/fix-install-kubectl-redirect
Replace redirect links of install kubectl
2021-03-15 17:00:34 -07:00
Akihito INOH 45f1017f86 Replace with relative path for featuregate link
This commit replaces abs path link for feature gate with relative
path /docs/reference/command-line-tools-reference/feature-gates/
2021-03-16 07:29:54 +09:00
Lubomir I. Ivanov ddf1157e47 container-runtimes: add note about restarting containerd
Add note about restarting containerd when the cgroup driver
is changed to "systemd".
2021-03-15 22:43:52 +02:00
Akihito INOH f553cbbebc Replace redirect links of install kubectl
/docs/tasks/tools/install-kubectl/ is redirected to
/docs/tasks/tools/
This commit replace the redirect links for installing kubectl
with direct links.
2021-03-15 08:22:29 +09:00
ChandaniM123 f4dee4c08b Merge remote-tracking branch 'upstream/master' into dev-1.21 2021-03-12 18:13:48 -05:00
Akihito INOH 51f72c50ff Fix transferring-ownership link
This commit fixes transferring-ownership link on `/docs/setup/release/notes/`.
2021-03-12 14:47:43 +09:00
Enyinna Ochulor 2df5a5226b Remove Docker Version Pinning
This commit fixes the packages not found error during
Docker installation. The packages containerd.io 1.2.13-2,
docker-ce 19.03.11, and docker-cs-cli 19.03.11 are currently not in
Ubuntu 20.10. This commit instead points users to validated
versions of Docker.

fixes https://github.com/kubernetes/kubernetes/issues/99831

Signed-off-by: Enyinna Ochulor <eochulor@vmware.com>
2021-03-11 09:32:53 -08:00
Kubernetes Prow Robot 81bc52d878
Merge pull request #26982 from YuikoTakada/redirect-kubernetes-api
Replace redirect links of labels-annotations-taints
2021-03-10 17:04:24 -08:00
Kubernetes Prow Robot 0a196b3643
Merge pull request #26952 from tmoschou/update-apt-repo-setup-install-steps
Update Ubuntu/Debian installation instructions to use Signed-By option
2021-03-10 08:07:15 -08:00
Yuiko Mouri a9254a9836 Replace redirect links of labels-annotations-taints 2021-03-10 15:01:58 +09:00
Terry Moschou e7e5f0c912 Remove some tabs on container-runtimes.md docs
This simplifies the containerd installation instructions. All Linux distros will
now download from Docker repos, including Ubuntu 18.04 which previously
installed from Ubuntu repos.

The Docker runtime instructions have also been simplified. The RHEL/CentOS
specific option overlay2.override_kernel_check=true option has been removed.
It seems Docker will now autodetect overlay2 support on older Linux kernels
<4.0.0,>=3.10.0-514, which have back-ported overlay2 support on RHEL/CentOS 7.4+
See moby/moby#34368
2021-03-10 15:45:33 +10:30
Kubernetes Prow Robot 6dd50320cb
Merge pull request #26919 from oomichi/redirect-kubeadm
Replace redirect links of kubeadm
2021-03-09 17:55:14 -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
Sandeep Rajan 5fcc8b2961 remove mentions of kube-dns in kubeadm docs 2021-03-08 11:54:58 -05:00
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 c4ded15afe
Fix broken anchor
in content/en/docs/setup/production-environment/windows/intro-windows-in-kubernetes.md
2021-03-08 14:21:34 +09:00
Jihoon Seo 07d23cd0e5
Fix typo (form -> from)
in content/en/docs/setup/production-environment/container-runtimes.md
2021-03-08 13:53:27 +09:00
Kenichi Omichi e7a25a823c Replace redirect links of kubeadm
/docs/reference/setup-tools/kubeadm/kubeadm/ is redirected to
/docs/reference/setup-tools/kubeadm/
This replaces the redirect links of kubeadm with the direct links.
2021-03-05 22:45:48 +00:00
Lubomir I. Ivanov 235509450a kubeadm: add a new page
- Add the new page "Configuring a cgroup driver"
The page includes details on how to configure the cgroup driver
using kubeadm. It also includes a migration guide for users to
move to the "systemd" driver.
- Link to the new page from install-kubeadm.md and container-runtimes.md
2021-03-05 00:37:30 +02:00
Kubernetes Prow Robot 42baccaf97
Merge pull request #26770 from neha-viswanathan/26722-network-addon
Replace network solution with network add-on
2021-03-01 12:53:26 -08:00
Kubernetes Prow Robot 44555ebf11
Merge pull request #26715 from chrisnegus/kubeadm-amazonlinux2
install-kubeadm.md: generalize the list of distributions and install options
2021-03-01 12:35:26 -08:00
Christopher Negus cb6ba0f63d install-kubeadm:Generalize list of distributions 2021-03-01 19:26:49 +00:00
Kubernetes Prow Robot b8616ed6e6
Merge pull request #26680 from diegonuevo/patch-1
Corrected Docker(shim) UNIX domain socket file
2021-03-01 10:49:26 -08:00
Kubernetes Prow Robot c5e52425ab
Merge pull request #26600 from marosset/windows-containerd-install-disable-defender
Updating containerd on Windows install steps to add Defender Exclusion
2021-02-28 13:26:39 -08:00
Neha Viswanathan 5ea1bfdfe0 Replace network solution with network add-on 2021-02-28 08:36:28 -08:00
Kubernetes Prow Robot 3e2731b564
Merge pull request #26465 from perithompson/patch-1
Added limitation with windows network services
2021-02-23 10:38:34 -08:00
diegonuevo 072ac32064
Corrected Docker(shim) UNIX domain socket file
This page listed `/var/run/docker.sock` as the UNIX domain socket path for the Docker container runtime, but it's actually `/var/run/dockershim.sock`, as the kubelet documentation indicates as the default value for the `--container-runtime-endpoint` argument:

https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/

The socket file specified (`/var/run/docker.sock`) is where the Docker daemon listens for requests for the Docker API, not the CRI interface.
2021-02-23 16:28:08 +01:00
marosset 8cb0137b7c Updating containerd on Windows install steps to add Defender Exclusion 2021-02-17 11:51:05 -08:00
Arnaud Lemaire c44f397eb8
Update control-plane-flags.md 2021-02-13 23:19:44 +01:00
Peri Thompson 52920a9a85
Added limitation with windows network services 2021-02-11 10:32:24 +00:00
eTimS f4a96f4e7c
Update content/en/docs/setup/production-environment/container-runtimes.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2021-02-11 00:27:23 +01:00
eTimS dc4836b626
Minor - Systemd enable command to enable CRI-O at boot time
Added "sudo systemctl enable crio enable" to configure systemd to enable CRI-O at boot time, as shown in the CRI-O install.md doc: https://github.com/cri-o/cri-o/blob/master/install.md#user-content-starting-cri-o
2021-02-10 15:22:48 +01:00
Kubernetes Prow Robot c24f62c16a
Merge pull request #26389 from kbhawkey/fixup-simply-usage
clean up use of word: simply
2021-02-09 02:02:40 -08:00
Kubernetes Prow Robot 2e78b33f62
Merge pull request #25775 from puckpuck/patch-1
remove misleading instructions in kubeadm setup docs
2021-02-08 00:19:12 -08:00
Karen Bradshaw 3fd65482e8 clean up use of word: simply 2021-02-07 12:15:29 -05:00
Kubernetes Prow Robot d2e7f4acab
Merge pull request #26352 from kbhawkey/fixup-remove-word-easy
clean up use of word: easy
2021-02-04 10:48:26 -08:00
Karen Bradshaw 7d9916af0c clean up use of word: easy 2021-02-01 15:14:25 -05:00
Kubernetes Prow Robot c9b4e1314c
Merge pull request #26259 from ruxandrafed/patch-1
docs: rephrase sentence missing predicate
2021-02-01 04:01:49 -08:00
Suraj Deshmukh f3e5f02604
kubeadm: Add backticks and mention Flatcar
This commit adds a cosmetic change by adding backticks to show the env
var in monospace font when rendered.

Mention Flatcar Linux in kubeadm troubleshooting doc, alongwith Fedora
CoreOS.

Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
2021-01-30 12:54:11 +05:30
Tej-Singh-Rana 29833597a5
Fix typos in release notes (#25816)
* Fixed the typo

* Fixed the typo

* Update notes.md
2021-01-29 10:17:40 -08:00
Ed Bartosh 237a449ca3 get rid of running 'containerd config default' with sudo
'containerd config default' doesn't require root privileges,
so it doesn't make sense to run it with sudo
2021-01-28 10:41:47 +02:00
Ruxandra Fediuc 7d842681a3
docs: rephrase sentence missing predicate
Unless that first part of the paragraph is meant to be more like a subheading (in which case it could use some reformatting), I would like to suggest a minor rephrase so that it becomes a proper sentence and has a predicate.

Thanks for considering this!
2021-01-27 13:24:50 -08:00
Ricardo Pchevuzinske Katz 2346581566
Fix some spell checking
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2021-01-24 16:27:42 -03:00
Kubernetes Prow Robot 2f5cfe4624
Merge pull request #26098 from liggitt/kubelet-upgrade
Clarify that nodes must be drained before minor version kubelet upgrades
2021-01-17 08:41:43 -08:00
Kubernetes Prow Robot a0dd4b51ac
Merge pull request #26020 from ydFu/fix-OS-version-in-install-kubeadm
Document kubeadm for RHEL 8
2021-01-16 19:49:43 -08:00
Jordan Liggitt 8781aceb62 Clarify that nodes must be drained before minor version kubelet upgrades 2021-01-14 15:05:43 -05:00
Sascha Grunert ff9bcd4d42
Update CRI-O docs to the latest configuration
This patch updates the CRI-O documentation to the latest available
version. It also adds a dedicated cgroup driver section to mention that
the configuration has to be in sync.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2021-01-14 14:10:46 +01:00
outofmem0ry f4f2c74db9 Fix containerd config instructions
modified:   content/en/docs/setup/production-environment/container-runtimes.md
	modified:   content/ko/docs/setup/production-environment/container-runtimes.md
	modified:   content/zh/docs/setup/production-environment/container-runtimes.md
	modified:   content/id/docs/setup/production-environment/container-runtimes.md
	modified:   content/ja/docs/setup/production-environment/container-runtimes.md
	modified:   content/zh/docs/setup/production-environment/container-runtimes.md

modified:   content/id/docs/setup/production-environment/container-runtimes.md
modified:   content/ja/docs/setup/production-environment/container-runtimes.md
modified:   content/zh/docs/setup/production-environment/container-runtimes.md
2021-01-13 11:53:49 -08:00
Kubernetes Prow Robot d70d1f6806
Merge pull request #25242 from stefanpetter/patch-1
Added step to create /etc/docker/ folder in Ubuntu instruction
2021-01-12 09:56:36 -08:00
Kubernetes Prow Robot 3a5d246bcf
Merge pull request #25822 from peymanslh/cotainerd_deb
Add containerd installation on Debian
2021-01-09 07:01:05 -08:00
ydFu 7eb46bb8c6 Document kubeadm for RHEL 8
* Add forward compatibility  RHEL / CentOS to the list of supported platforms.
2021-01-09 12:17:25 +08:00
Kubernetes Prow Robot 253d6ab66d
Merge pull request #25575 from timosmit/patch-1
Fixed link to configuring cgroup driver on control-plane node
2021-01-07 18:55:55 -08:00
Kubernetes Prow Robot 281df0c16b
Merge pull request #25896 from kylejep/patch-2
Update install-kubeadm.md
2021-01-04 17:15:57 -08:00
kylejep bf10334bfb
Update install-kubeadm.md
Propose adding config reference to load br_netfilter at boot up to prevent issues with the module not being loaded after reboot.
2020-12-31 07:54:16 -08:00
kylejep 103311a5ad
Update container-runtimes.md
I propose that by adding the modules to /etc/modules-load.d/ can help prevent issues with overlay and br_netfilter modules not loading after reboot.
2020-12-31 07:42:58 -08:00
outofmem0ry 599ec3adc9 Fix configuring containerd on Ubuntu 18.04/20.04 2020-12-28 13:01:41 -08:00
Peyman Salehi a9aa049103 Add containerd installation on Debian 9+
Add containerd installation on Debian

write docker keyring in a seprate file

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

edit comment

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

remove sudo

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-12-28 13:21:51 +03:30
Ader 7add440eeb
install-kubeadm.md
* Uniform case and adjustment description for smoother writing.(Kubelet → kubelet)
2020-12-26 11:40:21 +08:00
Pierre Tessier 4bf6c31e4e
remove misleading instructions
There is no need to restart the kubelet as part of configuring kubeadm to set the cgroup driver. At this point in the setup instructions, the kubernetes cluster isn't even up and running yet, as kubeadm init hasn't been run.  The previous step even says the kubelet is in a crashloop waiting for kubeadm.
2020-12-22 21:14:32 -05:00
Kubernetes Prow Robot 458e55658d
Merge pull request #24776 from karras/docs_update_ubuntu_containerd_instructions
Docs: Add containerd setup instructions for Ubuntu 18.04/20.04
2020-12-22 12:30:26 -08:00
Timo Smit 6340f8758f
Fixed link to configuring cgroup driver on control-plane node 2020-12-11 20:53:04 +01:00
Anna Jung (VMware) 99ee1442cd Update release notes for 1.20 release
Signed-off-by: Anna Jung (VMware) <antheaj@vmware.com>
2020-12-09 09:56:47 -06:00
Stefan Petter f6e5496bc3 Applied suggested changes to create /etc/docker folder instead of starting the service
The "Set up the Docker daemon" step fails because the initial files have not been created. I copied the step of creating of the /etc/docker/ folder from the CentOS/RHEL instructions to the Ubuntu Instructions
2020-12-09 12:37:46 +01:00
Kubernetes Prow Robot 7f1bff9f53
Merge pull request #25494 from m0freak/patch-1
Add sudo when running systemctl
2020-12-08 15:09:34 -08:00
Anna Jung (VMware) 78f36756cd Update release notes for 1.20 release
Signed-off-by: Anna Jung (VMware) <antheaj@vmware.com>
2020-12-08 16:38:06 -06:00
m0freak 5f6b3af864
Add sudo when running systemctl
For someone following the guide to setup a cluster, sudo is being used in the initial commands, I think it would great to carry this on till the last commands.
2020-12-08 17:39:09 +03:00
Anna Jung (VMware) 7f43aceddb Merge remote-tracking branch 'upstream/master' into dev-1.20 2020-12-07 10:39:57 -06:00
Kubernetes Prow Robot b6f9c2c581
Merge pull request #25146 from serewicz/patch-1
Update container-runtimes.md
2020-12-07 06:59:26 -08:00
Kristin Martin 86d9492ccb Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.20 2020-12-03 11:58:44 -08:00
Jie Shen a6e8f8bca1 Revise multiple zones 2020-12-02 12:52:30 +08:00
Kubernetes Prow Robot 7dc04b488c
Merge pull request #25198 from bl-ue/bl-ue/fix-broken-link
Fix broken link
2020-11-30 08:26:50 -08:00
Saintmalik cbffc023e9 Fix broken url in docs 2020-11-27 04:27:04 +00:00
Michael Hofer 4adea80ff8
Docs: Add containerd setup instructions for Ubuntu 18.04/20.04 2020-11-25 21:57:22 +01:00
clearbjli 587f6cee63
Update container-runtimes.md
--keyring option to apt-key must come before the "add" command. Otherwise this step will fail (verified on Ubuntu 20.04.1 LTS).
2020-11-25 21:57:21 +01:00
bl-ue d38bbe24ee Fix broken link
In content/{en, ja, ko, zh}/docs/setup/production-environment/windows/user-guide-windows-containers.md:

    https://gist.github.com/{wagnerandrade => 19WAS85}/5424431
2020-11-23 16:02:21 -05:00
marosset 7181cb54cd Misc updates to intro-windows-in-kubernetes.md 2020-11-20 23:06:19 +00:00
serewicz 07a8b3315d
Update container-runtimes.md
The current command on line 125 throws a permission error. The sudo elevation of rights applies to the containerd command, not the write (>) to a file owned by root.

This is the command as copied from the current page:
student@master:~$ sudo containerd config default > /etc/containerd/config.toml
-bash: /etc/containerd/config.toml: Permission denied

Instead leverage sudo tee. It works and no more error: 
student@master:~$ containerd config default | sudo tee /etc/containerd/config.toml
2020-11-20 09:16:59 -06:00
Mark Rossetti b41ee25727
doc updates for graduating Windows + containerd support to stable (#24862)
fixing content in tabs on adding-windows-nodes.md

reworking tabbed content on adding-windows-nodes.md

intro-windows-in-kubernetes.md

Updating Windows pause image details

PR feedback for adding-windows-nodes.md

Updating comments got GMSA on containerD
2020-11-20 07:10:51 -08:00
Somtochi Onyekwere ba77c903ed Merge remote-tracking branch 'upstream/master' into dev-1.20 2020-11-19 17:09:49 +01:00
Kubernetes Prow Robot ce40d8da83
Merge pull request #24538 from Cweiping/feature/fix_node-conformance_apiserver_adress_error
fix node-conformance apiserver adress flag error
2020-11-16 18:46:04 -08:00
Weiping Cai e245787641
fix node-conformance apiserver adress error
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-11-17 10:11:45 +08:00
Kubernetes Prow Robot d249077048
Merge pull request #24907 from neolit123/1.20-master-label
kubeadm: remove general output from "kubeadm init"
2020-11-16 14:46:04 -08:00
Lubomir I. Ivanov dd402eff76 kubeadm: remove general output from "kubeadm init"
Leave only the message:
  "Your Kubernetes control-plane has initialized..."
and the details bellow it.
2020-11-16 22:53:36 +02:00
Bin Chen 74243e9397 kubeadm: add instruction to check kubelet status
kubelet can fail to start due to various reason, e.g mismatching cgroup
drivers. Add this step to save user from having to go back and check when
found etcd cluster is not running successfully.
2020-11-16 19:50:31 +11:00
Lubomir I. Ivanov d0c6d303c3
kubeadm: promote the "kubeadm certs" command to GA (#24410)
The command resided under "kubeadm alpha certs".
It will be promoted to GA in 1.20 as "kubeadm certs".

The existing command "kubeadm alpha" will
remain present for one more release, but it will be hidden
from documentation as it is deprecated.
2020-11-12 11:28:25 -08:00
Kubernetes Prow Robot 20546141c0
Merge pull request #24698 from SergeyKanzhelev/runtimeGA
RuntimeClass GA
2020-11-12 03:10:50 -08:00
Kubernetes Prow Robot d275df5892
Merge pull request #24954 from ravisantoshgudimetla/patch-6
Introduce windows-priorityclass flag to kubelet
2020-11-11 16:30:50 -08:00
Kubernetes Prow Robot 96469d515e
Merge pull request #24567 from saintmalik/fix-url-bug
Fix broken url in docs
2020-11-10 19:37:48 -08:00
Kubernetes Prow Robot 56cf8f59f0
Merge pull request #24424 from sftim/20201007_large_cluster_guidance
Revise large cluster guidance
2020-11-10 18:37:48 -08:00
Ravi Gudimetla 1bcc07a674
Introduce windows-priorityclass flag to kubelet
Introduce windows-priorityclass flag to kubelet
2020-11-09 08:45:36 +05:30
Tim Bannister f80591272c Add advice about control plane resilience for large clusters 2020-11-05 17:33:39 +00:00
Tim Bannister 0600eaedde Reword “Building large clusters”
The existing page had lots of references to specific products. Those
references aren't in line with the current content guide, so I cut them
out.

I then reshaped the page to be a general set of advice about managing
and running large clusters.
2020-11-05 17:33:39 +00:00
Karen Bradshaw a8f07b6a1b modify width of iframe 2020-11-03 16:24:20 -05:00
Karen Bradshaw 1e1e016d17 testing landscape shortcode 2020-11-03 15:52:15 -05:00
Karen Bradshaw dd618cff39 clean up turnkey cloud solutions 2020-11-03 15:40:26 -05:00