1.7 KiB
1.7 KiB
| title | description | author | keywords |
|---|---|---|---|
| Kubernetes 101 | An introduction | Ricardo Band | kubernetes,container,basics |
Kubernetes 101
An introduction
Stuff you should already know
- Containers
- Container engines
- docker, podman ❤️
- 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
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
$ podman run -it --rm docker.io/debian:stable
$ systemctl --user status user.slice
$ podman-compose up
Sources
--
by Ricardo Band
mailto:email@ricardo.band
https://www.ricardo.band/