Play with kubernets at ease!
Alias? What,Why 🤔
- An alias is a (usually short) name that the shell translates into another (usually longer) name or command. Aliases allow you to define new commands by substituting a string for the first token of a simple command.
- It can be used to avoid typing long commands or as a means to correct incorrect input. For common patterns it can reduce keystrokes and improve efficiency. A simple example is setting default options on commands to avoid having to type them each time a command is run
- ✨ Be lazy - use less keys on your keyboard ✨ 😜
Start your day with a list of things you know you tend to waste time on As Alicia Rades writes on the lifehack
When you notice you’re wasting time, add that time-waster to the automation. This will serve as a reminder of things you shouldn’t allow yourself to do google around commands as an example here.
Let’s get started!
Open your favorite Terminal and run these command.
|
|
How to use these alias in realtime? 🥳
Below command will follow last 100 line of pods logs with ease 💪🏽.
|
|
Kubectl official Cheatsheet.