Explore Kubectl Output Implementations
“Special” Strategy Pattern in kubectl Go
In my last article, we walked through the usage of kubectl get -o/–output
with examples of different formats, which are a little complex that even involve simple coding. To better master and memorize the output cheatsheet, nothing can help more than understanding the logic behind it. So let’s unveil its design and implementation…