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