Commit Graph

1079 Commits

Author SHA1 Message Date
Rey Lejano 28cea36e93 revert changes from PR 32941 that merged before 1.24 release 2022-04-19 14:50:25 -07:00
Kubernetes Prow Robot 6e5451d666
Merge pull request #32471 from serewicz/patch-2
install-kubeadm: use nc instead of telnet
2022-04-18 19:17:18 -07:00
Christopher Negus fcdf66a1fd Deleted a blank line 2022-04-18 23:41:41 +00:00
Christopher Negus ebc817852f Add dockershim shortcode to other files 2022-04-18 23:41:41 +00:00
Kubernetes Prow Robot 22d86412bf
Merge pull request #32826 from chrisnegus/dockershim-shortcode
Create dockershim shortcode
2022-04-18 16:09:50 -07:00
Christopher Negus 6d560379a8 Create dockershim shortcode 2022-04-18 17:13:23 +00:00
serewicz 5750981c00
Update content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
2022-04-18 11:25:13 -05:00
Mitesh Jain fbd099a209
Adding more information to Installing kubeadm step. (#32884)
* Adding more information to Installing kubeadm step.

* Adding more information to installing kubeadm step.

Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>

* Remove unnecessary quotes.

Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
2022-04-13 17:54:46 -07:00
Kubernetes Prow Robot 89cf5eb7ce
Merge pull request #32738 from sftim/20220401_update_container_runtimes_dockershim_removal
Revise “Container runtimes” page in light of dockershim removal
2022-04-12 07:55:23 -07:00
Kubernetes Prow Robot 383fd26f21
Merge pull request #32761 from sftim/20220405_update_kubelet_container_runtime_detection_dockershim
Update kubeadm CRI detection docs in light of dockershim deprecation
2022-04-12 07:19:23 -07:00
Nate W e65201a5b3 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-11 09:31:28 -07:00
Kubernetes Prow Robot 9169cc8ebc
Merge pull request #32791 from jihoon-seo/220407_Replace_Go_Doc_URL_with_pkg.go.dev
Replace Go Doc URL with `pkg.go.dev`
2022-04-08 16:06:04 -07:00
Kubernetes Prow Robot 75ce0b8cfb
Merge pull request #32814 from ktsakalozos/patch-1
Fix minor typo in certificates.md
2022-04-08 03:44:42 -07:00
Konstantinos Tsakalozos eb53819201
Fix minor typo in certificates.md 2022-04-08 12:08:55 +03:00
Lubomir I. Ivanov 931581eb88 kubeadm: add task page for cluster reconf
The new task page outlines steps for reconfiguring
a kubeadm cluster and persisting reconfiguration.

Link the new page from the existing guides for
"customizing components", "creating a cluster",
and "kubeadm upgrade".

Co-authored-by: Paco Xu <paco.xu@daocloud.io>
Co-authored-by: Qiming Teng <tengqm@outlook.com>
2022-04-08 01:57:42 +03:00
Jihoon Seo b16e2bc7f4 Replace Go Doc URL with pkg.go.dev 2022-04-07 11:22:38 +09:00
Tim Bannister 9c8227a521
Update kubeadm CRI detection docs
Update kubeadm CRI detection docs in light of dockershim deprecation.

Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
2022-04-06 22:14:49 +01:00
Tim Bannister ba81191440
Fix typo
Co-authored-by: Qiming Teng <tengqm@outlook.com>
2022-04-03 19:24:23 +01:00
Tim Bannister afe13e859a
(Further) update Container Runtmes to prepare for dockershim removal 2022-04-03 12:31:25 +01:00
Nate W f85be125b9 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-03-31 15:18:13 -07:00
Kubernetes Prow Robot e047c71b9b
Merge pull request #31276 from sftim/20220110_move_pod_security_policy
Move PSP into Security concepts section
2022-03-30 11:46:20 -07:00
Kubernetes Prow Robot 8134e9ca3e
Merge pull request #32307 from PriyanshuAhlawat/version_skew_doc
create-cluster-kubeadm: update the version skew policy
2022-03-30 09:42:25 -07:00
Priyanshu Ahlawat 1f25824e05
Update content/en/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm.md
Co-authored-by: Stefan Büringer <4662360+sbueringer@users.noreply.github.com>
2022-03-30 22:01:29 +05:30
Tim Bannister 672813f3e7
Move PSP into Security concepts section
The logical navigation definitely works better if Pod Security admission
and PodSecurityPolicy are pages in the same section. Make It So.

Co-authored-by: Rey Lejano <rlejano@gmail.com>
2022-03-30 17:30:35 +01:00
Kubernetes Prow Robot d9707ee3fe
Merge pull request #32623 from neolit123/1.24-update-master-label-taint
create-cluster-kubeadm: fix typo in "master" label
2022-03-29 20:30:27 -07:00
Lubomir I. Ivanov 39d7770b8c create-cluster-kubeadm: fix typo in "master" label
A prior change to modify the command for control plane
untaint introduced a typo "control-master-". Fix it,
as it should be "master-".
2022-03-30 01:51:35 +03:00
Kubernetes Prow Robot 9f50755a72
Merge pull request #32481 from tengqm/IdentifyOS-beta
Promote IdentifyPodOS to Beta
2022-03-29 09:08:55 -07:00
Nate W 7c67921f3f Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-03-28 08:48:23 -07:00
Kubernetes Prow Robot f5e8071030
Merge pull request #30588 from dialogbox/patch-2
Update certificates.md
2022-03-24 23:23:50 -07:00
Kubernetes Prow Robot 2bdb3fe416
Merge pull request #31851 from marosset/move-windows-security-1.24
Moving Windows security info to new page
2022-03-24 23:09:50 -07:00
Kubernetes Prow Robot 81aee215f7
Merge pull request #31850 from marosset/move-windows-resource-management-1.24
Moving windows resource management to separate page
2022-03-24 22:39:50 -07:00
Qiming Teng 2536593a39 Promote IdentifyOS to Beta 2022-03-25 12:05:38 +08:00
serewicz ad2921225b
Update install-kubeadm.md
Telnet is a command that really should not be used, as there is too great a chance it could be misused. NetCat, nc, is a better and newer tool for testing single open ports.
2022-03-24 09:58:58 -05:00
Priyanshu Ahlawat 451eb18dcf
Update kubelet-integration.md (#32228)
* Update kubelet-integration.md

* Update kubelet-integration.md
2022-03-22 18:07:59 -07:00
PriyanshuAhlawat 3d78bd31df Update create-cluster-kubeadm.md 2022-03-17 02:21:16 +05:30
Tim Bannister c0aed1902b
Merge pull request #32118 from nate-double-u/merged-main-dev-1.24
Merged main into dev-1.24
2022-03-16 08:26:12 +00:00
Tim Bannister 9f60dc17fc Drop feature state for kubeadm / kubelet
It won't be clear to readers what feature is being covered here. The
advice in this page is version-specific (especially given the removal of
the dockershim); removing this shortcode takes away a detail that might
mislead people into thinking the page has not changed recently.
2022-03-10 13:49:24 +00:00
Nate W 5a0f2583c6 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-03-07 16:23:45 -08:00
Kubernetes Prow Robot c33258a7bf
Merge pull request #31966 from PriyanshuAhlawat/updating_envVariable
Update kubelet-integration.md issue
2022-03-07 14:32:25 -08:00
Jason Kim (Jun Chul Kim) 2cca1a2f85
Update content/en/docs/setup/best-practices/certificates.md
Co-authored-by: Qiming Teng <tengqm@outlook.com>
2022-03-06 09:39:02 +09:00
Tim Bannister 73cd38cdc6 Move kubectl overview to be section index
Also:
- use glossary definition in page introduction
- tidy broken link in What's Next section
- update links to refer to moved page
2022-03-03 10:03:00 +00:00
Kubernetes Prow Robot abd4c430f5
Merge pull request #31971 from neolit123/1.24-fix-ha-etcd-guide-tmp-folders
kubeadm: fix wrong path in the etcd HA guide (step 7)
2022-03-02 17:28:45 -08:00
PriyanshuAhlawat 2198d0f519 Update create-cluster-kubeadm.md 2022-03-01 18:46:53 +05:30
Nate W b7f8b0daae Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-02-28 16:18:31 -08:00
PriyanshuAhlawat 3d392f1b51 Update kubelet-integration.md 2022-02-28 23:03:31 +05:30
PriyanshuAhlawat 30abee1696 Update kubelet-integration.md 2022-02-28 22:54:45 +05:30
Lubomir I. Ivanov 7bf583a242 kubeadm: fix wrong path in the etcd HA guide (step 7)
The guide generates some files on one of three ETCD
hosts. It then copies files from host 1 to 2 and 3.
Due to that some file paths differ.

Update step 7 to reflect that and to match step 6.
2022-02-28 19:22:29 +02:00
Christopher Negus 723e5b4aa8 Fixed text from review comments 2022-02-28 15:32:30 +00:00
PriyanshuAhlawat 59689b8dea Update kubelet-integration.md 2022-02-28 19:00:41 +05:30
Christopher Negus 1ed65df34c Added note for when baseurl fails in kubeadm install 2022-02-25 17:25:26 +00:00
Mark Rossetti 9b6876726c Moving Windows security info to new page
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-02-24 15:32:42 -08:00
Jim Bugwadia 9e10d98d07 add options
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2022-02-23 17:58:26 -08:00
Lubomir I. Ivanov 806518df13 kubeadm: update references of "master" label/taint for 1.24
In 1.24 kubeadm will:
- stop using the "master" label on CP nodes.
- start tainting CP nodes with both "master" and "control-plane" taints.

In 1.25 the "master" taint will be removed.

Adjust references of the "master" label/taint to the above.
2022-02-23 19:22:50 +02:00
Mark Rossetti f217a5415e Moving windows resource management to seperate page
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-02-22 13:17:04 -08:00
Manish Kumar 0673b89cd4 follow-up of #31667 2022-02-23 01:12:29 +05:30
Kubernetes Prow Robot e021e42245
Merge pull request #31667 from mk46/remove_kubenet
Removed kubenet reference from docs
2022-02-22 07:31:46 -08:00
Manish Kumar 7fc89637f3 Removed kubenet reference 2022-02-22 18:59:32 +05:30
Kubernetes Prow Robot 683fc53b84
Merge pull request #31687 from neolit123/1.24-update-legacy-kubelet-cm-refs
kubeadm: update legacy kubelet config map information and document feature gates
2022-02-22 02:49:46 -08:00
PranshuSrivastava 8b1b8a4f80 updated the container-runtime page to include info about dockershim deprecation. 2022-02-22 12:21:36 +05:30
Nate W e8b19637df Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-02-21 10:36:03 -08:00
Mark Rossetti 1b1dd7d9ae
Adding a warning to Windows docs for NodePort service issues on WS2022 (#31759)
* Adding a warning to Windows docs for NodePort service issues on WS2022

Signed-off-by: Mark Rossetti <marosset@microsoft.com>

* Update content/en/docs/setup/production-environment/windows/intro-windows-in-kubernetes.md

Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>

* Update content/en/docs/setup/production-environment/windows/intro-windows-in-kubernetes.md

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

Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-02-20 23:54:11 -08:00
Lubomir I. Ivanov 26f6a21308 kubeadm: remove mentions of the the legacy kubelet-config-x.yy
The default kubelet configuration ConfigMap that kubeadm manages
is "kubelet-config" instead of "kubelet-config-x.yy" (where x.yy
is the Kubernetes version) in 1.24.

Cleanup references to the legacy naming in kubeadm documentation.

Generated contents in content/en/docs/reference/* are not updated.
2022-02-17 18:27:48 +02:00
Nate W 8b9e77db12 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-02-15 08:28:12 -08:00
Paul "TBBle" Hampson b6045d6160
Update link to TECHNET article about Windows NAT (#31702)
* Update link to TECHNET article about Windows NAT

* Fix inconsistent capitalisation of win-overlay

No other instance of win-overlay is capitalised, and win-bridge in the same place on the previous row is not capitalised either.
2022-02-11 13:59:47 -08:00
Nate W f9dda7bc96 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-02-07 11:03:19 -08:00
Lubomir I. Ivanov 75a33b2650 kubeadm: add missing guide for "kubeconfig user"
The command "kubeadm kubeconfig user" is missing
some examples and more details on why it is needed.

- Add a new section "Generating kubeconfig files
for additional users" under the kubeadm-certs page.
- Link to this section from the kubeadm-kubeconfig reference page.
- Link to this section from the create-cluster-kubeadm page.
2022-02-02 21:41:40 +02:00
jeremy-morren 095c52a590
Fix powershell install script
Setting powershell variables container only numbers does not work with multiple periods (at least on Powershell 5.1). Using quotes is necessary.
2022-01-31 22:15:40 -04:00
Kubernetes Prow Robot dec940e537
Merge pull request #31328 from sftim/20220113_clarify_example_linux_command_line_cgroup_v2
Clarify example for setting Linux command line
2022-01-31 16:59:53 -08:00
Kubernetes Prow Robot 5ccbcd89be
Merge pull request #31372 from sftim/20220117_tidy_kubeadm_ha
Tidy kubeadm HA guide
2022-01-31 16:57:52 -08:00
Kubernetes Prow Robot 5e35828808
Merge pull request #31309 from neolit123/1.24-update-kubeadm-docs-for-dockershim
kubeadm: adapt docs for 1.24 and dockershim removal
2022-01-25 08:44:32 -08:00
Lubomir I. Ivanov 3184c227c7 kubeadm: adapt docs for 1.24 and dockershim removal
Touch the following files:
- Implementation details: remove docker specifics, which is changing
in 1.24
- Create cluster: small language cleanup, remove note about 1.24
- Install kubeadm: Include two up-to-date tables for Linux / Windows
with known endpoints. Include cri-dockerd.
- Kubelet integration: (side cleanup) use "container runtime" instead of
"CRI runtime" (which is incorrect). Mention that only updating
"--container-runtime-endpoint=.." is required if the user wishes
to override the CR on a certain host. Dockershim->CR-foo migration
guides would make the "--container-runtime=remote" flag explicit
and we want to remove it at some point.
- Troubleshooting kubeadm: Remove some instances of Docker troubleshooting
that imply docker as default CR, or talk about old Docker versions.
Be more generic about container runtimes.
- Adding Windows nodes: move the containerd tab before the Docker
tab, as containerd is now the default. Remove note about being explicit
about --cri-socket. Add note that crictl is required for both
Docker and containerd. Add note that cri-dockerd is required if
the user wants to use Docker EE on Windows.
2022-01-25 18:35:58 +02:00
Shubham Kuchhal 15bc0c7621 Improvement: Updated FEATURE STATE of PodSecurityAdmission. 2022-01-19 18:04:52 +05:30
Kubernetes Prow Robot ebceaf1343
Merge pull request #30862 from sftim/20211211_marke_dockershim_deprecated_add_mcr
Mark dockershim deprecated / add MCR
2022-01-18 14:13:03 -08:00
Tim Bannister 843ff5a90b Fix external etcd setup guide 2022-01-18 13:32:57 +00:00
Tim Bannister acea84ae3f Tweak wording around reporting issues
The style guide recommends against using “we” in documentation.
2022-01-18 13:32:57 +00:00
Tim Bannister 63f32f4908 Tidy prerequisites
Use tabs to make the comparison visually straighforward, and also to
clearly indicate that the reader has a choice to make.
2022-01-18 13:32:57 +00:00
Tim Bannister a8112a6d8a Clarify advice about etcd private key
"Quote" can mislead; skip should be more obvious.
2022-01-17 21:55:08 +00:00
Tim Bannister f1dda969c4 Add security advice about SSH agent forwarding
In the case of a malicious node, or malicious superuser with access to
the same node, SSH agent forwarding is a risk. Call that out.
2022-01-17 21:41:01 +00:00
Tim Bannister 000536e52c Fix Markdown formatting 2022-01-17 21:41:01 +00:00
Tim Bannister 62905feb8e Don't recommend any CNI plugin for kubeadm clusters 2022-01-17 21:32:12 +00:00
Kubernetes Prow Robot d9edcc33ff
Merge pull request #31325 from Darshnadas/weave
Removed weave url
2022-01-17 12:52:49 -08:00
Darshna Das 8a5c44c874 Added changes 2022-01-16 20:47:37 +05:30
Tim Bannister ef6d83b5dd Clarify example for setting Linux command line 2022-01-13 17:43:34 +00:00
Darshna Das c5881a11b8 Removed weave url 2022-01-13 19:56:57 +05:30
Lubomir I. Ivanov 0acf0e98ee kubeadm: update HA etcd guide for clarity and fix an issue
There were a couple of reported problems with this guide:

- The introductory paragraph talks about single control plane nodes
and does not mention the different options for HA etcd. Clear the
language to reduce the confusion and cross-link to the ha-topology
page.
- The hostname / IP detection in kubeadm can end
up with values not suitable for the certificates that kubeadm
generates for all etcd instances. Ensure that the hostnames / IPs
are pinned by the user in the example script.

Side cleanup related to the dockershim removal:
- Use containerd in the setup example and don't mention docker as
a requirement.
2022-01-12 16:24:26 +02:00
Kubernetes Prow Robot bef1768ff1
Merge pull request #31207 from tengqm/tune-config-links
Tune config API links
2022-01-05 08:42:25 -08:00
Qiming Teng 6be193b4de Tune config API links
We favor links to generated docs targetting non-developer audiences over
golang specifics.
2022-01-05 13:42:32 +08:00
Peri Thompson 60824acdd2
Update windows pause image
Signed-off-by: Peri Thompson <perit@vmware.com>
2022-01-04 09:40:47 +00:00
Tim Bannister 65e92a8f14
Add Docker Engine as container runtime
Mention that the support via Dockershim is deprecated.

Co-Authored-By: Rey Lejano <rlejano@gmail.com>
2021-12-16 16:09:29 +00:00
Mark Rossetti f19ded7dc0
Apply suggestions from code review
Using v{{< skew currentVersion>}} in  windows docs

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2021-12-15 09:20:54 -08:00
Mark Rossetti e774004131 Updating intro-windows-in-k8s for 1.23
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2021-12-14 13:11:54 -08:00
Kubernetes Prow Robot 8577231a24
Merge pull request #30716 from dgengtek/main
kube-etcd certificate requires additional SAN's
2021-12-13 16:16:02 -08:00
Kubernetes Prow Robot 632bafa331
Merge pull request #30836 from neolit123/1.24-fix-bug-kubeadm-patches-config
kubeadm: fix wrong config example for customization with patches
2021-12-12 14:29:57 -08:00
Lubomir I. Ivanov 2295e0c1e2 kubeadm: fix wrong config example for customization with patches
The patches sub-structure is top level and not under nodeRegistration.
2021-12-12 23:06:27 +02:00
Tim Bannister 6d9fec4175 Update third party list of container runtimes 2021-12-11 17:06:51 +00:00
Ayushman Mishra 2042d8966d changes
Signed-off-by: Ayushman Mishra <ayushvidushi01@gmail.com>
2021-12-11 21:53:07 +05:30
Ayushman Mishra 5ae6af819b Changed Docker EE to MCR in Windows
Signed-off-by: Ayushman Mishra <ayushvidushi01@gmail.com>
2021-12-11 02:34:29 +05:30
dgengtek bd6dd9b58e kube-etcd certificate requires additional SAN's 2021-12-02 17:33:50 +01:00
Jesse Butler 018f9d05a2 Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-12-01 12:23:10 -05:00
Kubernetes Prow Robot b1a73567ec
Merge pull request #30686 from chetak123/flexVolume_deprecated
Mark FlexVolume deprecated
2021-12-01 05:39:14 -08:00