Initial commit

This commit is contained in:
Ricardo (XenGi) Band 2022-08-15 18:30:35 +02:00
commit 8d4d21bd3c
Signed by: xengi
GPG key ID: 56376B6BA63CC9F7
5 changed files with 214 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.pdf

8
kubernetes 101/Makefile Normal file
View file

@ -0,0 +1,8 @@
pdf:
marp --pdf --pdf-notes .
present:
marp -w -s --bespoke.progress .
notes:
marp --notes .

BIN
kubernetes 101/avatar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

121
kubernetes 101/index.md Normal file
View file

@ -0,0 +1,121 @@
---
title: Kubernetes 101
description: An introduction
author: Ricardo Band
keywords: kubernetes,container,basics
---
<!-- theme: default -->
<!-- class: invert -->
![bg left:40% 80%](./k8s.svg)
# Kubernetes 101
## An introduction
---
# Stuff you should already know
- Containers
- Container engines
- docker, podman :heart:
- Container runtime interfaces (CRI)
- containerd, CRI-O, Docker Engine
- Bonus points for:
- [docker|podman]-compose
---
# Agenda
- Workloads aka your app
- Environment
- Containers
- Pods
- Replication Controllers
- Services
- Volumes
- Namespaces
---
# Advanced topics
- Deployments
- ReplicaSets (the new Replication Controller)
- StatefulSets
- Ingress Controller
- Cluster DNS
- Container Storage Interface (CSI)
- Container Network Interface (CNI)
- Network Policies
- Custom Resources
<!-- It's ok if you zone out somewhere around here. -->
---
![bg right 50%](./workload.drawio.svg)
# Workloads and the environment
Example: Simple PHP app
- index.php
- PHP runtime
- Webserver
- OS
---
# Containers
- Provides an isolated environment
- Linux namespace and cgroups
- Needs to be managed
- Networking
- *I smell another talk around here*
- Shared filesystems
- Scheduling
- Load balancing
- Distribution
- Persistant storage
---
# Containers - Hands on
```shell
$ podman run -it --rm docker.io/debian:stable
$ systemctl --user status user.slice
$ podman-compose up
```
<!--
- Fooooooo
- also bar
- and baz!
-->
---
# Sources
- [Kubernetes Children’s Guide](https://www.cncf.io/phippy/the-childrens-illustrated-guide-to-kubernetes/)
---
![bg opacity blur](./avatar.png)
```
--
by Ricardo Band
mailto:email@ricardo.band
https://www.ricardo.band/
```

84
kubernetes 101/k8s.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB