Another one IT blog

There I’m trying to keep sync between my memory and reality.

How to unlock VMWare ESXi user

Solution To unlock your user in ESXi web UI you need to connect to go through the following steps: Connect to your server over SSH: ssh <your-esxi-user>@<your-esxi-ip> Run PAM command to unlock user: [<your-esxi-user>@r710:~] pam_tally2 --user <user-to-unlock> --reset Login Failures Latest failure From <user-to-unlock> 33 12/27/23 11:23:24 unknown

December 27, 2023 · 1 min · Dmytro Prokhorenkov

Enable CGroups V2 in Alpine Linux

How to enable cgroups V2 in Alpine Linux I am running K3S cluster to host some of my applications. After trying to start some of the Helm chart (especially some PostgreSQL charts) I got an error saying that containerD is not able to read some cgroups data. Actuall error message was saying following: Warning Unhealthy 3m46s kubelet Readiness probe errored: rpc error: code = Unknown desc = failed to exec in container: failed to start exec "<container_id>": OCI runtime exec failed: exec failed: unable to start container process: error adding pid 18381 to cgroups: failed to write 18381: open /sys/fs/unified/kubepods/burstable/pod<random_id>/<some_id>/cgroup....

July 8, 2022 · 1 min · Dmytro Prokhorenkov

DNS Resolution Through HTTP Proxy

Introduction It seems like I’m not one lucky person who needs something weird when it comes to DNS names resolution :). Recently I had a problem at work: we have a very secure datacenter. It has no direct access to the Internet and internally resolves only our company internal domain names. Since my team was doing step-by-step migration to AWS and we introduced a new way CNAME records to our subdomains....

December 9, 2020 · 3 min · Dmytro Prokhorenkov

HOWTO setup Nomad, Traefik and CloudFlare

Introduction At some point, I wanted to try something different from k8s and decided to have a look at Nomad from Hashicorp. And it has a pretty simple configuration to integrate with Traefik. You could find some details on this topic in the official documentation for Nomad here. Since this configuration is running on my personal server and resources are not publicly exposed, there would be not so many info about securing configuration....

September 20, 2020 · 4 min · Dmytro Prokhorenkov

Set Amazon AWS NTP in kube-aws

Basic info about kube-aws and problem Kube-aws is an open-source tool to provision Kubernetes cluster in Amazon AWS cloud. It provision ec2 instances with CoreOS to run Kubernetes. We’re running our clusters in eu-west-1 region and at some point we started getting problems with syncing time on our node. One day it resulted outage for our ETCd instances. After some investigation I found out that sometimes timesyncd is not able to synchronize time with NTP pool server:...

October 18, 2019 · 2 min · Dmytro Prokhorenkov

Kubernetes, nginx-ingress and S3 bucket

How to setup proxy from nginx-ingress to S3 bucket Long story short. I got a task to proxy few pages from our main website to files hosted in S3 bucket. I tried different ways to do so which I found in internet, but I had not luck with them. Everytime something was broken. But source of my problem was in attempts to configure this with nginx.ingress.kubernetes.io/server-snippet annotation. In real life configuration for this task in my case look much easier....

June 26, 2019 · 1 min · Dmytro Prokhorenkov

Cisco SPA8000 as office PBX

This device recomended itself as very flexible and configurable thing. I configured this device for one small office with 5-6 employees. As a result this device replaced hardware server with asterisk inside. Important notice Device should have firmware version >= 6.1.12(XU). Otherwise you won’t see this options At first we need to login to web-ui of device with administrator privileges. Clicking on button Advanced. Then we need to go to Voice tab and find channel T1....

June 13, 2018 · 2 min · Dmytro Prokhorenkov