Kubernetes: Containers, Pods and Deployments

This post is the second part of the series about Kubernetes. In the first part, we introduced the K8s and its basic concepts. Before you start creating services or scaling apps, it’s essential to understand the core components of Kubernetes. This post walks you through pods, containers, and deployments—what they are, how they work, and how they come together to keep your apps running smoothly. Local Setup To taste K8s, you do not need access to some fancy remote platform. You can test and play with it on your own machine. Right now, there are a lot of solutions that can help you run K8s locally: ...

February 1, 2025 · 5 min · Robert Nemet

Kubernetes: A Gentle Introduction for Developers

Diving into the world of Kubernetes doesn’t need to be intimidating. This post will explain Kubernetes, why it matters, and how it fits into the modern application landscape. By the end, you’ll understand its core purpose and how it can make your development life more manageable. The target audience for this post is developers who are new to Kubernetes or those who work on a product that uses Kubernetes but do not have a deep understanding of it. ...

January 28, 2025 · 3 min · Robert Nemet

New Docker Goodies: Init and Watch

Recently Docker brought some new stuff that I found very useful for developers. They are still in the experimental phase but are already very useful. Try them and give your feedback to the Docker team. The code I’m using for this is available here. Let’s start… Init Writing a Dockerfile when starting with a new application is tedious. Why? Because we are repeating most of the stuff over and over again. So, in the end, we reach to copy/paste solution. Of course, copy/paste needs to be modified to fit an application’s needs. I do not say that copy/paste is terrible, but with it, we miss new stuff that Docker brings to us. Even seasoned developers miss stuff. If we do not do it every day, we forget. Because of that, the Docker team brought us a new command called init. The init is not new but is still in beta. This time with more improvements. ...

May 1, 2023 · 4 min · Robert Nemet

Building Docker Image Faster

During building services, we often need to build docker images. We do it multiple times a day. It can be a time-consuming task. Locally we only notice it a little, but in CI/CD pipelines, it can be a problem. In this post, I will show you how to speed up the process. I will show you how to use a cache, layer your Dockerfile, and use multi-stage builds, to make your builds faster. ...

April 8, 2023 · 8 min · Robert Nemet

How to Create a Local Development Environment with Docker Compose

As a developer, when working on a service, you face a problem with the working environment. And when I say working environment, I do not think about IDEs, stacks, OS, libraries, etc. I’m thinking about the environment where our services live. These days, our services are usually packed inside some container and put in some kind of distributed system. Most containers and other moving parts are controlled by Kubernetes, Nomad, and similar orchestration systems. ...

April 1, 2023 · 6 min · Robert Nemet