Skip to content

Commit 45770cc

Browse files
committed
➕ Add monokube exercise
1 parent 5870039 commit 45770cc

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

slides/exercises/monokube-details.md

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Exercise — Monokube static pods
2+
3+
- We want to run a very basic Kubernetes cluster by starting only:
4+
5+
- kubelet
6+
7+
- a container engine (e.g. Docker)
8+
9+
- The other components (control plane and otherwise) should be started with:
10+
11+
- static pods
12+
13+
- "classic" manifests loaded with e.g. `kubectl apply`
14+
15+
- This should be done with the "monokube" VM
16+
17+
(which has Docker and kubelet 1.19 binaries available)
18+
19+
---
20+
21+
## Images to use
22+
23+
Here are some suggestions of images:
24+
25+
- etcd → `quay.io/coreos/etcd:vX.Y.Z`
26+
27+
- Kubernetes components → `registry.k8s.io/kube-XXX:vX.Y.Z`
28+
29+
(where `XXX` = `apiserver`, `scheduler`, `controller-manager`)
30+
31+
To know which versions to use, check the version of the binaries installed on the `monokube` VM, and use the same ones.
32+
33+
See next slide for more hints!
34+
35+
---
36+
37+
## Inventory
38+
39+
We'll need to run:
40+
41+
- kubelet (with the flag for static pod manifests)
42+
43+
- Docker
44+
45+
- static pods for control plane components
46+
47+
(suggestion: use `hostNetwork`)
48+
49+
- static pod or DaemonSet for `kube-proxy`
50+
51+
(will require a privileged security context)

0 commit comments

Comments
 (0)