Part One

Hello, in this cycle of article’s we’ll focus on the most popular ways of creating the highly available Redis setups. And will try to take a detailed view of the existing ways of implementing the Redis clustering for the production needs.

Redis one of the most popular key-value database today and you can meet with it on a lot of projects in different places, from small websites up to complicated distributed applications. In this article, we’ll use the community Redis version, that as you know have some differences and restrictions from the enterprise version.

The main goal of the Redis-like…


Hi, in this short article I wanna show some examples of creating and managing a medium size of Elasticsearch cluster with showing some bad and good practice, basing on my own experience.

I’ll show some maybe well know things like using indices lifecycle policies, with automatic indices rollover using templates and a bit more.

The story begins with a small cluster that contains only three nodes, of course, these nodes have mixed master/data roles and all indices were created with no lifecycle policies and with not optimal shards counts. The good things were that all hard drives were SSD and…


… A change is as good as a rest …

Contacts:

Odessa/Stockholm
Mail: ratibor78@gmail.com

Phone: +380661279929
Skype: alexey-ratibor
Linkedin: https://www.linkedin.com/in/nizhegolenko/
GitHub: https://github.com/ratibor78

Medium: https://medium.com/@ratibor78

Preamble.

First, thanks for reading this document, please spend a little time and check out my Medium articles and also the GitHub repositories, for getting a quick understanding about me and my latest professional interests.

All the below text must look like a good old-style CV for HR.

Objectives.

DevOps and System administration/architect tasks are my primary interests for now. I have experience with all modern stack of relative technologies like Docker, Kubernetes, ELK stack and so on. I made a deep-diving for building and scaling Kubernetes clusters, especially the on-premise and bare-metal decisions. Using Jenkins with Gitlab integration for the CI/CD…


When I first meet the container technology and starting to use it a lot with Docker and Kubernetes later, I wondered about how to make it more secure and also how can I combine the old, good know, virtualization (KVM/QEMU) and modern containers technologies. Why? Because even independently from containers popularity they still only a cgroups and namespaces in shared host Linux kernel. When you use it for your own projects it’s OK, but if you share some Kubernetes cluster for the external customers, being as some kind of cloud provider for example? It can lead to big troubles when…


Hello all, and it’s time for the new article today, at this one I wanna share some experience about creating a high available Redis like cluster, from two master nodes with synchronous read/write and failover support. What means a Redis like? It means we’ll not use Redis for creating it, but we’ll use a very nice and fully compatible fork of Redis, called KeyDB. Many thanks for John Sully for it.

I guess there a lot of peoples who use Redis in their projects, so you may know that a multiple masters schema from community version of Redis is a…


For kubeadm made clusters only.

Hello, in this short article I’ll show a way of auditing the on-premise Kubernetes cluster, that was created by using kubeadm utility. When you put your brand-new Kubernetes cluster in production and give extended access to it for many peoples, you may wanna know who and what was doing on it. Especial if someone deletes the important deployments or same things.

In this case the Kubernetes team created an auditing inside the cluster, so you can enable it and get the full information about what are happens inside you cluster, in fact there is a lot of data you can…


Helm, private Docker registry, cluster upgrading…

Hi again, I hope you doing well, looking back to my short article cycle, about configuration Kubernetes cluster on bare metal servers, I have realized that it’s a few things I wanna add to it. Things that were missed in previous parts, like using own docker registry and Kubernetes native package system Helm, for example. Also, one more important thing for good exploitation Kubernetes cluster, it’s to get an experience upgrading the Kubernetes version. As we now begin to be a self-made cloud provider, we need to take responsibility about cluster upgrades too.

In this short afterward, I’ll show an…


v 0.3

Very often when you start using some new tech or product, you will learn a new commands and methods for doing right. You may spend some time and found non-standard or especially yours list of needed commands and methods. But as time go on, it may be complicated to keep it all in mind, so you start to write it down. In time this notes grow up it to some kind of pocket reference.

In this small reference I combined a list of popular console commands for managing Kubernetes cluster. I started write it like my own list of useful…


Hi there and welcome back to the third part of the “Kubernetes on bare metal” tutorial, in this part I wanna pay attention to the cluster monitoring & collecting logs, also we’ll run some test application for utilizing previously configured cluster components. After all, we will implement some stress tests and will check the stability of this cluster schema.

A first and very popular tool that Kubernetes community can provide for getting some web UI and statistical data about your cluster, it’s Kubernetes Dashboard. …


Hello there, in this short article I’ll show a common way of monitoring Nginx logs by the ELK stack (Elasticsearch, Logstash, and Kibana). This tutorial will be useful for small and medium Web projects.

In my opinion, logs are the thing that never enough, for people who really wanna control their projects deep. In this case, collecting and analyzing Nginx logs can give you additional flexibility and time of reaction.

Sometimes I meet with an opinion that creating and supporting of ELK stack may be complicated for the beginners and peoples who don’t have any OPS or Sysadmin experience. But…

Alexey Nizhegolenko

OPS & DevOps Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store