Difficulty: Beginner
Estimated Time: 15 minutes

Kubernetes KubeCtl Plugins

Kubernetes

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 really 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, since 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

Conclusion

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 own plugin.

Lessons Learned

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.

References


For a deeper understanding of these topics and more join
Jonathan Johnson
at various conferences, symposiums, workshops, and meetups.

Software Architectures ★ Speaker ★ Workshop Hosting ★ Kubernetes & Java Specialist

Kubectl CLI Plugins

Step 1 of 7

Your Kubernetes Cluster

For this scenario, Katacoda has just started a fresh Kubernetes cluster for you. Verify it's ready for your use.

kubectl version --short && \ kubectl get componentstatus && \ kubectl get nodes && \ kubectl cluster-info

The Helm package manager used for installing applications on Kubernetes is also available.

helm version --short

Kubernetes Dashboard

You can administer your cluster with the kubectl CLI tool or use the visual Kubernetes Dashboard. Use this script to access the protected Dashboard.

token.sh

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

This tab will not be visible to users.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]