Skip to content

Instantly share code, notes, and snippets.

View dejanu's full-sized avatar
💭
🎯 all things are subject to interpretation...even API keys

dejanualex dejanu

💭
🎯 all things are subject to interpretation...even API keys
View GitHub Profile
@dejanu
dejanu / k8s_upgrade.md
Last active August 20, 2025 20:46
Upgrading Kubernetes

The upgrade process (docs) follows the general procedure of:

- Upgrading the Kubernetes control plane with kubeadm (Kubernetes components and add-ons excluding the CNI)
- If applicable upgrading the CNI network plugin
- Upgrading the Kubernetes packages (kubelet, kubeadm, kubectl) on the control plane and worker nodes
- Upgrading the kubelet config on worker nodes with kubeadm
# check cluster nodes and version
kubectl  get no  -owide
@dejanu
dejanu / ops_jargon.md
Last active June 11, 2026 13:44
Ops Jargon

⚠️ Avoid being stuck in tutorial hell and always use the official documentation.

🚀 DevOps

  • Pipeline

An automated process that defines a series of stages or steps to build, test and deploy SW solutions.

  • Continuous Integration (CI)
@dejanu
dejanu / buildkit.md
Last active June 2, 2025 19:48
builder

Buildkit

BuildKit is the image building engine inside Docker. It's not part of other container runtimes - like containerd - but you can run a BuildKit server in a container. docker build uses Buildx and BuildKit by default since Docker Engine 23.0.

You can install BuildKit by either running it natively via systemd or in a container.

BuildKit can also be built in a version that tightly integrates with containerd, using an existing containerd daemon for the storage and sharing it with other containerd clients.

Docker

@dejanu
dejanu / k8s_introspection.sh
Created March 26, 2026 21:03
k8s_introspection
# managed or not
kubectl get no -owide
# events events events
kubectl get events -A --sort-by=.metadata.creationTimestamp
# RBAC what can I do
kubectl auth can-i --list
# discovering CRDs