Chapter 10: kubectl Best Practices and Docker Commands

In the previous chapter, we learned about Helm, which is a Kubernetes package manager. In this last chapter of our book, we are going to learn about a few kubectl best practices.

In this chapter, we will learn how to use shell aliases to shorten kubectl commands, and other handy tips for using kubectl commands, as well.

We will also check some equivalent commands in Docker for some kubectl commands, especially the ones that are handy to know for new Kubernetes users who are familiar with Docker commands and want to know about similar commands in kubectl.

In this chapter, we're going to cover the following main topics:

  • Using shell aliases for kubectl commands
  • Similar Docker commands in kubectl ...

Get kubectl: Command-Line Kubernetes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.