Are you gearing up for a DevOps interview? Here are 25 critical questions that will help you shine!
1.What is CI/CD and why is it important?
2. Explain the difference between Docker and Kubernetes.
3. How do you ensure high availability in a cloud environment?
4. What are the different stages in a DevOps pipeline?
5. How do you monitor and troubleshoot application performance?
6. Describe a situation where you had to resolve a production issue.
7. What are some best practices for infrastructure as code (IaC)?
8. How do you handle security in a DevOps workflow?
9. What tools do you use for configuration management and why?
10. Explain the concept of blue-green deployment.
11. How does container orchestration work?
12. What is the role of a reverse proxy in a DevOps environment?
13. How do you implement logging and monitoring for microservices?
14. What is a service mesh and why is it useful?
15. Can you explain the concept of immutable infrastructure?
16. How do you manage secrets and sensitive data in your deployments?
17. What are the key metrics you monitor in a DevOps environment?
18. How do you handle load balancing and scaling in Kubernetes?
19. What is a canary deployment and how is it different from blue-green deployment?
20. How do you ensure disaster recovery and backup in cloud infrastructure?
21. What are the common challenges in a DevOps transformation?
22. Explain the use of Ansible/Puppet/Chef in DevOps.
23. How do you integrate security practices into your CI/CD pipeline?
24. What is the significance of automated testing in DevOps?
25. How do you manage and optimize costs in a cloud environment?
Good luck!
Please open Telegram to view this post
VIEW IN TELEGRAM
1726893238924.gif
2.3 MB
Mastering Linux 🐧 can truly set you apart in the tech world.
Whether you're a developer, sysadmin, or cloud engineer, Linux knowledge is invaluable.
Here are some other top Linux commands every tech pro should know:
𝟭. 𝗴𝗿𝗲𝗽: Search for patterns in files
𝟮. 𝘀𝗲𝗱: Stream editor for filtering and transforming text
𝟯. 𝗮𝘄𝗸: Pattern scanning and text processing
𝟰. 𝗳𝗶𝗻𝗱: Search for files in a directory hierarchy
𝟱. 𝘁𝗮𝗿: Compress and extract files
𝟲. 𝗽𝘀: Report current processes
𝟳. 𝘁𝗼𝗽: Display system tasks
𝟴. 𝘀𝘀𝗵: Secure shell for remote access
𝟵. 𝗰𝗵𝗺𝗼𝗱: Change file permissions
𝟭𝟬. 𝗰𝗵𝗼𝘄𝗻: Change file ownership
𝟭𝟭. 𝘀𝘆𝘀𝘁𝗲𝗺𝗰𝘁𝗹: Control the systemd system and service manager
𝟭𝟮. 𝗷𝗼𝘂𝗿𝗻𝗮𝗹𝗰𝘁𝗹: Query the systemd journal
𝟭𝟯. 𝗶𝗽𝘁𝗮𝗯𝗹𝗲𝘀: Configure firewall rules
𝟭𝟰. 𝗿𝘀𝘆𝗻𝗰: Remote file copying tool
𝟭𝟱. 𝗰𝗿𝗼𝗻: Schedule tasks to run automatically
▶️ Pro Tip: Combine these commands with pipes (|) and redirections (> or >>) to create powerful one-liners!
✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Whether you're a developer, sysadmin, or cloud engineer, Linux knowledge is invaluable.
Here are some other top Linux commands every tech pro should know:
𝟭. 𝗴𝗿𝗲𝗽: Search for patterns in files
𝟮. 𝘀𝗲𝗱: Stream editor for filtering and transforming text
𝟯. 𝗮𝘄𝗸: Pattern scanning and text processing
𝟰. 𝗳𝗶𝗻𝗱: Search for files in a directory hierarchy
𝟱. 𝘁𝗮𝗿: Compress and extract files
𝟲. 𝗽𝘀: Report current processes
𝟳. 𝘁𝗼𝗽: Display system tasks
𝟴. 𝘀𝘀𝗵: Secure shell for remote access
𝟵. 𝗰𝗵𝗺𝗼𝗱: Change file permissions
𝟭𝟬. 𝗰𝗵𝗼𝘄𝗻: Change file ownership
𝟭𝟭. 𝘀𝘆𝘀𝘁𝗲𝗺𝗰𝘁𝗹: Control the systemd system and service manager
𝟭𝟮. 𝗷𝗼𝘂𝗿𝗻𝗮𝗹𝗰𝘁𝗹: Query the systemd journal
𝟭𝟯. 𝗶𝗽𝘁𝗮𝗯𝗹𝗲𝘀: Configure firewall rules
𝟭𝟰. 𝗿𝘀𝘆𝗻𝗰: Remote file copying tool
𝟭𝟱. 𝗰𝗿𝗼𝗻: Schedule tasks to run automatically
Mastering these commands can significantly boost your productivity and make you comfortable with the Linux wizard!
Please open Telegram to view this post
VIEW IN TELEGRAM
https://www.udemy.com/course/terraform-hands-on-labs/
https://drive.google.com/drive/u/0/mobile/folders/1GhcXYuHd72K0uXscjqVnQ3ltNqJWZV2N?usp=sharing
Please open Telegram to view this post
VIEW IN TELEGRAM
Zero to Hero
CICD with Git Hub Integration
Please open Telegram to view this post
VIEW IN TELEGRAM
1. Kubernetes Hands-on Lab #1 – Setting up 5-Node K8s Cluster
2. Kubernetes Hands-on Lab #2 – Running Our First Nginx Cluster
3. Kubernetes Hands-on Lab #3 –
https://lnkd.in/gSc2KDAb
Please open Telegram to view this post
VIEW IN TELEGRAM
The repository contains hands-on DevOps projects suitable for individuals at various skill levels, ranging from beginner to advanced.
Projects in this repository showcase the integration of DevOps practices with other cutting-edge technologies such as Machine Learning, Git, GitHub, etc.
The projects included cover a wide array of topics within the DevOps domain, providing practical experience and insights into real-world scenarios.
Whether you're new to DevOps or looking to enhance your skills, this repository offers valuable resources and projects to help you learn and grow in the field.
Please open Telegram to view this post
VIEW IN TELEGRAM
DEV Community
Scripting in DevOps: A Complete Guide from Beginner to Advanced
Scripting is an essential skill for DevOps engineers, as it allows for automation, configuration...
Want to level up your DevOps game?
- Essential scripting languages (Bash, Python, PowerShell)
- Beginner to advanced scripting techniques
- Real-world automation examples for CI/CD, IaC, and more!
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
Happy Dussehra to all ProDevOpsGuy Tech Community members! 🎉
As we celebrate the triumph of good over evil, may this festival inspire us to overcome every challenge in our tech journeys and keep learning, growing, and excelling!🖥 🚀
Wishing you and your families health, happiness, and prosperity on this auspicious day. Let's continue to push boundaries and achieve success together!🔥
Happy Dussehra!🏹 ✨
📱 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
As we celebrate the triumph of good over evil, may this festival inspire us to overcome every challenge in our tech journeys and keep learning, growing, and excelling!
Wishing you and your families health, happiness, and prosperity on this auspicious day. Let's continue to push boundaries and achieve success together!
Happy Dussehra!
Please open Telegram to view this post
VIEW IN TELEGRAM
𝟭.𝗴𝗶𝘁 𝗱𝗶𝗳𝗳: Show file differences not yet staged.
𝟮. 𝗴𝗶𝘁 𝗰𝗼𝗺𝗺𝗶𝘁 -m "commit message": Commit all tracked changes with a message.
𝟯. 𝗴𝗶𝘁 𝘀𝘁𝗮𝘁𝘂𝘀: Show the state of your working directory.
𝟰. 𝗴𝗶𝘁 𝗮𝗱𝗱 𝗳𝗶𝗹𝗲_𝗽𝗮𝘁𝗵: Add file(s) to the staging area.
𝟱. 𝗴𝗶𝘁 𝗰𝗵𝗲𝗰𝗸𝗼𝘂𝘁 -𝗯 𝗯𝗿𝗮𝗻𝗰𝗵_𝗻𝗮𝗺𝗲: Create and switch to a new branch.
𝟲. 𝗴𝗶𝘁 𝗰𝗵𝗲𝗰𝗸𝗼𝘂𝘁 𝗯𝗿𝗮𝗻𝗰𝗵_𝗻𝗮𝗺𝗲: Switch to an existing branch.
𝟳. 𝗴𝗶𝘁 𝗰𝗼𝗺𝗺𝗶𝘁 --𝗮𝗺𝗲𝗻𝗱: Modify the last commit.
𝟴. 𝗴𝗶𝘁 𝗽𝘂𝘀𝗵 𝗼𝗿𝗶𝗴𝗶𝗻 𝗯𝗿𝗮𝗻𝗰𝗵_𝗻𝗮𝗺𝗲: Push a branch to a remote.
𝟵. 𝗴𝗶𝘁 𝗽𝘂𝗹𝗹: Fetch and merge remote changes.
𝟭𝟬. 𝗴𝗶𝘁 𝗿𝗲𝗯𝗮𝘀𝗲 -𝗶: Rebase interactively, rewrite commit history.
𝟭𝟭. 𝗴𝗶𝘁 𝗰𝗹𝗼𝗻𝗲: Create a local copy of a remote repo.
𝟭𝟮. 𝗴𝗶𝘁 𝗺𝗲𝗿𝗴𝗲: Merge branches together.
𝟭𝟯. 𝗴𝗶𝘁 𝗹𝗼𝗴-𝘀𝘁𝗮𝘁: Show commit logs with stats.
𝟭𝟰. 𝗴𝗶𝘁 𝘀𝘁𝗮𝘀𝗵: Stash changes for later.
𝟭𝟱. 𝗴𝗶𝘁 𝘀𝘁𝗮𝘀𝗵 𝗽𝗼𝗽: Apply and remove stashed changes.
𝟭𝟲. 𝗴𝗶𝘁 𝘀𝗵𝗼𝘄 𝗰𝗼𝗺𝗺𝗶𝘁_𝗶𝗱: Show details about a commit.
𝟭𝟳. 𝗴𝗶𝘁 𝗿𝗲𝘀𝗲𝘁 𝗛𝗘𝗔𝗗~𝟭: Undo the last commit, preserving changes locally.
𝟭𝟴. 𝗴𝗶𝘁 𝗳𝗼𝗿𝗺𝗮𝘁-𝗽𝗮𝘁𝗰𝗵-𝟭 𝗰𝗼𝗺𝗺𝗶𝘁_𝗶𝗱: Create a patch file for a specific commit.
𝟭𝟵. 𝗴𝗶𝘁 𝗮𝗽𝗽𝗹𝘆 𝗽𝗮𝘁𝗰𝗵_𝗳𝗶𝗹𝗲_𝗻𝗮𝗺𝗲: Apply changes from a patch file.
𝟮𝟬. 𝗴𝗶𝘁 𝗯𝗿𝗮𝗻𝗰𝗵 -𝗗 𝗯𝗿𝗮𝗻𝗰𝗵_𝗻𝗮𝗺𝗲: Delete a branch forcefully.
𝟮𝟭. 𝗴𝗶𝘁 𝗿𝗲𝘀𝗲𝘁: Undo commits by moving branch reference.
𝟮𝟮. 𝗴𝗶𝘁 𝗿𝗲𝘃𝗲𝗿𝘁: Undo commits by creating a new commit.
𝟮𝟯. 𝗴𝗶𝘁 𝗰𝗵𝗲𝗿𝗿𝘆-𝗽𝗶𝗰𝗸 𝗰𝗼𝗺𝗺𝗶𝘁_𝗶𝗱: Apply changes from a specific commit.
𝟮𝟰. 𝗴𝗶𝘁 𝗯𝗿𝗮𝗻𝗰𝗵: Lists branches.
𝟮𝟱. 𝗴𝗶𝘁 𝗿𝗲𝘀𝗲𝘁 --𝗵𝗮𝗿𝗱: Resets everything to a previous commit, erasing all uncommitted changes.
Please open Telegram to view this post
VIEW IN TELEGRAM
This guide will cover everything required to deploy an example Azure Service Bus instance via Terraform and ADO.
Please open Telegram to view this post
VIEW IN TELEGRAM
↳ In GitOps world everyone is aware about the ArgoCD.
It's has tremendous features due to which its first choice of almost every DevOps engineer.
1. 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗲𝗱 𝗱𝗲𝗽𝗹𝗼𝘆𝗺𝗲𝗻𝘁 of applications to specified target environment in multiple clusters
Support for multiple config management/templating tools-->
• Kustomize
• Helm
• Ksonnet
• Jsonnet
• Plain-YAML
2. 𝗦𝗦𝗢 𝗜𝗻𝘁𝗲𝗴𝗿𝗮𝘁𝗶𝗼𝗻 :
• OIDC
• OAuth2
• LDAP
• SAML 2.0
• GitHub
• GitLab
• Microsoft
3. 𝗠𝘂𝗹𝘁𝗶-𝘁𝗲𝗻𝗮𝗻𝗰𝘆 𝗮𝗻𝗱 𝗥𝗕𝗔𝗖 policies for authorization
4. 𝗥𝗼𝗹𝗹𝗯𝗮𝗰𝗸/𝗥𝗼𝗹𝗹-𝗮𝗻𝘆𝘄𝗵𝗲𝗿𝗲 to any application configuration committed in Git repository.
• Health status analysis of application resources
5. 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗲𝗱 𝗰𝗼𝗻𝗳𝗶𝗴𝘂𝗿𝗮𝘁𝗶𝗼𝗻 𝗱𝗿𝗶𝗳𝘁 detection and visualization
6. Out-of-the-box Prometheus metrics
7. Audit trails for application events and API calls
8. PreSync, Sync, PostSync hooks:
• Support complex application rollouts
-> blue/green
-> canary upgrades
9. Web-hook integration
-> GitHub
-> BitBucket
-> GitLab
10. CLI and access tokens for automation and Cl integration
11. Web UI which provides real-time view of application activity
12. Automated or manual syncing of applications to its desired state
Please open Telegram to view this post
VIEW IN TELEGRAM
Here are some common GitHub-related issues that DevOps engineers encounter, along with their solutions:
1️⃣ . Merge Conflicts:
Issue: When multiple contributors modify the same file simultaneously, merge conflicts occur during pull requests.
Solution: Resolve conflicts by carefully reviewing conflicting changes and manually merging them.
2️⃣ . Authentication Issues:
Issue: Improper authentication (SSH keys or personal access tokens) can lead to problems when pushing or pulling from repositories.
Solution: Ensure correct authentication methods to avoid issues.
3️⃣ . Git Submodules:
Issue: Managing Git submodules can be challenging.
Solution: Understand how submodules work and handle them correctly.
4️⃣ . Large Files and LFS:
Issue: GitHub has a file size limit. Large binary files can cause issues.
Solution: Use Git LFS (Large File Storage) for managing large files.
5️⃣ . Branch Protection Rules:
Issue: Accidental force pushes or direct commits to protected branches.
Solution: Set up branch protection rules to prevent such actions.
6️⃣ . Rate Limiting:
Issue: GitHub API requests are rate-limited.
Solution: Use tokens and avoid excessive requests.
7️⃣ . Repository Permissions:
Issue: Incorrect permissions for collaborators.
Solution: Ensure proper permissions to avoid unauthorized access.
8️⃣ . Webhooks and CI/CD Failures:
Issue: Debugging webhook and CI/CD failures.
Solution: Check logs and configurations to identify and fix issues.
📱 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Issue: When multiple contributors modify the same file simultaneously, merge conflicts occur during pull requests.
Solution: Resolve conflicts by carefully reviewing conflicting changes and manually merging them.
Issue: Improper authentication (SSH keys or personal access tokens) can lead to problems when pushing or pulling from repositories.
Solution: Ensure correct authentication methods to avoid issues.
Issue: Managing Git submodules can be challenging.
Solution: Understand how submodules work and handle them correctly.
Issue: GitHub has a file size limit. Large binary files can cause issues.
Solution: Use Git LFS (Large File Storage) for managing large files.
Issue: Accidental force pushes or direct commits to protected branches.
Solution: Set up branch protection rules to prevent such actions.
Issue: GitHub API requests are rate-limited.
Solution: Use tokens and avoid excessive requests.
Issue: Incorrect permissions for collaborators.
Solution: Ensure proper permissions to avoid unauthorized access.
Issue: Debugging webhook and CI/CD failures.
Solution: Check logs and configurations to identify and fix issues.
Remember, addressing these challenges will enhance your DevOps skills!😊 🚀
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
1_9CvhrnA6Fg1LTmMjr3n3Kg.gif
1.2 MB
If you’re into DevOps, Kubernetes, or CI/CD Pipelines, this is for you!
Check out the repo, explore the code, and feel free to reach out if you have any questions. Let's discuss and collaborate!🙌
📣 Note: Fork this Repository🧑💻 for upcoming future projects, Every week releases new Project.
Please open Telegram to view this post
VIEW IN TELEGRAM
Cloud computing is revolutionizing the tech industry, and if you’re an aspiring Cloud Engineer, mastering these key skills will help you stay ahead! Let’s break it down:
Please open Telegram to view this post
VIEW IN TELEGRAM
To demonstrate Blue-Green deployment, we’ll use AWS ECS to host our Swiggy-clone application. ECS is a highly scalable container orchestration service provided by AWS.
AWS CodePipeline is a fully managed continuous integration and continuous delivery (CI/CD) service that automates the build, test, and deployment phases of your release process. Let’s see how to set up a Blue-Green deployment pipeline using AWS CodePipeline:
📣 Note: Fork this Repository🧑💻 for upcoming future projects, Every week releases new Project.
Please open Telegram to view this post
VIEW IN TELEGRAM
DEV Community
How to Crack a DevOps Interview in One Attempt: A Complete Guide for Freshers and Experienced
Cracking a DevOps interview can be challenging for both freshers and experienced engineers. This...
Struggling to prepare for your DevOps interview?
Check out my latest in-depth guide: "How to Crack a DevOps Interview in One Attempt: A Complete Guide for Freshers and Experienced"
- Essential DevOps skills & tools
- Common interview questions with expert tips
- Hands-on preparation strategies to land your dream job
Please open Telegram to view this post
VIEW IN TELEGRAM
13 𝐦𝐨𝐬𝐭 𝐜𝐨𝐦𝐦𝐨𝐧𝐥𝐲 𝐮𝐬𝐞𝐝 𝐜𝐨𝐦𝐦𝐚𝐧𝐝 𝐟𝐨𝐫 𝐊𝐮𝐛𝐞𝐫𝐧𝐞𝐭𝐞𝐬 🎯
Here are 13 of the most commonly used kubectl commands for managing a real production Kubernetes environment, along with explanations and common use cases:
✅ 𝐂𝐨𝐫𝐞 𝐌𝐚𝐧𝐚𝐠𝐞𝐦𝐞𝐧𝐭
#1 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐠𝐞𝐭
→
→
→
→
#2 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐝𝐞𝐬𝐜𝐫𝐢𝐛𝐞
→
→
#3 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐜𝐫𝐞𝐚𝐭𝐞
→ kubectl create -f my-deployment.yaml
#4 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐚𝐩𝐩𝐥𝐲
→
#5 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐝𝐞𝐥𝐞𝐭𝐞
→
→
✅ Debugging and Troubleshooting
#6 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐥𝐨𝐠𝐬
→
→
#7 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐱𝐞𝐜
→
#8 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐩𝐨𝐫𝐭-𝐟𝐨𝐫𝐰𝐚𝐫𝐝
→
#9 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐭𝐨𝐩
→
→
#10 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐱𝐩𝐥𝐚𝐢𝐧
→
→
✅ Managing Workloads
#11 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐫𝐨𝐥𝐥𝐨𝐮𝐭
→
→
#12 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐬𝐜𝐚𝐥𝐞
→
#13 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐝𝐢𝐭
→
⚡️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Here are 13 of the most commonly used kubectl commands for managing a real production Kubernetes environment, along with explanations and common use cases:
#1 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐠𝐞𝐭
→
kubectl get pods (list pods)→
kubectl get deployments (list deployments)→
kubectl get services (list services)→
kubectl get all (list most resources in a namespace)#2 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐝𝐞𝐬𝐜𝐫𝐢𝐛𝐞
→
kubectl describe pod my-pod→
kubectl describe node my-node#3 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐜𝐫𝐞𝐚𝐭𝐞
→ kubectl create -f my-deployment.yaml
#4 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐚𝐩𝐩𝐥𝐲
→
kubectl apply -f my-deployment.yaml (apply a deployment definition)#5 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐝𝐞𝐥𝐞𝐭𝐞
→
kubectl delete pod my-pod→
kubectl delete service my-service#6 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐥𝐨𝐠𝐬
→
kubectl logs my-pod→
kubectl logs my-pod -c my-container (specify a container)#7 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐱𝐞𝐜
→
kubectl exec -it my-pod -- bash (interactive shell)#8 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐩𝐨𝐫𝐭-𝐟𝐨𝐫𝐰𝐚𝐫𝐝
→
kubectl port-forward my-pod 8080:80#9 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐭𝐨𝐩
→
kubectl top pod (pod resource usage) →
kubectl top node (node resource usage)#10 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐱𝐩𝐥𝐚𝐢𝐧
→
kubectl explain pod →
kubectl explain pod.spec (more specific)#11 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐫𝐨𝐥𝐥𝐨𝐮𝐭
→
kubectl rollout status deployment/my-deployment →
kubectl rollout undo deployment/my-deployment
#12 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐬𝐜𝐚𝐥𝐞
→
kubectl scale deployment/my-deployment --replicas=5#13 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐝𝐢𝐭
→
kubectl edit deployment my-deploymentPlease open Telegram to view this post
VIEW IN TELEGRAM
1712476913889.gif
171.8 KB
𝟏 . 𝐂𝐨𝐧𝐭𝐢𝐧𝐮𝐨𝐮𝐬 𝐈𝐧𝐭𝐞𝐠𝐫𝐚𝐭𝐢𝐨𝐧.
----------------------------------------------------------------------------------
𝟐. 𝐂𝐨𝐧𝐭𝐢𝐧𝐮𝐨𝐮𝐬 𝐃𝐞𝐩𝐥𝐨𝐲𝐦𝐞𝐧𝐭
----------------------------------------------------------------------------------
Please open Telegram to view this post
VIEW IN TELEGRAM