StackPractices

devops

Practical resources about devops for software engineers.

203 results

Automating Infrastructure and Delivery

DevOps bridges the gap between writing code and running it in production. Containerization, CI/CD pipelines, infrastructure as code, and observability are no longer optional — they are table stakes for modern engineering teams.

Find practical recipes for building Docker images, writing GitHub Actions workflows, deploying to Kubernetes, managing Terraform state, and setting up Prometheus monitoring. Each guide is tested against real cloud environments and includes troubleshooting tips.

intermediate

Slim Production Images with Multi-Stage Docker Builds

How to build minimal production Docker images using multi-stage builds with distroless base images,...

intermediate

Docker Multi-Stage Build Optimization for Smaller Images

Reduce Docker image size with multi-stage builds and proper layering

intermediate

Docker Network Isolation and Inter-Container Security

Secure inter-container communication with custom Docker networks, network segmentation, and access...

intermediate

Docker Secrets Management Without Hardcoding Credentials

Inject secrets into containers using Docker secrets, env files, and external secret managers...

beginner

Environment Variables

How to read, set, and manage environment variables securely across Python, JavaScript, and Java.

intermediate

Feature Flags: Rollout, Targeting, and Safe Rollback

Implement feature toggles to roll out, test, and revert functionality safely without redeploying...

intermediate

Generate XML Sitemaps Dynamically

Build and serve XML sitemaps from live application data — pagination past the 50k-URL limit,...

sitemap seo xml python
intermediate

Clean Git Commit History with Interactive Rebase

Squash, reorder, edit, and split commits with git rebase interactive. Covers pick, squash, fixup,...

beginner

Git Workflow

A practical branching strategy for teams: feature branches, pull requests, and clean commit history.

intermediate

GitHub Actions Workflow Examples: CI/CD, Matrix & Secrets

How to build and deploy with GitHub Actions using workflows, matrices, caching, secrets,...

intermediate

Across Multiple OS and Language Versions with GitHub

How to use GitHub Actions matrix strategy to test across multiple operating systems, language...

intermediate

Share Workflow Logic with GitHub Actions Reusable Workflows

How to create and consume reusable workflows in GitHub Actions, covering inputs, secrets,...

intermediate

Implement Graceful Shutdown and Zero-Downtime Restarts

How to implement graceful shutdown and zero-downtime restarts for web servers, workers, and...

beginner

Grafana Dashboards for Observability with Prometheus

Build Grafana dashboards that visualize Prometheus metrics. Use panels, template variables,...

beginner

Health Check Endpoint

How to implement a production-ready health check endpoint for monitoring and load balancers.

intermediate

Deploy Applications to Kubernetes with Helm Charts

Package, version, and deploy Kubernetes applications using Helm charts with value overrides,...

intermediate

Immutable Infrastructure

Build immutable infrastructure with versioned machine images and containers to eliminate...

advanced

Canary Deployments with Istio Service Mesh

How to use Istio traffic splitting to perform safe canary deployments by gradually shifting user...

intermediate

Mount Configs and Secrets into Kubernetes Pods

How to mount ConfigMaps and Secrets into Kubernetes pods using env vars, volumes, projected...

intermediate

Helm Chart Templating: Package Kubernetes Manifests

Build a production-ready Helm chart from scratch: values, helpers, conditionals, ranges, hooks,...

No results found.