In the fall of 2019, we had a vision: to produce the worlds best video and blog series about the little micro-optimizations and fun tricks you can make the Kubernetes CLI do.
This is that series. Silly Kubectl Tricks
Keeping all that Kubernetes syntax straight can be daunting. Is that property a string or can it be a number? Does that collection get set as a map or a list? Who knows? Kubernetes knows...
Do you use Alpine Linux images? Ubuntu? What versions of MySQL are you currently running (and where)? We can answer these questions and more with custom output formats for kubectl!
With RBAC, there are times, you'll wonder precisely which
permissions you, or a service account you use, have been
granted – that's when you should reach for
Kubernetes has some fascinating ways of making our lives easier, of self-healing in the face of errors, crashes, and more, but sometimes, you just need to tail the log file.
Got a neat kubectl trick to share? Have questions about Kubernetes, Docker, Containers, and Cloud stuff in general? We'd love to hear from you!