
DevOps Engineer | AWS · Kubernetes · Terraform | Documenting real production practices |
Pune, India
Joined February 2019
- Tweets834
- Following1.3K
- Followers1.2K
- Likes732
Pinned Tweet
🚀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
🐧 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
🐧 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
🔍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
🛠️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
🔍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
🚨 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
🔍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
🚨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
🔍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
🚨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
🎯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
🔐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

