Commit Graph

165 Commits

Author SHA1 Message Date
wangyysde c7ed3bcef3 fix example for customizing the control plane with scheduler flags
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-05-11 21:31:35 +08:00
Marcelo Feitoza Parisi f0dbc2bc12 Fix static pod manifests generation
There was an URL problem with HOST1 and HOST2
2021-05-07 11:37:08 -03:00
Kubernetes Prow Robot 9b300a4f4f Merge pull request #27071 from neolit123/1.21-add-kubelet-serving-cert-guide
kubeadm: add guide for kubelet serving certs and metrics-server
2021-04-20 18:32:10 -07:00
Lubomir I. Ivanov 30c6e773e2 kubeadm: add guide for kubelet serving certs and metrics-server
Include a new section of the kubeadm certificate management page
to talk about kubelet serving certificates and how to make
them signed. Also include a note about using secure connection
with the metrics-server.
2021-04-07 01:19:21 +03:00
Tim Bannister 965aa51daf Merge master into dev-1.21 to keep in sync, plus latest API reference
This sync merge includes API reference updates.
2021-04-06 21:38:24 +01:00
Tim Bannister 7d84f93f06 Don't mention kubeadm dual-stack as a site front page feature
kubeadm dual-stack is a nice feature, but we don't need to mention it
on https://kubernetes.io/

Omit that mention.
2021-04-03 16:21:03 +01:00
Qiming Teng 79845b0c4a Add kubelet config reference
This is a reference for kubelet config generated from
github.com/tengqm/genref tool using the following command:

./genref -include kubelet-config
2021-04-01 21:53:14 +08:00
Kubernetes Prow Robot b0f761598a Merge pull request #27141 from neolit123/1.21-add-note-about-admin.conf
kubeadm/create-cluster: add warning about admin.conf
2021-03-30 09:29:57 -07:00
Kubernetes Prow Robot e7a3482b6a Merge pull request #26786 from neolit123/1.21-cgroup-drivers-new-page
kubeadm: add separate page for configuring / migrating cgroup driver
2021-03-30 09:21:57 -07:00
SataQiu 3252fb1d9e kubeadm: update create-cluster-kubeadm page as kubeadm will not do e2e tests against Calico CNI anymore 2021-03-29 20:56:15 +08:00
Kubernetes Prow Robot c9916c8713 Merge pull request #26675 from pacoxu/kubeadm/dual-stack
Kubeadm/dual stack support in 1.21
2021-03-25 22:08:44 -07:00
pacoxu 5a6c4244c4 Add docs for dual-stack via kubeadm: examples
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2021-03-26 10:25:43 +08:00
Lubomir I. Ivanov a198e2de6f kubeadm: remove page about self-hosting support
The command "kubeadm alpha self-hosting" was removed in 1.21.
Remove the page that talks about self-hosting support in kubeadm.
2021-03-24 01:08:14 +02:00
Lubomir I. Ivanov 669322a78c kubeadm/create-cluster: add warning about admin.conf
Add warning that the file must not be shared as it has super powers
that cannot be revoked.
2021-03-19 17:48:29 +02:00
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
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
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
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
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
Neha Viswanathan 5ea1bfdfe0 Replace network solution with network add-on 2021-02-28 08:36:28 -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
Arnaud Lemaire c44f397eb8 Update control-plane-flags.md 2021-02-13 23:19:44 +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 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
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
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
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
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
Timo Smit 6340f8758f Fixed link to configuring cgroup driver on control-plane node 2020-12-11 20:53:04 +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
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
Somtochi Onyekwere ba77c903ed Merge remote-tracking branch 'upstream/master' into dev-1.20 2020-11-19 17:09:49 +01: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
Neha Viswanathan a8b6551c22 update kubernetes-incubator references 2020-10-20 23:10:28 -07:00
Kubernetes Prow Robot 0661d65a18 Merge pull request #24076 from neolit123/1.20-add-link-in-kubeadm-config
kubeadm: improve links and information around using the config file
2020-10-12 18:11:22 -07:00