This work is mainly inspired by the awesome tutorial Kubernetes The Hard Way. The tutorial I mentioned above assumes the reader has a Google Cloud Platform account. It teaches how to build a simple virtual network on the GCP for Kubernetes. However, for lots of none-GCP users, it is not intuitive and needs more work to do which is out of the scope of that tutorial. This is why I'd like to share the missing parts in this project, which aims to bootstraping a Virtualbox-powered Kubernetes environment by manual configuration.
Kubernetes The Simple Way is a learning guide for one-master-one-worker deployment pattern, which a Intel i5 laptop with 8GB memory is able to support. For multi-node high available cluster deployment, please refer to the tutorial I mentioned above.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
- virtualbox 6.0.14
- Ubuntu Server 19.10
- kubernetes 1.15.3
- containerd 1.2.9
- coredns v1.6.3
- cni v0.7.1
- etcd v3.4.0
- Prerequisites
- Installing the Client Tools
- Configuring Ubuntu
- Provisioning the CA and Generating TLS Certificates
- Generating Kubernetes Configuration Files for Authentication
- Generating the Data Encryption Config and Key
- Bootstrapping the etcd service
- Bootstrapping the Kubernetes Control Plane
- Bootstrapping the Kubernetes Worker Node
- Configuring kubectl for Remote Access
- Testing Kubernetes API and Deploying the DNS Add-on