diff --git a/kubernetes_101/replicaset.drawio.svg b/kubernetes_101/deployment.drawio.svg similarity index 100% rename from kubernetes_101/replicaset.drawio.svg rename to kubernetes_101/deployment.drawio.svg diff --git a/kubernetes_101/index.md b/kubernetes_101/index.md index 9091624..bed282c 100644 --- a/kubernetes_101/index.md +++ b/kubernetes_101/index.md @@ -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 @@ -114,9 +114,18 @@ Example: Simple PHP app --- -![bg right 80%](./replicaset.drawio.svg) +![bg right 80%](./deployment.drawio.svg) -# 🏘️ 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.cluster.local` +- Services: `..svc.cluster.local` +- Pods behind Services: `...svc.cluster.local` +- /etc/resolv.conf: + ``` + nameserver 2001:cafe:42:1::23 + search .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 diff --git a/mechanical_keyboard_science/index.md b/mechanical_keyboard_science/index.md new file mode 100644 index 0000000..bc82b71 --- /dev/null +++ b/mechanical_keyboard_science/index.md @@ -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 + +![bg 100% left](./100percent_a.png) +![bg 100% right](./100percent_b.png) + +--- + +# 75% + +![bg 100% left](./75percent_a.png) +![bg 100% right](./75percent_b.png) + +--- + +# 🎛️S Switche + +## 🔊 Loud + +- Cherry Blue, Green + +## 🔉 Normal + +- Cherry Brown + +## 🔈 Quiet + +- Cherry Red, Black, Silence + +--- +