Delaying application start until sidecar is readyTaking advantage of a peculiar Kubernetes implementation detail to block containers from starting before another container sJun 17, 2020A response icon5Jun 17, 2020A response icon5
A consistent, provider-agnostic way to SSH into any Kubernetes nodeI use many different Kubernetes clusters, which are provided by a wide range of providers: Minikube, Kind, GKE, Docker Desktop, MiniShift…Mar 2, 2020A response icon2Mar 2, 2020A response icon2
Bash trick: Repeat last command until successStop hitting up-arrow and re-executing a command until it succeeds. Instead, just type r<enter> and let your computer do the work.Jun 20, 2019A response icon2Jun 20, 2019A response icon2
kubectl inspect pod mypodCreating a kubectl plugin in 30 secondsSep 13, 2018A response icon1Sep 13, 2018A response icon1
Graceful scaledown of stateful apps in KubernetesDeploying stateful applications to Kubernetes is tricky. StatefulSets have made it much easier, but they still don’t solve everything. One…Jun 28, 2018A response icon2Jun 28, 2018A response icon2
Linux/OSX shell trick: Create bookmarks so you can cd straight into the dirs you use regularlyIf you spend a lot of time in a Linux or OSX shell, you probably invoke the cd command with long directory paths more often than you’d…Jun 6, 2018A response icon1Jun 6, 2018A response icon1
Kubernetes autoscaling based on custom metrics without using a host portHow to set up horizontal pod autoscaling based on application-provided custom metrics on minikubeFeb 3, 2017A response icon14Feb 3, 2017A response icon14
Kubernetes in Action: Introducing Replication ControllersThis article is a short excerpt from the book Kubernetes in ActionAug 25, 2016A response icon4Aug 25, 2016A response icon4