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
Shivam Agnihotri’s Post
More Relevant Posts
-
Learnt something new today. Valuable and practical way for optimizing Kubernetes workflows.
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
-
📊 Last week, I shared a poll about using aliases, and 8% of you said you weren't aware of them. So, I'm resharing my previous post where I explained what aliases are and how I use them to save time with Kubernetes commands. You can use them in other scenarios too. Ever used aliases in Kubernetes? They're like magic shortcuts that save you a lot of time! 😎 Here's how it works: aliases let you create custom shorthand for long kubectl commands. Think of them as your secret coding language! 🤫 To set them up in Linux, 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 with your new shortcuts! 🎉 Check out my aliases below and share 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
-
I’m happy to share that I’ve obtained a new certification: DevOps Pre-Requisite Course from KodeKloud! In this course I have learnt, Linux basics, Networking basics, Application basics, Java, Python basics, Source code management, Web server, Database basics, SSL & TLS, YAML, Virtual box & Vagrant, Deploying a 2 - Tier Application. Thanks to KodeKloud and instructor Mumshad Mannambeth for the wonderful teaching. #kodekloud #devops #consistencyiskey
To view or add a comment, sign in
-
I'm excited to announce that I’ve just completed the DevOps Pre-Requisite Course at KodeKloud 🎉 This course laid a solid foundation in essential DevOps concepts, covering everything from setting up lab environments with VirtualBox, mastering the Linux CLI, working with text editors like vi, to handling data formats like JSON and YAML, and understanding key applications like Apache, NGINX, Java, Python, and NodeJS. 💻 It was an amazing learning experience that filled crucial gaps in my understanding, preparing me for the next step in my journey. 🚀 #DevOps #CloudComputing #KodeKloud #Linux #Networking #JSON #YAML #VirtualBox #LearningJourney #CareerDevelopment #Certification
To view or add a comment, sign in
-
Here is a comprehensive guide to monitoring an AWS EKS cluster using Prometheus, Grafana, and the EFK Stack, sourced from project implementation. Thanks to Abhishek Veeramalla & Piyush sachdeva Please find the below Github repo for complete documentation. https://lnkd.in/gUTN9sS9 https://lnkd.in/grint8AV If you found this post useful then do share with your friends and community.. #devops #devopslife #devlife #dronestagram #devopsengineer #devopstools #devopscommunity #linux #automation #automationsystems #monitoring #automationtool #monitoringsystem #networkautomation #automationtesting #testautomation #automationmarketing #CI #CD #Jenkins #Docker #AWS #SonarQube #OWASP #Trivy #Python #ServerMonitoring #TechInnovation #CodeQuality #Security #ContinuousImprovement
To view or add a comment, sign in
-
𝐋𝐞𝐚𝐫𝐧 𝐭𝐨 𝐁𝐮𝐢𝐥𝐝 𝐚𝐧𝐝 𝐃𝐞𝐩𝐥𝐨𝐲 𝐚 𝐃𝐨𝐜𝐤𝐞𝐫 𝐈𝐦𝐚𝐠𝐞 𝗕𝘂𝗶𝗹𝗱𝗶𝗻𝗴 𝗮 𝗗𝗼𝗰𝗸𝗲𝗿 𝗜𝗺𝗮𝗴𝗲: 1. Dockerfile: Create a text file with instructions to build the image. 2. Base Image: Start with a base image like Ubuntu or Alpine Linux. 3. Dependencies: Install necessary dependencies using commands like `RUN`. 4. Application Code: Copy your application code into the image. 5. Ports: Expose any necessary ports with `EXPOSE`. 6. Build: Run `docker build` command to build the image. 𝗗𝗲𝗽𝗹𝗼𝘆𝗶𝗻𝗴 𝗮 𝗗𝗼𝗰𝗸𝗲𝗿 𝗜𝗺𝗮𝗴𝗲: 1. Docker Registry: Store your built images in a Docker registry like Docker Hub. 2. Docker Compose: Define services, networks, and volumes in a `docker•compose.yml` file. 3. Deploy: Run `docker•compose up` to deploy your application. 𝗕𝗲𝘀𝘁 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲𝘀: • Keep images small by minimizing layers and dependencies. • Use `.dockerignore` to exclude unnecessary files. • Regularly update base images and dependencies for security patches. 𝑱𝒐𝒊𝒏 𝑶𝒖𝒓 𝑻𝒆𝒄𝒉 𝑪𝒐𝒎𝒎𝒖𝒏𝒊𝒕𝒚 -> 𝑮𝒖𝒊𝒅𝒆 𝑶𝒕𝒉𝒆𝒓’𝒔 -> 𝑾𝒊𝒏 𝑬𝒙𝒄𝒊𝒕𝒊𝒏𝒈 𝑹𝒆𝒘𝒂𝒓𝒅𝒔 -> https://lnkd.in/gj-tfEyH 𝐃𝐞𝐯𝐎𝐩𝐬 𝐅𝐑𝐄𝐄 𝐖𝐞𝐛𝐢𝐧𝐚𝐫 & 𝐑𝐞𝐬𝐨𝐮𝐫𝐜𝐞𝐬 https://lnkd.in/gXqEp66e credit by- TheAlpha.Dev #docker #devops #engineering #kubernetes
To view or add a comment, sign in
-
𝐋𝐞𝐚𝐫𝐧 𝐭𝐨 𝐁𝐮𝐢𝐥𝐝 𝐚𝐧𝐝 𝐃𝐞𝐩𝐥𝐨𝐲 𝐚 𝐃𝐨𝐜𝐤𝐞𝐫 𝐈𝐦𝐚𝐠𝐞 𝗕𝘂𝗶𝗹𝗱𝗶𝗻𝗴 𝗮 𝗗𝗼𝗰𝗸𝗲𝗿 𝗜𝗺𝗮𝗴𝗲: 1. Dockerfile: Create a text file with instructions to build the image. 2. Base Image: Start with a base image like Ubuntu or Alpine Linux. 3. Dependencies: Install necessary dependencies using commands like `RUN`. 4. Application Code: Copy your application code into the image. 5. Ports: Expose any necessary ports with `EXPOSE`. 6. Build: Run `docker build` command to build the image. 𝗗𝗲𝗽𝗹𝗼𝘆𝗶𝗻𝗴 𝗮 𝗗𝗼𝗰𝗸𝗲𝗿 𝗜𝗺𝗮𝗴𝗲: 1. Docker Registry: Store your built images in a Docker registry like Docker Hub. 2. Docker Compose: Define services, networks, and volumes in a `docker•compose.yml` file. 3. Deploy: Run `docker•compose up` to deploy your application. 𝗕𝗲𝘀𝘁 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲𝘀: • Keep images small by minimizing layers and dependencies. • Use `.dockerignore` to exclude unnecessary files. • Regularly update base images and dependencies for security patches. Credit :TheAlpha.Dev 𝑱𝒐𝒊𝒏 𝑶𝒖𝒓 𝑻𝒆𝒄𝒉 𝑪𝒐𝒎𝒎𝒖𝒏𝒊𝒕𝒚 -> 𝑮𝒖𝒊𝒅𝒆 𝑶𝒕𝒉𝒆𝒓’𝒔 -> 𝑾𝒊𝒏 𝑬𝒙𝒄𝒊𝒕𝒊𝒏𝒈 𝑹𝒆𝒘𝒂𝒓𝒅𝒔 ->https://app.thealpha.dev/ #docker #devops #engineering #kubernetes
To view or add a comment, sign in
-
Docker ✨ What You’ll Learn: Understanding Containers: The difference between containers and traditional virtualization. 📦 Getting Started with Docker: Installation and basic commands to kick off your journey. 🛠️ Creating Docker Images: How to build, manage, and optimize your images for deployment. 🖼️ Docker Compose: Simplifying multi-container applications for easy management. 🔗 Best Practices: Tips for writing efficient Dockerfiles and maintaining your containers. 📝 By mastering Docker, you’ll enhance your workflow and boost your productivity like never before! What are your favorite Docker tips or projects? Share your experiences in the comments! 💬 🎓 Want to Master Docker? Explore our tutorials on containerization, orchestration, and best practices to streamline your development workflow! 🐳 💡Docker Essentials | Free Courses 🔗https://lnkd.in/dzfaqNys 💡Net DevOps: Cisco Python, Automation, NETCONF, SDN with Docker | Free Courses 🔗https://lnkd.in/d6Mpz-CZ 💡Hands-On Docker for Java Developers | Free Courses 🔗https://lnkd.in/dRCgGcps 💡Docker on Windows 10 and Server 2016 🔗https://lnkd.in/dcr9ETrY 💡Understanding Docker in about an Hour 🔗https://lnkd.in/dXeGN_KZ 💡WSL 2, Docker, Kali Linux and Windows Terminal - Get Started | Free Courses 🔗https://lnkd.in/dvtHJP7r Happy Learning ⭐ #Free #FreeCourses #courses #programming #Docker #Docker #Containerization #DevOps #WebDevelopment Credit goes to Mayank Ahuja
To view or add a comment, sign in
-
Check out my 51st article in Level Up Coding. The Ultimate MLOps Cheatsheet: Essential Commands for Linux, Docker, Kubernetes, Git and More Linux, Docker, Kubernetes, Git, SQL, etc 1. Linux - Basic Commands - File Permissions and Ownership - Networking and System Monitoring 2. Docker - Basic Commands - Docker Compose 3. Kubernetes - Basic Commands - Managing Deployments 4. Git - Basic Commands - Branching and Merging 5. PostgreSQL - Basic Commands - Data Manipulation 6. Python Flask & FastAPI - Flask - FastAPI 7. Streamlit - Basic Commands 8. pytest - Basic Commands - Advanced Features 9. MLflow - Basic Commands 10. Model Serving and Deployment - TensorFlow Serving - PyTorch Serve - Seldon Core - Docker - Kubernetes 11. Model Interpretability and Explainability - SHAP (SHapley Additive exPlanations) - LIME (Local Interpretable Model-Agnostic Explanations) - Eli5 12. REST API - HTTP Methods - HTTP Status Codes - URL Structure - Request Headers - Response Formats 13. Terraform - Basic Commands - Configuration Best Practices 14. Networking Basics - Basic Networking Concepts - GCP Networking Concepts - Tips and Tricks 15. Ports - Commonly Used Ports in MLOps #genai #ai #ml #mlops #aiops #llmops #linux https://lnkd.in/gvsq_rPE
To view or add a comment, sign in
-
Docker ✨ What You’ll Learn: Understanding Containers: The difference between containers and traditional virtualization. 📦 Getting Started with Docker: Installation and basic commands to kick off your journey. 🛠️ Creating Docker Images: How to build, manage, and optimize your images for deployment. 🖼️ Docker Compose: Simplifying multi-container applications for easy management. 🔗 Best Practices: Tips for writing efficient Dockerfiles and maintaining your containers. 📝 By mastering Docker, you’ll enhance your workflow and boost your productivity like never before! What are your favorite Docker tips or projects? Share your experiences in the comments! 💬 🎓 Want to Master Docker? Explore our tutorials on containerization, orchestration, and best practices to streamline your development workflow! 🐳 💡Docker Essentials | Free Courses 🔗https://lnkd.in/dzfaqNys 💡Net DevOps: Cisco Python, Automation, NETCONF, SDN with Docker | Free Courses 🔗https://lnkd.in/d6Mpz-CZ 💡Hands-On Docker for Java Developers | Free Courses 🔗https://lnkd.in/dRCgGcps 💡Docker on Windows 10 and Server 2016 🔗https://lnkd.in/dcr9ETrY 💡Understanding Docker in about an Hour 🔗https://lnkd.in/dXeGN_KZ 💡WSL 2, Docker, Kali Linux and Windows Terminal - Get Started | Free Courses 🔗https://lnkd.in/dvtHJP7r Happy Learning ⭐ #Free #FreeCourses #courses #programming #Docker #Docker #Containerization #DevOps #WebDevelopment Credit goes to Mayank Ahuja
To view or add a comment, sign in