Sharing experience and building for people

Hola, I’m Alik Khilazhev, AKA alikhil on the internet. I'm a:

  • Cloud Infrastructure Engineer

    I have 8+ years of experience in infrastructure development, DevOps and SRE practices. I specialize in Kubernetes and the surrounding cloud-native ecosystem.

  • Software Engineer

    I enjoy building platform services and tools that empower others. I'm always on the lookout for challenging problems to solve—like puzzles—by writing clean, efficient code in Go, Python, or whatever language the task calls for.

  • Open Source enthusiast

    I'm passionate about open source software and enjoy building complex, resilient systems by combining various open source tools—like playing with LEGO. I also contribute to projects like Terragrunt and Updatecli, among others, to give back to the community.

  • and Tech Geek

    I'm super curious about technology and love diving deep into systems just for fun. I absolutely love tinkering, experimenting, and exploring the world of self-hosting.

You can also find me at the links below.

Why Graceful Shutdown Matters in Kubernetes  [Pinned]

Have you ever deployed a new version of your app in Kubernetes and noticed errors briefly spiking during rollout? Many teams do not even realize this is happening, especially if they are not closely monitoring their error rates during deployments. There is a common misconception in the Kubernetes world that bothers me. The official Kubernetes documentation and most guides claim that “if you want zero downtime upgrades, just use rolling update mode on deployments”. I have learned the hard way that this simply it is not true - rolling updates alone are NOT enough for true zero-downtime deployments. And it is not just about deployments. Your pods can be terminated for many other reasons: scaling events, node maintenance, preemption, resource constraints, and more. Without proper graceful shutdown handling, any of these events can lead to dropped requests and frustrated users. In this post, I will share what I have learned about implementing proper graceful shutdown in Kubernetes. I will show you exactly what happens behind the scenes, provide working code examples, and back everything with real test results that clearly demonstrate the difference. ...

The Simple Habit That Saves My Evenings

As a software engineer, I often work on big tasks that require hours of continuous and focused work. However, we have plenty of meetings, colleagues asking us something in Slack, and lunch breaks. Add a colleague who comes to you and calls you for a cup of coffee if you work from the office. And usually, we don’t really have such a luxury as hours of uninterrupted time. Nevertheless, sometimes we catch the flow of productive and focused work at the end of the workday. Imagine you come up with an elegant solution to a problem you’ve been tackling all day, or maybe even the whole past week. You can’t wait to implement and test your solution. And of course, you are so driven by your idea that you decide to continue working despite your working day being over. “20 minutes more and I will finish it,” you think. Obviously, this is not the case; some edge cases and new issues will inevitably arise. You come to your senses only 2–3 hours later—tired, hungry, demotivated, and still struggling with your problem. You just wasted your evening, with nothing to show for it. Worse, you overworked and didn’t recover that night. Thus, you were already exhausted when you started working. ...

ChatGPT: oauth2-proxy protecting services in k8s

OAuth2-proxy: protect services in kubernetes

The original post wrote about oauth2-proxy over seven years ago was quite popular at the time and attracted a lot of organic traffic to my blog, which still benefits my SEO today. Since the tutorial had become outdated, I decided to rewrite it. ...

Note on cable management for standing desk

Hey! Eventually, my desk got pretty messy with all the cables and other stuff piled up on it. Also, my cats started playing with and gnawing on wires. So, I decided to reorganize everything on my desk. Check it out! I’ve got a medium-sized table, about 120 by 80 cm. It’s wide (deep) but not too long. I need to keep everything in order and clean so I can work comfortably. ...

How to Use 3 Computers with One Monitor, Keyboard and Mouse – Without a KVM Switch

Hi there! Today, I want to share how I organize my three-computer setup (MacBook Air, Mac mini, and Raspberry Pi) without a KVM switch, using a single keyboard, mouse, and monitor. ...