From 1ed65df34ca4ea748a97c48591cf5d9aabe16abe Mon Sep 17 00:00:00 2001 From: Christopher Negus Date: Fri, 25 Feb 2022 17:25:26 +0000 Subject: [PATCH 1/2] Added note for when baseurl fails in kubeadm install --- .../production-environment/tools/kubeadm/install-kubeadm.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md b/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md index 1edc8ecd71..1a308a0de9 100644 --- a/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md +++ b/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md @@ -217,6 +217,11 @@ sudo systemctl enable --now kubelet - You can leave SELinux enabled if you know how to configure it but it may require settings that are not supported by kubeadm. + - If the `baseurl` fails because your Red Hat-based distribution cannot interpret `basearch`, replace `\$basearch` with your computer's architecture. + Type `uname -m` to see that value. + Supported architectures include x86_64, aarch64, armhfp, ppc64le, and s390x. + So, for x86_64, the `baseurl` would be: `https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64`. + {{% /tab %}} {{% tab name="Without a package manager" %}} Install CNI plugins (required for most pod network): From 723e5b4aa84e12659ce74d7a1f680404c00bf1d8 Mon Sep 17 00:00:00 2001 From: Christopher Negus Date: Mon, 28 Feb 2022 15:32:30 +0000 Subject: [PATCH 2/2] Fixed text from review comments --- .../production-environment/tools/kubeadm/install-kubeadm.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md b/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md index 1a308a0de9..dc3ad5d7a6 100644 --- a/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md +++ b/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md @@ -219,8 +219,7 @@ sudo systemctl enable --now kubelet - If the `baseurl` fails because your Red Hat-based distribution cannot interpret `basearch`, replace `\$basearch` with your computer's architecture. Type `uname -m` to see that value. - Supported architectures include x86_64, aarch64, armhfp, ppc64le, and s390x. - So, for x86_64, the `baseurl` would be: `https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64`. + For example, the `baseurl` URL for `x86_64` could be: `https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64`. {{% /tab %}} {{% tab name="Without a package manager" %}}