Bootstrap Kubernetes the hard way on Google Cloud Platform. No scripts.
Go to file
Ruslan Savchuk 84a7bd6f1a finalyze docker support 2025-04-16 22:07:20 +02:00
docs finalyze docker support 2025-04-16 22:07:20 +02:00
COPYRIGHT.md Update to Kubernetes 1.15.3 2019-09-15 12:10:26 -07:00
LICENSE add LICENSE file 2016-07-09 09:31:13 -07:00
README.md finalyze docker support 2025-04-16 22:07:20 +02: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 run the labs you need one of the following:

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
--cap-add=NET_ADMIN
--cap-add=NET_RAW
-v /sys/fs/cgroup:/sys/fs/cgroup:rw
--tmpfs /tmp
--tmpfs /run
--tmpfs /run/lock
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
--tmpfs /tmp
--tmpfs /run
--tmpfs /run/lock
ubuntu-systemd