DevOps, MLOps, and Cloud tips & Deep Dives (300 K Community)

Join 20,000+ Readers โ†’
Deleting a pod โ‰  stopping it instantly Here is the hidden shutdown flow Kubernetes follows๐Ÿ‘‡ - The API server sends a deletion event. - Kubernetes executes the PreStop hook if any exists. - kubelet sends a SIGTERM signal to the container's main process (PID 1). - Applications have 30 seconds by default to handle the signal and shut down gracefully. - If the application process does not exit within the grace period, Kubernetes sends a SIGKILL signal to terminate the pod. ๐—ก๐—ผ๐˜๐—ฒ: Kubernetes does not give extra time for the PreStop hook. If your pod has a 30-second grace period, the PreStop hook and your appโ€™s shutdown process must both finish within those same 30 seconds. We covered the following in detail in our newsletter edition. - What are SIGTERM and SIGKILL - How Kubernetes handles SIGTERM and SIGKILL - How applications can handle SIGTERM for graceful shutdown - The role of PreStop hooks and why it matters - The link between SIGTERM and container PID 1 โ†’ ๐—ฅ๐—ฒ๐—ฎ๐—ฑ ๐—ถ๐˜ ๐—›๐—ฒ๐—ฟ๐—ฒ: newsletter.devopscube.com/p/โ€ฆ Over to youโ€ฆ Have you written any custom logic to handle SIGTERM? #devops #kubernetes
2
18
64
1,874
๐Ÿ›  DevOps Tool of the Week: Kubeshark Kubernetes logs can show which service failed, but They don't always explain what happened between services. To find the answer, you switch between pod logs and traces. That's where Kubeshark helps. Kubeshark is like Wireshark for Kubernetes. It captures cluster-wide network traffic using eBPF and displays it with Kubernetes context. Here is what it does ๐Ÿ‘‡ โ€ข Shows API requests and responses between services. โ€ข Supports HTTP, gRPC, GraphQL, Redis, Kafka, DNS, and more. โ€ข Decrypts TLS traffic using eBPF, without sidecars or proxies. โ€ข Filters traffic by Pod, namespace, node, IP, or API details. โ€ข Visualizes service communication and captures PCAP snapshots. โ€ข Exposes traffic data through MCP for AI tools like Claude. ๐—ฆ๐˜๐—ฎ๐—ฟ๐˜ ๐—ต๐—ฒ๐—ฟ๐—ฒ: github.com/kubeshark/kubeshaโ€ฆ #devopstools
2
8
59
2,257
Weekend DevOps learning project ๐Ÿš€ This guide aims to teach you the following practically. - Client to Site VPN - Client and Server Certificates Generation using EasyRSA - Mutual TLS Authentication (mTLS) So, why is it important to learn these? VPN and mTLS are essential and must-know concepts for DevOps engineers Every organization uses VPN connectivity to securely connect to cloud resources. The best way to understand VPN & mTLS is by setting up one. ๐—ฆ๐—ฒ๐˜๐˜‚๐—ฝ ๐—š๐˜‚๐—ถ๐—ฑ๐—ฒ: devopscube.com/aws-client-vpโ€ฆ The following topics are covered in a theoretical format: - SAML/Active Directory-based authentication. - TCP vs UDP Do further research to gain a detailed understanding of the topics above. They are fundamental for DevOps engineers PS: โ™ป๏ธ Repost if you find this useful. It helps the Learning community ๐Ÿ™‚ Got any tips or info to share with the community? Drop a comment :) #devops #aws #devopsengineer #practicaldevops
3
30
189
5,019
Cloudflare cut AI inference costs by 68%. Meta reduced GPU cluster interruptions by 99%. Shopify found apps accidentally exposed to the internet. Here are 5 engineering blogs worth reading if you work in DevOps, SRE, or Platform Engineering. ๐Ÿงต๐Ÿ‘‡
3
12
1,139
4/ Airbnb - Building Its Own Observability Platform Airbnb shares what worked, what failed, and what it learned while building its own observability infrastructure. ๐Ÿ”— airbnb.tech/infrastructure/fโ€ฆ
1
1
80
5/ Celonis - Migrating from Kubernetes v1.16 to v1.32 Celonis shares how it used automation and gradual workload migrations to move to managed Kubernetes across three cloud providers. ๐Ÿ”— careers.celonis.com/blog/no-โ€ฆ
1
78
I have mastered Kubernetes, Terraform, Helmโ€ฆ How do you debug when a pod canโ€™t reach another pod? Check Grafana? ----- If you like practical Kubernetes, DevOps & MLOPS content like this, we share deep dives every week. โ†’ ๐—๐—ผ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐—ž+ ๐—ฒ๐—ป๐—ด๐—ถ๐—ป๐—ฒ๐—ฒ๐—ฟ๐˜€ (๐Ÿญ๐Ÿฌ๐Ÿฌ% ๐—ณ๐—ฟ๐—ฒ๐—ฒ): newsletter.devopscube.com/ #devops
6
8
39
1,626
A single Terraform state file can become a bottleneck. When multiple engineers work with the same state, Even unrelated changes can block each other because Terraform locks the entire state during an apply Stategraph takes a different approach. Instead of storing infrastructure state in a single JSON file, it stores resources and their dependencies as a graph in PostgreSQL. It works with existing Terraform and OpenTofu configurations. Want to see it in action? Stategraph is hosting a live demo on November 4, followed by a Q&A. The session will also be recorded. ๐—ฅ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฒ๐—ฟ ๐—›๐—ฒ๐—ฟ๐—ฒ: stategraph.com/demo-day?utm_โ€ฆ โ™ป๏ธ Repost and share this with the community ๐Ÿ™‚ #devops #terraform
6
5
40
1,411
What's inside a distroless container image? Here is what's typically inside๐Ÿ‘‡ - No shell (/bin/sh, /bin/bash) - can't exec into the container - No package manager (apt, yum, etc.) - No debugging tools (ps, ls, cat, etc.) - Minimal libc and essential libraries only - CA certificates for HTTPS connections - Timezone data for time-related operations - A non-privileged userโ€™s home directory - The actual binary or files for your application ---- If you like practical Kubernetes, DevOps & MLOPS content like this, we share deep dives every week. โ†’ ๐—๐—ผ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐—ž+ ๐—ฒ๐—ป๐—ด๐—ถ๐—ป๐—ฒ๐—ฒ๐—ฟ๐˜€ (๐Ÿญ๐Ÿฌ๐Ÿฌ% ๐—ณ๐—ฟ๐—ฒ๐—ฒ): newsletter.devopscube.com/ โ™ป๏ธ If you find this useful, Repost with your network!
6
13
82
2,316
Lesser-known Linux Commands ๐Ÿš€ If you are learning linux, Check out our shell scripting for DevOps blog ๐Ÿ‘‡ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—ฆ๐—ต๐—ฒ๐—น๐—น ๐—ฆ๐—ฐ๐—ฟ๐—ถ๐—ฝ๐˜๐—ถ๐—ป๐—ด: devopscube.com/linux-shell-sโ€ฆ --- If you like practical Kubernetes, DevOps & MLOPS content like this, we share deep dives every week. โ†’ ๐—๐—ผ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐—ž+ ๐—ฒ๐—ป๐—ด๐—ถ๐—ป๐—ฒ๐—ฒ๐—ฟ๐˜€ (๐Ÿญ๐Ÿฌ๐Ÿฌ% ๐—ณ๐—ฟ๐—ฒ๐—ฒ): newsletter.devopscube.com/ #devops #devopsengineer #linuxtips #learningeveryday
2
7
38
1,187
40% OFF CKA, CKAD, CKS (Two Days Flash Sale) ๐Ÿš€ Use code TREATS35CT at kube.promo/devops to get a flat 35% off on individual certifications. Using code TREATS35CT, get up to 40% off the following certification bundles as compared to individual certifications. - CKA + CKAD : kube.promo/cka-ckad - CKA + CKS: kube.promo/bundle - CKA + CKAD + CKS: kube.promo/k8s-bundle - KCNA + KCSA + CKA + CKAD + CKS: kube.promo/kubestronaut - KCNA + KCSA Exam Bundle: kube.promo/kcna-kcsa โณ Hurry, this offer expires in two days. Donโ€™t miss this chance to certify & level up! โ™ป๏ธ P.S. Donโ€™t forget to repost and share it with the DevOps community and your friends! #devops #kubernetes #cka #ckad #cks
2
4
17
821
Fluentd vs Fluent Bit: Which one should you use in Kubernetes? Here is a simple breakdown ๐Ÿ‘‡ Fluentd: - Full-fledged log processor - Written in Ruby (with C extensions) - Can handle heavy workloads and complex routing - Best suited for centralized log aggregation and processing - Higher resource usage (CPU/memory) Use Fluentd when you need powerful filtering, parsing, and routing at scale. Fluent Bit: - Lightweight log forwarder - Written in C (very fast, low footprint) - Perfect for edge nodes, Kubernetes DaemonSets, or embedded systems - Usually acts as a collector/shipper to Fluentd, Elasticsearch, or other backends - Optimized for performance and low resource consumption Use Fluent Bit when you need a super lightweight log collector that doesn't stress your nodes. ๐—ก๐—ผ๐˜๐—ฒ: Both tools are CNCF graduated projects and are widely adopted in production Want to understand how logging works in Kubernetes? ๐—ฅ๐—ฒ๐—ฎ๐—ฑ ๐—ถ๐˜ ๐—›๐—ฒ๐—ฟ๐—ฒ: devopscube.com/kubernetes-loโ€ฆ #DevOps #Kubernetes #Logging #Observability
5
10
59
1,680
Kubernetes Tip ๐Ÿ’ก There are use cases where you will need the real client IP for network-level security policies, traffic monitoring, or non-HTTP applications. By default, Kubernetes NodePort and LoadBalancer Services use externalTrafficPolicy: Cluster setting. In this case, the traffic-receiving Pod sees the node IP instead of the original client IP. To preserve the client's real IP, you need to set externalTrafficPolicy to Local. It tells Kubernetes to forward external traffic only to Pods for that Service on the same node that received it. It basically avoids changing the client source IP. These Pods are called โ€œlocal endpoints.โ€ The trade-off is that traffic sent to a node without a local endpoint is dropped instead of being forwarded to another node. However, a properly configured load balancer can use health checks to avoid these nodes. ๐—ก๐—ผ๐˜๐—ฒ: Client IP preservation also depends on your load balancer. A Network Load Balancer can preserve the original client's source IP, depending on its configuration. However, HTTP proxies and application load balancers usually create a new connection to your application. The Pod may see the load balancer's IP. The original client IP is passed by the load balancer in a header such as X-Forwarded-For (Used for logging, rate limiting, etc) Found it useful? โ™ป๏ธ Repost and share it with the community ๐Ÿ™‚ ---- If you like practical Kubernetes, DevOps & MLOPS content like this, we share deep dives every week. โ†’ ๐—๐—ผ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐—ž+ ๐—ฒ๐—ป๐—ด๐—ถ๐—ป๐—ฒ๐—ฒ๐—ฟ๐˜€ (๐Ÿญ๐Ÿฌ๐Ÿฌ% ๐—ณ๐—ฟ๐—ฒ๐—ฒ): newsletter.devopscube.com/ #Kubernetes #DevOps
5
11
90
2,135
๐Ÿ›  DevOps Tool of the Week: Kubetail Debugging logs across multiple Kubernetes pods can be frustrating. You run kubectl logs, switch between pods, and try to figure out what went wrong. It gets even harder when your application has multiple replicas. This is where Kubetail helps. Kubetail is an open-source real-time logging dashboard that lets you view Kubernetes logs from multiple pods in one place. What makes it useful? โ€ข View logs from multiple pods and containers together โ€ข Keeps the timeline updated as Pods start, stop, or get replaced. โ€ข Filters logs by time range, availability zone, CPU architecture, or node. โ€ข Switches between multiple clusters from the desktop app. ๐—ฆ๐˜๐—ฎ๐—ฟ๐˜ ๐—›๐—ฒ๐—ฟ๐—ฒ: github.com/kubetail-org/kubeโ€ฆ Kubetail reads logs directly through the Kubernetes API, so log data stays within your cluster without requiring an external logging service. Instead of switching between terminals, you can check what's happening in your application pods. #devopstools
14
13
95
3,911
Kubernetes Practical Guides and other resources this week at DevOpsCube โ˜• Read these ๐Ÿ‘‡ 1. Kubernetes Agent Sandbox - newsletter.devopscube.com/p/โ€ฆ 2. Kubernetes Cluster Configurations - linkedin.com/feed/update/urnโ€ฆ 3. Kubernetes Vertical Pod Autoscaler - newsletter.devopscube.com/p/โ€ฆ 4. DNAT (Destination NAT): a concept in k8s networking - linkedin.com/feed/update/urnโ€ฆ 5. AI Agents Explained for DevOps Engineers - newsletter.devopscube.com/p/โ€ฆ ๐ŸŽ“ ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐˜€ & ๐——๐—ถ๐˜€๐—ฐ๐—ผ๐˜‚๐—ป๐˜๐˜€ CKA, CKAD, CKS aspirants! This months deal is live! Use code ๐——๐—–๐—จ๐—•๐—˜๐Ÿฏ๐Ÿฌ at kube.promo/devops to save up to ๐Ÿฏ๐Ÿฌ% ๐—ข๐—™๐—™ on individual certifications, and use code ๐——๐—–๐—จ๐—•๐—˜๐Ÿฏ๐Ÿฌ on bundles to save upto ๐Ÿฏ๐Ÿด% ๐—ผ๐—ณ๐—ณ. ๐Ÿ‘‰ Complete Kubernetes & CKA course: courses.devopscube.com/. Use code ๐——๐—˜๐—ฉ๐—ข๐—ฃ๐—ฆ๐Ÿฏ๐Ÿฌ to get ๐Ÿฏ๐Ÿฌ% ๐—ข๐—™๐—™ today ๐Ÿ‘‰ Container Fundamentals: A Practical Guide to Docker - courses.devopscube.com/p/conโ€ฆ ๐Ÿ› ๏ธ ๐——๐—ฒ๐˜ƒ๐—ข๐—ฝ๐˜€ ๐—ง๐—ผ๐—ผ๐—น ๐—ผ๐—ณ ๐˜๐—ต๐—ฒ ๐—ช๐—ฒ๐—ฒ๐—ธ: kube-green - github.com/kube-green/kube-gโ€ฆ Which resource are you diving into this week? Drop a comment! #DevOps #Learning #techtips
12
10
73
1,963
Here are 5 engineering blogs worth reading this week๐Ÿ‘‡ If you work in DevOps, SRE, Platform Engineering, Cloud, or Infrastructure, this is for you. 1/ What Datadog does to Enforce Software Supply Chain Policies Beyond Image Signing - datadoghq.com/blog/engineeriโ€ฆ 2/ How Meta Secures Time Synchronization with NTS - engineering.fb.com/2026/10/0โ€ฆ 3/ Kubernetes autoscaling is reshaping because of AI workloads - cncf.io/blog/2026/10/19/how-โ€ฆ 4/How Netflix Uses IAM Roles to Verify Workload Identity - netflixtechblog.com/trading-โ€ฆ 5/ Your Observability May Be Watching the Wrong Things - dev.to/bennerdo/your-observaโ€ฆ ๐ŸŽ“ ๐๐ซ๐ž๐ฉ๐š๐ซ๐ข๐ง๐  ๐Ÿ๐จ๐ซ ๐‚๐Š๐€? If you are preparing for the Certified Kubernetes Administrator exam, check out our CKA course by industry experts. You can also use ๐——๐—˜๐—ฉ๐—ข๐—ฃ๐—ฆ๐Ÿฏ๐Ÿฌ at checkout for a discount: ๐Ÿ‘‰ courses.devopscube.com/p/cerโ€ฆ #devops #kubernetes
2
13
697
AI Agents Explained for DevOps Engineers ๐Ÿš€ AI agents are becoming an important part of DevOps and platform engineering. But before building one, you need to understand what makes an application an agent. Unlike a traditional application that follows a fixed set of instructions, An AI agent can autonomously decide what to do next based on the information it receives. In a recent newsletter edition, We covered the core agent concepts, including agent frameworks, tools, agent loops, state machines, approval gates, and memory. ๐—š๐—ฒ๐˜ ๐˜€๐˜๐—ฎ๐—ฟ๐˜๐—ฒ๐—ฑ ๐—ต๐—ฒ๐—ฟ๐—ฒ: newsletter.devopscube.com/p/โ€ฆ โ™ป๏ธ PS: Repost and share it with the DevOps community. #AIOps #DevOps
14
12
77
2,140