Posts by Year

2023

Nix Colemak-DH layout

2 minute read

NixOs is gaining a lot of attentions right now. I’ve also decided to try to use is as my daily driver. I won’t go into the details of installation of nixos, ...

Vim numbered lists

less than 1 minute read

When writing markdown, it’s super common that you need numbered lists. (Neo)Vim has built-in support which makes creating numbered lists like a breeze.

Back to Top ↑

2022

Truenas Scale UPS reporting

2 minute read

I continue my adventures with TrueNas Scale. After configuring UPS I wanted to see the UPS graphs on the reporting page, but they were empty.

Truenas Scale monitoring Huawei UPS2000G

4 minute read

To protect my TrueNas Scale installation from power outage, I bought a UPS. I had a good deal on Huawei UPS2000G, and considering that it’s an online UPS it ...

Truenas Scale configure kubectl k9s

2 minute read

TrueNas Scale uses k3s, which is a lightweight Kubernetes distribution. It’s intended to be used only as platform for APPS, but I don’t see why you can’t use...

Truenas scale install fish

1 minute read

Recently I bought a server that I will be using as NAS/HomeLab. My OS of choice for this server is TrueNas Scale.

Neovim opening GitHub repos URLs

1 minute read

I have a very useful mapping in my Neovim: gx, which opens the URL under the cursor in the browser. I even wrote a blog post on it: Neovim Opening URLs

Implementing Calico CNI on existing cluster

4 minute read

In one of our production clusters, we’ve faced the issue of depleting the IP addresses, due to how ENI assigns and reserves IP addresses. You can check out E...

Signing Git commits in NeoVim

3 minute read

While all commits to GitHub through the web interface are automatically signed, you have to do some configuration to make it work in the console.

Two years to the blog

1 minute read

Today marks two years of this blog. I wrote my first post on this blog on 2020.04.15. For two years, I wrote 73 posts, some of which become popular.

Improving work with Terraform in Neovim

1 minute read

Working with Terraform on a daily basis and using Neovim as my main and only editor, I recently figured out a few improvements, which I’ll share in this blog...

TIL - Neovim lsp uses tag stack

less than 1 minute read

When you use Neovim LSP functions like vim.lsp.buf.definition() or vim.lsp.buf.implementation(), your cursor jumps to the corresponding position. Your previo...

Back to Top ↑

2021

Neovim setting up snippets with luasnip

4 minute read

I’ve wanted to start using snippets for a while, but never actually invest time into figuring out how snippets work. The idea to expand blocks of text/code j...

Using ArgoCD with Azure ACR

3 minute read

If you want to feel the taste of the GitOps approach one of the best tools on the market at the moment is ArgoCD. It has all the features you’d like to see f...

TIL - Kubernetes slow PV mount

less than 1 minute read

During my investigation of Pods taking a long time to start (20+ minutes) I saw following message in Pod’s logs:

TIL - Helm chart-testing custom values

less than 1 minute read

Testing your changes to the Helm chart is a must if you want to minimize the risk of failure. There are a set of techniques, which you may use to validate yo...

Neovim Telescope Github plugin

less than 1 minute read

As an active user and developer of Github Actions, I spend a lot of time watching how the run goes on and reviewing logs of unsuccessful runs.

TIL - Learning github script

less than 1 minute read

If you’re managing a lot of GitHub repositories you’re probably using GitHub Actions. One extremely powerful action is github-script. Using this script you ...

Monitoring GitHub Rate limits

4 minute read

If you’re an active user of GitHub API, pretty soon you’ll reach your account’s rate limit - 5000 requests per hour for authenticated user.

Git fzf wrappers for fish

less than 1 minute read

I was reading through the list of changes of new fzf version and, as it sometimes happened, found myself in a different place.

Restarting GitHub action from CLI

less than 1 minute read

GitHub Actions is still pretty new and missing a lot of functionality. One of such missing features was the ability to interact with Actions from the command...

Vim my favourite keymapping

less than 1 minute read

I don’t think that there is a single person who likes Vim’s Ex mode. And keymapping used to trigger this shortcut, Q regularly gets occasionally triggered.

Switch to Colemak

3 minute read

It’s been a week since I entirely switched my keyboard layout to Colemak-DH. If you have never heard of it, it’s an alternative to QWERTY 12 finger keys move...

Passed Certified Kubernetes Security Exam

6 minute read

I’ve passed Certified Kubernetes Security Specialist Exam with score 84%: This also means that now I obtain all three Kubernetes Certifications from LinuxFo...

Neovim writing LUA plugins

4 minute read

Recently the Neovim community has been experiencing a boom in new plugins. Those plugins are written in LUA, which is much, much more pleasant to write than ...

