Archive of posts with category 'operation'
Navigating Shell for Productivity and Profit
Shell tricks and my setup: brace expansion, process substitution, heredocs, aliases, fzf history search, and zsh with oh-my-zsh and powerlevel10k.
How to Configure Applications for High Availability in Kubernetes
Pods are ephemeral. Stay available with graceful SIGTERM handling, health probes, PodDisruptionBudgets, anti-affinity, autoscaling, and monitoring.
Service API Changes: Prefer Blue-green Update to Rolling Update
Kubernetes rolling updates mix old and new servers, so API changes must be forward compatible too. Blue-green updates need only backward compatibility.
CD Tricks for Kubernetes Deployment + ConfigMap
Two kubectl tricks: update a ConfigMap from file via dry-run piped to apply, and use a CONFIG_HASH env var so config edits trigger a zero-downtime rollout.