Shivam Agnihotri’s Post

View profile for Shivam Agnihotri, graphic
Shivam Agnihotri Shivam Agnihotri is an Influencer

Senior DevOps Engineer @ Infilect | Top Voice 2024 | 21K+ followers | Ex- Ravity, Nokia | Helping Freshers and Professionals

Hey folks! Ever used aliases in Kubernetes? They're like magic shortcuts that save you heaps of time! 😎 Here's the scoop: aliases let you create custom shorthand for those long, tedious kubectl commands. Just think of them as your own secret coding language! 🤫 To set them up in Linux, just open your .bashrc or .bash_profile file and add your aliases at the bottom. Then, save, exit, and restart your terminal. Voila! You're all set to rock with your new shortcuts! 🎉 Check out my aliases below and let me know yours in the comments! 👇 alias k='kubectl' alias kg='kubectl get' alias kgp='kubectl get pods' alias kgpa='kubectl get pods -A' alias kdp='kubectl delete pods' 👍🔄👤 If you find this post helpful and informative, please hit the like and share buttons to spread the knowledge! #Kubernetes #DevOps #Tips #DevOpsEngineer #DevOpsTools #Alias #HelpingHands #KubernetesCluster #DevOpsTips

To view or add a comment, sign in

Explore topics