Many Kubernetes solutions are available today. For example, turnkey managed Kubernetes offerings from cloud providers give IT organizations a zero-data-center- footprint solution that requires no installation. An on-premises private cloud Kubernetes implementation offers greater control and flexibility but requires investment in infrastructure and training. For this use case, we show a basic Kubernetes installation to demonstrate how having the container orchestration system on our LAN provides greater performance and control as well as the ability to customize the configuration.
We install Kubernetes as follows:
cat <<EOF > /etc/yum.repos.d/kubernetes.repo
# Set SELinux in permissive mode (effectively disabling it)
sed -i 's/^SELINUX=enforcing$/SELINUX=permissive/' /etc/selinux/config
yum install -y kubelet kubeadm kubectl --
systemctl enable --now kubelet