Fork of Kelsey's Hightower Kubernetes the Hard Way on a single machine KVM setup. Recreated as much of the support infrastructure as possible.
Kubernetes The Hard Way guides you through bootstrapping a highly available Kubernetes cluster with end-to-end encryption between components and RBAC authentication.
- Kubernetes 1.15.0
- cri-o 1.0.0-beta.0
- CNI Container Networking 0.6.0
- etcd 3.2.11
This tutorial attempts to create as much of the supporting infrastructure as possible. This means it uses more than the six (6) VM used by the original tutorial. It also assumes you have access to an Linux machine running KVM with sufficient resources. This usually means you have enough RAM as most CPU should be able to handle the load, (I have run this on a Thinkpad t450 with RAM upgraded to 32GB), reducing the memory assigned to the VMs should enable it to run on less resources but the Kubernetes cluster won't really support the deployment of applications.
- Prerequisites
- Installing the Client Tools
- Support Infrastructure
- Provisioning Compute Resources
- Provisioning the CA and Generating TLS Certificates
- Generating Kubernetes Configuration Files for Authentication
- Generating the Data Encryption Config and Key
- Bootstrapping the etcd Cluster
- Bootstrapping the Kubernetes Control Plane
- Bootstrapping the Kubernetes Worker Nodes
- Configuring kubectl for Remote Access
- Provisioning Pod Network Routes
- Deploying the DNS Cluster Add-on
- Smoke Test
- Cleaning Up