Category Archives: администрирование

git squash variants

If you just want to squash all commits into one. 1. The simplest way: If you have a message like ‘error: failed to push some refs to’, add —force to the last command.

Check ssl certificates on a host

If it says something like gethostbyname failure then try following. It needs socat, which can be installed on macOs like this — brew install socat. Then in one terminal open

and in another terminal:

Check availability and version of a package in Ubuntu


SLA — Service Level Agreement. It’s more law-related. It’s about contracts. SLI — Service Level Indicator. It’s some parameter that should be measured and which should be kept in some range. SLO — Service Level Objective. It says how often SLI could fail. Like SLI should be true for 99.9% of the time. Video from …

Read more

What is a Service Mesh? Introductory article from NginX

The original is here — Another small introductory article on Istio you can find here. A service mesh is a configurable infrastructure layer for a microservices application. It makes communication between service instances flexible, reliable, and fast. The mesh provides service discovery, load balancing, encryption, authentication and authorization, support for the circuit breaker pattern, and other …

Read more

Istio — platform for managing and connecting your microservices. Service mesh It’s flexible and modular service mesh made by Google, IBM and Lyft. It is a platform for managing your kubernetes system. It’s responsible traffic management, observability, policy enforcement, service identity and security. It provides features like service discovery, load balancing, A/B experiments, canary deployments, circuit breaking and health checks.

Kubectl helpful commands

Scale (up/down) pods:

More commands here —

Publish subdirectory of a project to gh-pages

If your build is located at ./build, then do this:

More details here —

docker-compose for starting aerospike and memcache

Place this config wherever you like (in your project) — for instance, ~/myproj/docker/docker-compose.yml:

And this config for aerospike should be placed in a directory ~/myproj/docker/aerospike/etc/docker.conf After that you should run it like that:

When you finished, just run:

How to count resource usage in linux

It will output something like this: