Initial commit
This commit is contained in:
commit
8d4d21bd3c
5 changed files with 214 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
*.pdf
|
||||
8
kubernetes 101/Makefile
Normal file
8
kubernetes 101/Makefile
Normal 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
BIN
kubernetes 101/avatar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
121
kubernetes 101/index.md
Normal file
121
kubernetes 101/index.md
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
---
|
||||
title: Kubernetes 101
|
||||
description: An introduction
|
||||
author: Ricardo Band
|
||||
keywords: kubernetes,container,basics
|
||||
---
|
||||
<!-- theme: default -->
|
||||
<!-- class: invert -->
|
||||
|
||||

|
||||
|
||||
# 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. -->
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
# 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/)
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
```
|
||||
|
||||
--
|
||||
|
||||
by Ricardo Band
|
||||
|
||||
mailto:email@ricardo.band
|
||||
https://www.ricardo.band/
|
||||
```
|
||||
84
kubernetes 101/k8s.svg
Normal file
84
kubernetes 101/k8s.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 11 KiB |
Loading…
Reference in a new issue