From 0026fe9f95c0632797a69a110e008ce552dd934e Mon Sep 17 00:00:00 2001 From: Bradley G Smith Date: Thu, 21 Dec 2023 12:22:42 -0800 Subject: [PATCH 1/3] Emphasize kubernetes use-case in guide This kubernetes guide is focused more on a single machine learning environment for kubernetes and not a production grade multi-machine cluster. --- modules/ROOT/pages/using-kubernetes.adoc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/using-kubernetes.adoc b/modules/ROOT/pages/using-kubernetes.adoc index 4743f8c..37d4aa4 100644 --- a/modules/ROOT/pages/using-kubernetes.adoc +++ b/modules/ROOT/pages/using-kubernetes.adoc @@ -196,7 +196,9 @@ The version of the Go programming language supported for a given Fedora release [cluster-creation] == Creating a Kubernetes cluster with kubeadm using Fedora rpms -Below is a guide to creating a Kubernetes cluster on a single Fedora machine. +Below is a guide to creating a functional Kubernetes cluster on a single Fedora machine that is suitable as a learning and exploring environment. +This guide is not intended for production environments. + Each Fedora release has a corresponding Kubernetes release as documented at the link:https://src.fedoraproject.org/rpms/kubernetes[Fedora Package Sources repository for Kubernetes]. Fedora 39, for example, has rpms for Kubernetes 1.27. The cluster initialization is the same for all current Fedora releases. @@ -224,9 +226,11 @@ sudo reboot now ---- . Disable the firewall. -Kubernetes is configured to generate an installation error if the firewall is running. +Kubeadm will generate an installation warning if the firewall is running. +Disabling the firewall removes one source of complexity in a learning environment. Modern Fedora systems use firewalld. -See link:https://devopstales.github.io/kubernetes/k8s-security[https://devopstales.github.io/kubernetes/k8s-security] for an alternative solution that retains the firewall and opens necessary ports. +See link:https://devopstales.github.io/kubernetes/k8s-security/#use-firewalld[https://devopstales.github.io/kubernetes/k8s-security/#use-firewalld] for an alternative solution that retains the firewall and opens necessary ports. +The current list of ports and protocols used by a Kubernetes cluster can be found at link:https://kubernetes.io/docs/reference/networking/ports-and-protocols/[https://kubernetes.io/docs/reference/networking/ports-and-protocols/]. + [source,bash] ---- From 0d0ecd6f7809509f27b4865c3d9b80b6d6f4f65b Mon Sep 17 00:00:00 2001 From: Bradley G Smith Date: Thu, 21 Dec 2023 12:28:58 -0800 Subject: [PATCH 2/3] Update COPR information for kubernetes Update the list of COPR repositories for kubernetes. K8S v1.25 is now EOL. --- modules/ROOT/pages/using-kubernetes.adoc | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/modules/ROOT/pages/using-kubernetes.adoc b/modules/ROOT/pages/using-kubernetes.adoc index 37d4aa4..2d4aa9c 100644 --- a/modules/ROOT/pages/using-kubernetes.adoc +++ b/modules/ROOT/pages/using-kubernetes.adoc @@ -442,19 +442,16 @@ This uncouples Fedora versions from Kubernetes versions allowing version upgrade A cluster manager can update the Fedora machines while maintaining the cluster version constant. Or the cluster manager can update Kubernetes while retaining the same Fedora release. +[[sect-kubernetes-1.26]] +=== Kubernetes 1.26 RPMS +The link:https://copr.fedorainfracloud.org/coprs/buckaroogeek/copr-k8s-1.26/[Kubernetes 1.26] project provides Kubernetes 1.26 rpms for all current Fedora releases that provide Go language 1.20 or newer. +This includes Fedora 39 and Fedora 40 (rawhide). Kubernetes 1.26 is directly available in Fedora 38. + +[references] [[sect-kubernetes-1.27]] === Kubernetes 1.27 RPMS The link:https://copr.fedorainfracloud.org/coprs/buckaroogeek/copr-k8s-1.27/[Kubernetes 1.27] project provides Kubernetes 1.27 rpms for all current Fedora releases that provide Go language 1.20 or newer. -This includes Fedora 38, Fedora 39, and Fedora 40 (rawhide). - -[[sect-kubernetes-1.25]] -=== Kubernetes 1.25 RPMS - -The link:https://copr.fedorainfracloud.org/coprs/buckaroogeek/copr-k8s-1.25/[Kubernetes 1.25] project provides rpms for all Fedora releases. -Kubernetes 1.25 part of the Fedora 37 release along with Go language version 1.19. -The upstream Kubernetes team recently updated Kubernetes 1.25 to use Go language version 1.20. -Kubernetes 1.25 can no longer be built on standard Fedora 37. -This project uses a custom version of Go available in COPR to continue to provide this version of Kubernetes for Fedora 37 as well as for newer Fedora releases. Both Fedora 37 and Kubernetes 1.25 will reach end of life in the October-November 2023 time frame. +This includes Fedora 38 and Fedora 40 (rawhide). Kubernetes 1.27 is directly available in Fedora 39. [references] == References From 51dc817f3d7897f855b828c28b0fb9c3ca250c07 Mon Sep 17 00:00:00 2001 From: Bradley G Smith Date: Thu, 21 Dec 2023 12:32:06 -0800 Subject: [PATCH 3/3] Add kubernetes v1.29 information K8S 1.29 is available. Initial information added. Likely will deploy to F40 but that is not yet final. --- modules/ROOT/pages/using-kubernetes.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/ROOT/pages/using-kubernetes.adoc b/modules/ROOT/pages/using-kubernetes.adoc index 2d4aa9c..349eda5 100644 --- a/modules/ROOT/pages/using-kubernetes.adoc +++ b/modules/ROOT/pages/using-kubernetes.adoc @@ -170,6 +170,11 @@ The version of the Go programming language supported for a given Fedora release [cols="1,1,1,1", options="header"] |=== |Kubernetes Version |Target Fedora Release | Kubernetes End-of-Life | Kubernetes Golang 'Built-With' Version +|1.29 +|TBD +|2025.02.28 +|1.21 + |1.28 |F40 |2024.10.28 @@ -184,11 +189,6 @@ The version of the Go programming language supported for a given Fedora release |F38 |2024.02.24 |1.20 (was 1.19) - -|1.25 -|COPR/F37^1^ -|2023.10.27 -|1.20 (was 1.19) |=== ^1^ F37 provides Go version 1.19. When Kubernetes switched to Go 1.20 (1.25.12) a link:https://copr.fedorainfracloud.org/coprs/buckaroogeek/copr-k8s-1.25/[COPR project] was created for more recent versions of Kubernetes 1.25.