Bootstrap Kubernetes the hard way on Google Cloud Platform. No scripts.
Go to file
Ruslan Savchuk 09e3d0e5a1 Add docker file 2025-03-27 10:37:56 +01:00
deployments Update to Kubernetes 1.18.6 2020-07-18 00:42:18 -07:00
docs Fix images, remove comment that i can't explain 2023-09-27 16:57:38 +02:00
manifests Add coredn manifest file 2023-05-25 22:16:51 +02:00
.gitignore Update to Kubernetes 1.15.3 2019-09-15 12:10:26 -07:00
CONTRIBUTING.md Add brief contribution guide 2018-01-30 07:38:21 -08:00
COPYRIGHT.md Update to Kubernetes 1.15.3 2019-09-15 12:10:26 -07:00
Dockerfile Add docker file 2025-03-27 10:37:56 +01:00
LICENSE add LICENSE file 2016-07-09 09:31:13 -07:00
README.md Add docker file 2025-03-27 10:37:56 +01:00

README.md

Kubernetes The Hard Way

This tutorial is partially based on Kubernetes The Hard Way.

The main focus of this tutorial is to explain the necessity of Kubernetes components. That is why there is no need to configure multiple instances of each component and allow us to set up a single-node Kubernetes cluster. Of course, the cluster created can't be used as a production-ready Kubernetes cluster.

To configure the cluster mentioned, we will use Ubuntu server 20.04 (author uses the VM in Hetzner).

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (whatever it means).

Labs

docker build -t ubuntu-systemd .

docker run -d
--name ubuntu-systemd-container
--privileged
--security-opt seccomp=unconfined
--security-opt apparmor=unconfined
-v /sys/fs/cgroup:/sys/fs/cgroup:rw
-v /lib/modules:/lib/modules:ro
--tmpfs /tmp
--tmpfs /run
--tmpfs /run/lock
kindest/base:v20250312-b98dc21a
/sbin/init