#setupbashprofile #bashprofile #kubernetes
This video is about the first thing we should do for the #Kubernetes certification exams conducted by Linux Foundation and Cloud Native Computing Foundation such as #CKA, #CKAD, #CKS, #CKNA. It provides details about how to setup aliases using bash profile and use the aliases by sourcing them in the terminal session. These aliases help in improving the efficiency while working with #kubectl. Personally, I found them to be huge time savers while answering the different questions.
▬▬▬▬▬▬ 🔗 Additional Info 🔗 ▬▬▬▬▬▬
🔗 CKA exam preparation guide video - • How to prepare for CKA certification exam
🔗 CKAD exam preparation guide video - • Improve kubectl productivity with aliases
🔗 vi cheat sheet - https://www.cs.cmu.edu/~15131/f17/top...
Kubernetes imperative commands - • Improve kubectl productivity with imperati...
Aliases
alias cls=clear
alias kg='k get'
alias kgpo='kg po'
alias kgno='kg no'
alias kaf='k apply -f'
alias kdf='k delete -f'
alias kdes='k describe'
export do='--dry-run=client -o yaml'
export fg='--force --grace-period=0'
▬▬▬▬▬▬ ⏱ Chapters⏱ ▬▬▬▬▬▬
0:00 - Introduction
1:20 - copy pre-created aliases to clipboard
2:20 - Create an alias for the current terminal session
3:10 - find .bashrc using locate command
3:30 - Edit .bashrc using vi editor
6:45 - Add exports for dry run and forceful deletion of Kubernetes objects
7:50 - Refresh terminal session with new aliases using the source command
9:25 - Use exported flags with kubectl commands
12:10 - apply Kubernetes manifest file using an alias
12:40 - use export for forceful deletion and grace period as zero
14:15 - conclusion
▬▬▬▬▬▬ 👋 Contact me 👋 ▬▬▬▬▬▬
Connect with me here:
🔗 Subscribe: / @nilesh-gule
🔗 YouTube : / @nilesh-gule
🔗 GitHub: https://github.com/nileshgule
🔗 Twitter: / nileshgule
🔗 Website: https://www.HandsOnArchitect.com/
🔗 LinkedIn : / nileshgule