Posts
Alexei Ledenev's Blog
This is a collection of articles I've written over the years about different technology topics I find interesting. The articles are organized by year and cover a range of subjects, including cloud computing, AI, DevOps, and software development.
Posts by Year
2025
- Kubernetes 1.33: Resizing Pods Without the Drama (Finally!) 🎉 - Apr 26, 2025 - Tags: kubernetes, vpa, devops, autoscaling
2019
-
EKS GPU Cluster from Zero to Hero - Jul 20, 2019 - Tags: kubernetes, eks, gpu, spot, aws, machine-learning, cost-optimization
-
Kubernetes Continuous Integration - Mar 8, 2019 - Tags: kubernetes, ci/cd, continuous-integration, helm, yaml, devops
2017
-
Chaos Testing for Docker Containers - Oct 4, 2017 - Tags: docker, chaos-monkey, chaos-testing, testing, devops, chaos-engineering, netem, resilience, pumba
-
Debugging remote Node.js application running in a Docker container - Jun 3, 2017 - Tags: docker, tutorial, devops, node, nodejs, debugging, dockerfile, development
-
Create lean Node.js image with Docker multi-stage build - Apr 25, 2017 - Tags: docker, tutorial, devops, node, nodejs, multistage, dockerfile, best-practices
-
Crafting perfect Java Docker build flow - Mar 7, 2017 - Tags: docker, tutorial, devops, java, maven, best-practices, ci/cd
-
Everyday hacks for Docker - Jan 2, 2017 - Tags: docker, tutorial, devops, tips-and-tricks, best-practices, cli
2016
-
Deploy Docker Compose (v3) to Swarm (mode) Cluster - Dec 18, 2016 - Tags: docker, swarm, docker-compose, compose, devops, cluster
-
Do not ignore .dockerignore - Nov 26, 2016 - Tags: docker, build, dockerignore, devops, best-practices, dockerfile
-
Docker Swarm cluster with docker-in-docker on MacOS - Oct 6, 2016 - Tags: docker, swarm, macos, docker-in-docker, container-orchestration
-
Network emulation for Docker containers - Aug 1, 2016 - Tags: docker, testing, chaos-testing, netem, network, resilience, pumba
-
Pumba - Chaos Testing for Docker - Apr 16, 2016 - Tags: docker, testing, chaos-testing, resilience, devops, pumba
-
Testing Strategies for Docker Containers - Mar 7, 2016 - Tags: docker, testing, integration-testing, dockerfile, best-practices
-
Docker Pattern: The Build Container - Jan 14, 2016 - Tags: docker, pattern, dockerfile, best-practices, ci/cd
2015
- Docker Pattern: Deploy and update dockerized application on cluster - Dec 30, 2015 - Tags: docker, coreos, fleet, continuous-deployment, container-orchestration
Recent Posts
Kubernetes 1.33: Resizing Pods Without the Drama (Finally!) 🎉
Remember that feeling? You meticulously configured your Kubernetes pods, set the CPU and memory just right (or so you thought), only to have your application start gasping for air or hogging resources like it's Black Friday for RAM. In the old days, the only cure was a full pod restart – a disruptive event that often felt like performing open-heart surgery with a butter knife while your SRE team watched through the Operating Room window.
EKS GPU Cluster from Zero to Hero
If you ever tried to run a GPU workload on Kubernetes cluster, you know that this task requires non-trivial configuration and comes with high cost tag (GPU instances are quite expensive).
Kubernetes Continuous Integration
Complex Kubernetes application consists from multiple Kubernetes resources, defined in YAML files. Authoring a properly formatted YAML files that are also a valid Kubernetes specification, that should also comply to some policy can be a challenging task.
Chaos Testing for Docker Containers
What follows is the text of my presentation, Chaos Testing for Docker Containers that I gave at ContainerCamp in London this year. I've also decided to turn the presentation into an article. I edited the text slightly for readability and added some links for more context. You can find the original video recording and slides at the end of this post.
Debugging remote Node.js application running in a Docker container
Teaser
Create lean Node.js image with Docker multi-stage build
Starting from Docker 17.05+, you can create a single
Dockerfile
that can build multiple helper images with compilers, tools, and tests and use files from above images to produce the final Docker image.Crafting perfect Java Docker build flow
What is the bare minimum you need to build, test and run my Java application in Docker container?
Everyday hacks for Docker
In this post, I've decided to share with you some useful commands and tools, I'm frequently using, working with amazing Docker technology. There is no particular order or "coolness level" for every "hack". I will try to present the use case and how does specific command or tool help me with my work.
Deploy Docker Compose (v3) to Swarm (mode) Cluster
Disclaimer: all code snippets bellow are working only with Docker 1.13+
Do not ignore .dockerignore
Tip: Consider to define and use
.dockerignore
file for every Docker image you are building. It can help you to reduce Docker image size, speedupdocker build
and avoid unintended secret exposure.
Subscribe via RSS