The Kubectl command-line tool can be extended with plugins. These useful plugins are mostly underutilized by the community. Here you will explore the list of community-supported plugins that can be added to your kubectl CLI tool. They are quite handy.
Caution: Kubectl plugins available via the Krew plugin index are not audited for security. You should install and run third-party plugins at your own risk because they are arbitrary programs running on your machine.
This scenario takes you through the basics of installing and running various plugins. There are many, so also take the time to install the ones that pique your interest.
In this scenario you will learn how to:
- Install the Krew plugin that is a small packager for the other plugins
- Install plugins
- Explore some helpful plugins
- Explore on your own
Kubectl offers a helpful plugin feature to extend Kubernetes. The community-supported plugins are quite helpful. Share these with your fellow cloud native enthusiasts and have them explore this scenario to discover helpful tools and tricks. Also, consider contributing to these open source efforts or even submitting your custom plugin.
With these steps you have learned:
- ✔ How to install the Krew plugin that is a small packager for the other plugins
- ✔ How to install plugins
- ✔ How to explore some helpful plugins
- ✔ How to explore on your own
Kubectl CLI Plugins
Your Kubernetes Cluster
For this scenario, Katacoda started a fresh Kubernetes cluster for you. Verify it's ready for your use:
kubectl version --short && \
kubectl get componentstatus && \
kubectl get nodes && \
The Helm package manager used for installing applications on Kubernetes is also available:
helm version --short
You can administer your cluster with the
kubectl CLI tool or use the visual Kubernetes Dashboard. Use this script to access the protected Dashboard: