From 352feb730c0ec496c2c501162e56ddd5ae88a815 Mon Sep 17 00:00:00 2001 From: falsfour Date: Sat, 23 Aug 2025 01:21:38 +0200 Subject: [PATCH] vault backup: 2025-08-23 01:21:38 --- .obsidian/workspace-mobile.json | 12 ++++++------ temporary.md | 5 ++++- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.obsidian/workspace-mobile.json b/.obsidian/workspace-mobile.json index 1e639bd..9a5882d 100644 --- a/.obsidian/workspace-mobile.json +++ b/.obsidian/workspace-mobile.json @@ -205,17 +205,20 @@ "obsidian-git:Open Git source control": false } }, - "active": "9a8de285fda95cb1", + "active": "d47b13999625374c", "lastOpenFiles": [ + "/5 - People/Nina Hammer.md", + "/Smash Ultimate Robin.md", + "/5 - People/Insa Sangs.md", + "/5 - People/Fabian Manger.md", + "/5 - People", "3 - Resources/Traveling Checklist.md", "3 - Resources/Smash Ultimate.md", "temporary.md", "Smash Ultimate Robin.md", "/temporary.md", - "/Smash Ultimate Robin.md", "/5 - People/Euk.md", "5 - People/Euk.md", - "/5 - People", "Computer Science Education.md", "5 - People/Insa Sangs.md", "1 - Projects/LGA NXT gift for Geert.md", @@ -232,9 +235,6 @@ "/7 - Templates", "6 - Journal/2025_06_13.md", "6 - Journal/2025-08-01.md", - "3 - Resources/Silkroad Pserver.md", - "3 - Resources/Insights.md", - "3 - Resources/3D Printer.md", "/6 - Journal", "/0 - Archives/1 - projects", "/0 - Archives", diff --git a/temporary.md b/temporary.md index 73cbd9b..963f0b3 100644 --- a/temporary.md +++ b/temporary.md @@ -39,8 +39,11 @@ Earn IBM Fullstack developer certificate (but afte) - `kubectl describe pod myapp-pod` - `kubectl run redis --image=redis123 --dry-run=client -o yaml > redis.yaml` create yaml specification file for a pod - `kubectl get replicaset` and `kubectl get replicacontroller` - - + - `kubectl scale --replicas=6 -f replicaset-definition.yml` better than `kubectl scale --replicas=6 replicaset myapp-replicaset` because latter only modifies deployed definition and not source file + - `kubectl apply -f replicaset-definition.yml` + - `kubectl get all` (lists deployment, then replicaset, then pods) - scaling: we create additional pods. a pod can contain multiple containers but one pod shall only contain what is necessary for one instance of the application. we do NOT create additional containers in the same pod +- deployment: recreate (all down, then all new up) vs rollingUpdate (default, scales down/up replicasets by one at a time). `kubectl rollout undo deployment/myapp-deployment` will roll back - minikube: bundles master node programs and node programs on one machine. requires virtualization (via hypervisor KVM, VirtualBox... or docker but latter is not recommended) - ctr: CLI for containerD, not very user friendly and mostly for debugging - It is advised to use nerdctl instead