replace deployment with replicaset
This commit is contained in:
parent
78d52de9a2
commit
b1149e70ba
3 changed files with 112 additions and 10 deletions
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
|
@ -43,7 +43,7 @@ keywords: kubernetes,container,basics
|
|||
- 🛋️ Environment
|
||||
- 📦 Containers
|
||||
- 🏡 Pods
|
||||
- 🏘️ ReplicaSets
|
||||
- 🏭 Deployments
|
||||
- 🏪 Services
|
||||
- 💾 Volumes
|
||||
- 🌆 Namespaces
|
||||
|
|
@ -57,7 +57,8 @@ The emojis probably make no sense, ignore them if they confuse you.
|
|||
|
||||
# Agenda part 2 - Advanced topics
|
||||
|
||||
- 🏭 Deployments
|
||||
- 🏷️ Labels and 🔖 Taints
|
||||
- 🏘️ ReplicaSets
|
||||
- 🧰 DaemonSet
|
||||
- 🗃️ StatefulSets
|
||||
- 🌐 Ingress Controller
|
||||
|
|
@ -65,7 +66,6 @@ The emojis probably make no sense, ignore them if they confuse you.
|
|||
- 💾 Container Storage Interface (CSI)
|
||||
- 🕸️ Container Network Interface (CNI)
|
||||
- 👮 Network Policies
|
||||
- 🃏 Custom Resources
|
||||
|
||||
<!-- It's ok if you zone out somewhere around here. -->
|
||||
|
||||
|
|
@ -114,9 +114,18 @@ Example: Simple PHP app
|
|||
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
# 🏘️ ReplicaSets
|
||||
# 🏭 Deployment
|
||||
|
||||
- Manages:
|
||||
- Pods
|
||||
- Volumes
|
||||
- Secrets
|
||||
- Types:
|
||||
- ReplicaSets
|
||||
- DaemonSets
|
||||
- StatefulSets
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -136,6 +145,9 @@ Example: Simple PHP app
|
|||
|
||||
# 🌆 Namepaces
|
||||
|
||||
- Isolates group of resources
|
||||
- Names need to be unique
|
||||
|
||||
---
|
||||
|
||||
# You survived, take a cookie!
|
||||
|
|
@ -150,24 +162,60 @@ Let's deploy a simple web app with a volume.
|
|||
|
||||
---
|
||||
|
||||
# 🏭 Deployments
|
||||
# 🏷️ Labels and 🔖 Taints
|
||||
|
||||
---
|
||||
|
||||
# 🏘️ ReplicaSets
|
||||
|
||||
- Maintain a stable set of replica Pods
|
||||
- Pods are identical
|
||||
- Good for scaling
|
||||
- Finds Pods by their label 🏷️
|
||||
|
||||
---
|
||||
|
||||
# 🧰 DaemonSets
|
||||
|
||||
- Pods are started on every node of the cluster
|
||||
- Useful for cluster wide services
|
||||
|
||||
---
|
||||
|
||||
# 🗃️ StatefulSets
|
||||
|
||||
- Fine control over storage
|
||||
- Pods are started in order
|
||||
- Pods have stable identities
|
||||
- redis-1, redis-2, redis-3, ...
|
||||
- Useful for clustered services
|
||||
- E.g. primary pod needs to start first
|
||||
|
||||
---
|
||||
|
||||
# 🌐 Ingress Controller
|
||||
|
||||
- Load balancer
|
||||
- Can be NGINX, HAProxy
|
||||
- Different in Cloud kubernetes
|
||||
- Handles HTTP(S) traffic to the cluster
|
||||
- Kubernetes object: `Ingress`
|
||||
- OpenShift object: `Route`
|
||||
|
||||
---
|
||||
|
||||
# 📑 Cluster DNS
|
||||
|
||||
- Pods: `<pod-ip-address>.<namespace-name>.pod.cluster.local`
|
||||
- Services: `<service-name>.<namespace-name>.svc.cluster.local`
|
||||
- Pods behind Services: `<pod-ip-address>.<service-name>.<namespace-name>.svc.cluster.local`
|
||||
- /etc/resolv.conf:
|
||||
```
|
||||
nameserver 2001:cafe:42:1::23
|
||||
search <namespace>.svc.cluster.local svc.cluster.local cluster.local
|
||||
options ndots:5
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# 💾 Container Storage Interface (CSI)
|
||||
|
|
@ -180,10 +228,6 @@ Let's deploy a simple web app with a volume.
|
|||
|
||||
---
|
||||
|
||||
# 🃏 Custom Resource
|
||||
|
||||
---
|
||||
|
||||
# Kubernetes distribution
|
||||
|
||||
- 💻 On bare metal
|
||||
|
|
@ -206,6 +250,7 @@ Let's deploy a simple web app with a volume.
|
|||
|
||||
# Still not enough?
|
||||
|
||||
- 🃏 Custom Resources
|
||||
- 🔑 Secrets
|
||||
- 📡 Control Plane
|
||||
- 🔩 Operators
|
||||
|
|
|
|||
57
mechanical_keyboard_science/index.md
Normal file
57
mechanical_keyboard_science/index.md
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
---
|
||||
|
||||
---
|
||||
|
||||
# Mechanical Keyboards
|
||||
|
||||
## aka how to waste more money fast 🕳️💵
|
||||
|
||||
---
|
||||
|
||||
# Agenda
|
||||
|
||||
- 🔍 Sizes
|
||||
- 🔳 Keycaps
|
||||
- 🎛️ Switches
|
||||
- 🎚️ Stabilizers
|
||||
- 🧠 PCBs
|
||||
- 🧱 Cases
|
||||
- 💦 Lube
|
||||
- 🔉 Foam
|
||||
|
||||
---
|
||||
|
||||
# 🔍 Sizes
|
||||
|
||||
---
|
||||
|
||||
# 100% - Fullsize
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
# 75%
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
# 🎛️S Switche
|
||||
|
||||
## 🔊 Loud
|
||||
|
||||
- Cherry Blue, Green
|
||||
|
||||
## 🔉 Normal
|
||||
|
||||
- Cherry Brown
|
||||
|
||||
## 🔈 Quiet
|
||||
|
||||
- Cherry Red, Black, Silence
|
||||
|
||||
---
|
||||
|
||||
Loading…
Reference in a new issue