Janhavi Jagtap (@JanhaviTechAWS) header
Janhavi Jagtap (@JanhaviTechAWS) profile picture

DevOps Engineer | AWS · Kubernetes · Terraform | Documenting real production practices |

Pune, India
Joined February 2019
Photo by Janhavi Jagtap (@JanhaviTechAWS)Photo by Janhavi Jagtap (@JanhaviTechAWS)Photo by Janhavi Jagtap (@JanhaviTechAWS)Photo by Janhavi Jagtap (@JanhaviTechAWS)Photo by Janhavi Jagtap (@JanhaviTechAWS)Photo by Janhavi Jagtap (@JanhaviTechAWS)Photo by Janhavi Jagtap (@JanhaviTechAWS)Photo by Janhavi Jagtap (@JanhaviTechAWS)Photo by Janhavi Jagtap (@JanhaviTechAWS)Photo by Janhavi Jagtap (@JanhaviTechAWS)
🚀NEW SERIES: 100 Essential DevOps Commands in 10 Days! Knowing DevOps tools is one thing. Knowing how to use them is another. Over the next 10 days, we'll explore practical commands used in real DevOps workflows. Day 1: Linux Files & Directories Day 2: Linux System & Processes Day 3: Logs & Troubleshooting Day 4: Networking Day 5: Git & GitHub Day 6: Bash & Shell Scripting Day 7: Docker Day 8: Kubernetes Day 9: Terraform & AWS CLI Day 10: Production Troubleshooting No unnecessary theory. Just commands, practical examples & real-world usage. Follow along and build your DevOps skills one day at a time. Let's start!🔥 #DevOps #Linux #CloudComputing
1
6
49
1,468
🐧 100 Essential DevOps Commands in 10 Days Day 8/10: Kubernetes Commands Pod stuck in Pending? Container restarting repeatedly? Deployment failing after release? 10 kubectl commands to investigate real-world Kubernetes issues. 🧵👇 #DevOps #Kubernetes #CloudComputing
2
17
495
📌 Part 1: Check Cluster Workloads kubectl get pods -o wide kubectl get deployments kubectl get services get pods→ check Pod status, node and IP get deployments→ check desired vs available replicas get services→ inspect Service types and endpoints configuration 💡Start with workload status before changing anything in the cluster.
1
2
137
🐳100 Essential DevOps Commands in 10 Days Day 7/10: Docker Commands Container not starting? Application logs showing errors? Container consuming too much memory? 10 Docker commands to troubleshoot real-world container issues. 🧵👇 #DevOps #Docker #Containers
2
18
489
📌Part 1: Images & Containers docker images docker ps -a docker images → list downloaded and built images docker ps -a → list running and stopped containers 💡Before troubleshooting, check whether the required image exists and whether the container is running or exited.
1
3
73
🐧100 Essential DevOps Commands in 10 Days Day 6/10: Bash & Shell Scripting Manual tasks taking too much time? Need to automate health checks? Script failing in production? 10 essential Bash commands and techniques for DevOps automation. 🧵👇 #DevOps #Bash #Linux
4
1
24
917
📌Part 1: Script Basics bash --version bash script.sh chmod +x script.sh bash --version→ check installed Bash version bash script.sh→ execute a script using Bash chmod +x→ make the script executable 💡Use a shebang like #!/bin/bash at the top of your script.
1
6
147
🐧100 Essential DevOps Commands in 10 Days Day 5/10: Git & GitHub Commands Code changes not showing? Merge conflict during deployment? Wrong commit pushed to GitHub? 10 commands to manage code and troubleshoot Git issues. 🧵👇 #DevOps #Git #GitHub
2
23
707
📌Part 1: Check Repository Status git status git log --oneline git branch git status → check modified and staged files git log --oneline → view commit history git branch → list local branches 💡Always check git status before committing or switching branches.
1
4
110
🐧 100 Essential DevOps Commands in 10 Days Day 4/10: Linux Networking Commands Website not reachable? DNS not resolving? API connection timing out? 10 commands to investigate network issues in real DevOps environments.👇 #DevOps #Networking #Linux
4
2
25
842
📌Part 1: Check Network Connectivity ip addr ip route ping -c 4 8.8.8.8 ip addr→ check IP addresses and interfaces ip route→ inspect routing table and default gateway ping→ test basic network reachability 💡 If ping to an IP works but a domain fails, investigate DNS next.
1
2
124
100 Essential DevOps Commands in 10 Days Day 3/10: Linux Logs & Troubleshooting App returning 500 errors? Service crashed after deployment? Need to find the exact error in logs? 10 commands to investigate before guessing. 🧵👇 #DevOps #Linux
3
1
29
901
📌 Part 1: Read Live Logs tail -n 50 app.log tail -f app.log less app.log tail -n 50→ last 50 lines tail -f→ watch new log entries live less→ navigate large log files 💡Reproduce the issue while watching logs to catch the error.
1
3
135
🐧100 Essential DevOps Commands in 10 Days Day 2/10: Linux System & Processes Server slow? App not responding? Port already in use? 10 commands to investigate real-world issues. 🧵👇 #DevOps #Linux
3
4
45
1,209
📌Part 1: System Health uname -a uptime nproc uname -a→ OS & kernel information uptime→ uptime and load average nproc→ available processing units 💡High load average? Compare it with CPU capacity and investigate processes before concluding the cause.
1
3
151
🐧100 Essential DevOps Commands in 10 Days Day 1/10: Linux Files & Directories After deployment, how do you check config changes? How do you find old logs? How do you investigate disk usage? 10 commands. Real DevOps use cases. 🧵👇 #DevOps #Linux
1
4
34
960
📌Part 1: Navigate & Create pwd ls -lah mkdir -p ~/devops-lab/logs pwd → current directory ls -lah → hidden files, sizes, permissions mkdir -p → create nested directories Tip: verify your path before modifying files.
1
5
150
🔍Production Incident #04 - Answer Explained A new deployment goes live. Minutes later, the application goes down. ✅Correct: B) Check deployment health and logs ❌A) Restart all servers - may hide the real cause. ❌C) Increase capacity - won't fix every deployment issue. ❌D) Wait for users - delays incident response. 🎯Check health, logs and recent changes. If the release caused the outage, assess rollback immediately. Production lesson: Restore service safely, then investigate the root cause. #DevOps #SRE #IncidentManagement
9
336
🚨DevOps Production Incident #04 A new deployment goes live. Within minutes, users start reporting that the application is down. The previous version was working fine. What's your FIRST action? A)Restart all servers B)Check deployment health and logs C)Increase server capacity D)Wait for users to report more issues 💬What's your decision, and why? #DevOps #SRE #Production
3
2
15
721
🛠️Incident #03 - Practical Linux Troubleshooting Step 1: Identify the full filesystem df -h Step 2: Find large directories sudo du -xhd1 /var 2>/dev/null | sort -h Step 3: Find large files sudo find /var -xdev -type f -size +100M -ls Step 4: Check system logs sudo journalctl --disk-usage ✅Investigate first. Clean up only after confirming what's safe to remove. Never blindly delete logs or application files! #Linux #DevOps #Troubleshooting
2
22
894
🔍Basic DevOps Incident #03 - Answer Explained 🚨Linux disk usage is at 100%. ✅Correct: B) Check disk usage with df -h Why the other options are wrong: ❌A) Reboot - doesn't free disk space reliably. ❌C) Increase CPU - unrelated to disk capacity. ❌D) Delete logs immediately - risky without investigation. 🎯First identify the full filesystem, then find what's consuming space. #Linux #DevOps #Troubleshooting
1
11
411
🚨 Basic DevOps Incident #03 Your Linux server is running out of disk space. Disk usage: 100% As a DevOps Engineer, what would you check FIRST? A)Reboot the server B)Check disk usage with df -h C)Increase CPU D)Delete log files immediately 💬Comment your answer 🎯Investigate before taking action. #DevOps #Linux #Troubleshooting
1
3
27
927
🔍DevOps Incident #02 - Answer Explained Error: ERR_CONNECTION_REFUSED ✅ Correct: B) Check if the application is running ❌A) Restart server - don't act without investigating. ❌C) Increase CPU - doesn't normally fix connection refusal. ❌D) Rebuild app - unnecessary without evidence. What to check next: • Service status • Listening port • Application logs 🎯Check first. Find the cause. Then fix it. #DevOps #Troubleshooting
1
16
525
🚨Basic DevOps Incident #02 Your website is not accessible. You see this error: ERR_CONNECTION_REFUSED As a DevOps Engineer, what would you check FIRST? A) Restart the server B) Check if the application is running C) Increase CPU D) Rebuild the application 💬Comment your answer and why. 🎯Troubleshoot first. Fix based on evidence. #DevOps #Troubleshooting #LearningInPublic
2
3
35
1,501
🔍DevOps Incident #01 - Answer Explained Your website returns 404 Not Found. What should you check first? ✅ B) Check the URL A typo or incorrect path may cause a 404 error. If the URL is correct, check the route, web server configuration and logs. ❌A) Restart the server - may not fix a missing resource. ❌C) Increase CPU - doesn't normally solve a 404. ❌D) Rebuild the server - unnecessary without evidence. 🎯Troubleshooting flow: Check URL → Verify route → Inspect logs → Fix the root cause. DevOps rule: Don't guess. Investigate first! #DevOps #Troubleshooting
3
23
781
🚨Basic DevOps Incident #01: Website Returns 404 A user opens your website, but gets: 404 Not Found The server is responding, but the requested page cannot be found. As a DevOps Engineer, what would you check FIRST? A)Restart the server B)Check the URL and requested route C)Increase CPU D)Rebuild the server 💬Comment your answer and explain why. Remember: Troubleshooting starts with investigation, not random fixes. #DevOps #Troubleshooting #LearningInPublic
5
2
1
38
1,829
🎯Kubernetes Gateway API - Step 10: Final Review From architecture to testing, we covered the complete learning journey! 🌐Understand the traffic flow ⚙️Configure Gateway resources 🔀Define HTTPRoute rules 🔍Verify connectivity 🔐Review security DevOps takeaway: Don't stop at kubectl apply. Verify that traffic reaches the intended application. #Kubernetes #GatewayAPI #DevOps
2
1
17
496
The real test is not whether the YAML applies successfully, but whether traffic reaches the right application. Always verify the complete flow!
1
1
77
🔐Gateway API - Step 9: HTTPS, TLS & Security Production traffic needs more than routing. ✅HTTPS listener ✅TLS certificate ✅Correct certificate references ✅Least-privilege access ✅Secure configuration A working route is good. A secure route is better. #Kubernetes #Security #AWS
4
8
44
716
A working route is not enough for production. HTTPS, valid TLS certificates, and proper access control are equally important.
1
61