Implementing a kubectl Plugin

Learn how to implement a kubectl plugin.

Overview

The kubectl plugins are executable files that can be implemented with any language we like. We can write with shell script, Golang, Java, Python, etc.

In this lesson, we’re going to implement a Golang based plugin, where we can make use of multiple go modules shipped by the Kubernetes community. Moreover, it will be a handy reference when we implement a more complex plugin in the future.

Get hands-on with 1400+ tech skills courses.