OpenEBS ZFS Permission

OpenEBS ZFS LocalPV delivers powerful and notably fast storage for Kubernetes environments. However, a common hurdle appears when attempting to use these volumes with containers operating under non-root privileges. Let’s dissect why this occurs specifically with native ZFS volumes and outline the effective solution. How OpenEBS ZFS provisions volumes OpenEBS ZFS LocalPV offers several methods for volume creation: Native ZFS Volume (using fstype: "zfs"): This method carves out a ZFS filesystem directly within your ZFS pool. It stands out as the fastest and most straightforward approach. Volume with other filesystems (e.g., fstype: "ext4"): This involves creating a ZFS subvolume (or zvol) which is then formatted using a different filesystem, such as ext4 or XFS. This guide concentrates on the first scenario: native ZFS volumes. ...

2025-05-02 · Aleksandr Baryshnikov

Longhorn Backup and Restore

Article breaks down using Longhorn (version 1.7) for backups, self-hosting, and recovery. It’s for seasoned DevOps and SysAdmin folks who like doing things themselves. You’ll find a step-by-step guide on setting up and restoring backups with Longhorn, Velero, and GitOps. The goal is to show you a tried-and-true setup for getting your backups and restores working smoothly. ...

2024-10-21 · Aleksandr Baryshnikov

Portable Stack

Once upon a time, I was sitting in front of my laptop with an IDE where hundreds of different Kubernetes manifests were opened and I was thinking: “how come I am in this moment? I need to add a new service, but to do it, I have to keep in my mind zillions of details and configure dozens of files instead promised by marketing ’little changes’”. It wasn’t my first frustrating time: I have always been thinking that the current practice of how to set up an environment is slightly more complicated than needed for micro/small businesses especially for pet projects. Yes, even in pet-projects we want to have automatic TLS, backups, databases, security, and other useful stuff. The system should be scalable. While those reasons sound like the truth, it also feels like the IT road turned somewhere wrong. ...

2023-01-24 · Aleksandr Baryshnikov

How to get SSL certificates on Synology

I have been working with Synology Disk Station products for SOHO for a long time now. It’s a costly NAS but worth it because of: the combination of high-quality software (DSM) and hardware, and it is friendly for newcomers and professionals alike. By default, Synology offers access to the NAS UI via HTTPS or HTTP protocol. While HTTP is the simplest option, HTTPS (if done properly) is much more secure. However, the self-signed certificate, provided by Synology is not good neither in terms of security or user experience (ie: RED alerts in browsers and etc). In general, in DSM 7 you may issue a certificate by two methods: request a free certificate from Let’s Encrypt import already existing certificate The first option is available only in case you exposed your Synology to the public internet which might not be the best idea in terms of security. In this article, I would like to share an approach on how to secure a connection to the Synology by issuing a valid (!) certificate without exposing NAS to the outer world. ...

2022-01-11 · Aleksandr Baryshnikov

Tinc Boot Full Mesh VPN without pain

Automatic, secure, distributed, with transitive connections (that is, forwarding messages when there is no direct access between subscribers), without a single point of failure, peer-to-peer, time-tested, low resource consumption, and a full-mesh VPN network with the ability to “punch” NAT – is it possible? ...

2019-11-20 · Aleksandr Baryshnikov

Tinc Boot Full Mesh сеть без боли

Автоматическая, защищенная, распределенная, с транзистивными связями (т.е. пересылкой сообщений, когда нет прямого доступа между абонентами), без единой точки отказа, равноправная, проверенная временем, с низким потреблением ресурсов, full-mesh VPN сеть c возможностью “пробивки” NAT — это возможно? Полная статья опубликована на Хабр

2019-09-20 · Aleksandr Baryshnikov

Отображение переменных окружения в Redis

Redis — это такое хранилище вида ключ-значение. Переменные окружения (environment variables) — напоминают то же самое. А что если это как-то объединить? ...

2017-12-15 · Aleksandr Baryshnikov

Легкая система мониторинга с Телеграмом и консулом

Эволюционно так получилось, что в моем личном владении оказался не маленький зоопарк различных серверов: от дешевого Supermicro до топового (на момент выпуска) HP Gen 8. Все конечно связано оптикой и прочими радостями жизни. И вроде все работает. Но иногда наступает тот дивный чудный момент, когда приходит потребитель одного из сервисов с вопросом вида “а чего-то у меня уже неделю сервис такой-то немного не живой”. ...

2017-08-08 · Aleksandr Baryshnikov

Брокер сообщений для сервисной архитектуры

Профессиональное счастье программиста довольно простое — писать на своем любимом языке интересные задачи и получать за это деньги (желательно не маленькие, хотя денег всегда мало). Подобные желания привели к тому, что родился целый подход в виде отдельностоящих приложений и процесса обмена между ними: SOA (в частности SOAP/WSDL/XML-RPC/JSON-RPC т.п.), REST, микросервисная архитектура. Суть в том, что следуя заветам Unix, отдельный функционал выделяется в приложения, а обмен данными между ними специфицируется отдельно. ...

2015-07-18 · Aleksandr Baryshnikov

Децентрализованная система обмена сообщениями

Мир IT-разработок идет по спирали. Основатели UNIX считали, что пусть программ будет много, но каждая из них выполняет свою задачу на «отлично». В начале 2000х основным трендом были программы-комбайны, выполняющие все, что только можно и даже больше. Сейчас вектор направления разработок начал движение в обратную сторону. И если раньше для обмена данными использовался в основном стандартный поток ввода/вывода, то теперь из-за того, что системы делают все более распределенными, передачей данными между узлами занимаются специализированные интеграционные комплексы (англ. Message Bus или Message broker). ...

2014-10-11 · Aleksandr Baryshnikov