Neovim opening URLs

less than 1 minute read

Vim has built-in functionality to open URLs directly by executing gx in normal mode. This functionality is provided by netrw plugin :h netrw-gx

Neovim train motions

1 minute read

I’ve found very interesting but little known neovim plugin, train.nvim. It’s readme is pretty confusing, so I’ll describe it here.

Back to Top ↑

2020

CKS preparation - setting up gVisor

3 minute read

One of the topics for the Certifies Kubernetes Security Exam(CKS) is usage of gVisor as container runtime. While in theory configuring gVisor shouldn’t be ha...

TIL - Building Docker Images remotely in ACR

less than 1 minute read

Today I’ve learned that Azure Container Registry can build Docker images for you. Using az cli you’re sending Dockerfile and contents of folder you’re trying...

Github actions cancelled terraform jobs

less than 1 minute read

Today I’ve faced small but nasty bug in my Terraform solution. You can read about solution in Terraform vs Github Actions and Github actions matrix secrets a...

Github actions matrix secrets

1 minute read

My team is continuing migration to GitHub Actions, and one of the pipelines we are working on is Terraform validation pipeline. I’ve described this pipeline ...

Terraform and Azure CosmosDB

3 minute read

Recently I was creating Terraform IaaC solution for Azure CosmosDB. First step was to find if there is en exising terraform module, which I could use for our...

TIL - Retrieving Jenkins secrets

less than 1 minute read

I’m a long-time Jenkins user. And I always thought that it’s only possible to get secrets via some kind of expose from runner.

Passed RedHat PE180 exam

3 minute read

I have successfully passed Red Hat PE180 and earn Red Hat Certified Specialist in Containers for Kubernetes. In this post I will share my experience about mo...

Terraform vs Github Actions

4 minute read

My project is migrating to github, and one of team intentions was to use github actions instead of Jenkins.

Switch to fish shell

2 minute read

I had some free time and decide that I should try different shell, specifically fish. I wanted to try it for a long time, but just wasn’t convinced that time...

TIL - Free wildcard domain xip.io

less than 1 minute read

Sometimes you need to test your application quickly, and setting up new DNS domain, especially in Enterprise, can take ages. Today I learned about xip.io, a ...

Using fzf with kubectl as REPL

2 minute read

I was pretty impressed by the article fzf-live-repl and decide to adapt these techniques in my daily work with Kubernetes.

Kubernetes rewrites

1 minute read

As I work with nginx Ingress and rewrite rules on a daily basis, I spend a good amount of time working with them. So I’ve decided to summarize my knowledge i...

Fedora 32 and github pages

1 minute read

Last week I’ve updated my working machine to Fedora 32. Upgrade went smoothly and, after a week, I thought that I wouldn’t face any issues.

TIL - Neovim Highlight yanked text

less than 1 minute read

I have a bad habit of visually selecting text in (neo)vim before yanking it. I know that it’s not efficient and always wanted to get rid of this habit.

Kubectl plugin manager

1 minute read

I’ve been aware that there is such thing as kubectl plugin manager - krew. But plugins available didn’t make much sense for me, at least until now.

Setting up FZF on Fedora

2 minute read

I’m using fzf for fuzzy finding in vim, and I am very happy with it. But for bash in Fedora it was a frustrating experience. Shortcuts weren’t working, bash ...

TIL - Pasting into Teams

less than 1 minute read

We are using Microsoft Teams as our main collaboration tool. It was really killing me, when I select and copy text from Terminal, paste it into Teams chat an...

Adding blog to search engines.

less than 1 minute read

I’ve added blog to Google and Yandex search engines. This was by no mean an easy task. I’ve went throught following steps: Add Google Analytics to blog ...

TIL - Validating Jenkins Pipeline from CLI

less than 1 minute read

During last couple of days I’ve been developing Jenkins CI and CD pipelines. Since I’m get used to Python’s linting tools like flake8 workflow where you have...

Mounting ConfigMap as single file

less than 1 minute read

Many guys who work with Kubernetes don’t know that you can mount ConfigMap into existing folder inside a Pod as a single file.

CKAD theory pt.1 - Core Concepts

2 minute read

I thought that I could publish my CKA/CKAD preparation notes, maybe it will be useful for someone. Mostly it’s a compilation of already existing articles, bu...

Preparation for CKA/CKA

1 minute read

I’m constantly being asked, which resources I’ve used to prepare to CKA/CKAD exams.

Initial post

less than 1 minute read

I’ve always wanted to start a blog, and finally I had some time to investigate github pages and create this awesome blog. We’ll see if I’ll have enought time...

Back to Top ↑