The Kubernetes root CA certificate is stored in a ConfigMap named
`kube-root-ca.crt` in every namespace. The _host-provisioner_ needs to
be able to read this ConfigMap in order to prepare control plane nodes,
as it is used by HAProxy to check the health of the API servers running
on each node.
This repository contains resources for deploying and managing my on-premises
Kubernetes cluster
Cluster Setup
The cluster primarily consists of libvirt/QEMU+KVM virtual machines. The
Control Plane nodes are VMs, as are the x86_64 worker nodes. Eventually, I
would like to add Raspberry Pi or Pine64 machines as aarch64 nodes.
All machines run Fedora, using only Fedora builds of the Kubernetes components
(kubeadm, kubectl, and kubeadm).
One of the main use cases for the Kubernetes cluster is to provide dynamic
agents for Jenkins. Using the Kubernetes Plugin, Jenkins will
automatically launch worker nodes as Kubernetes pods.
Persistent storage for pods is provided by Longhorn. Longhorn runs within
the cluster and provisions storage on worker nodes to make available to pods
over iSCSI.