Hetzner VPS: filesystem partitions
Sometimes I need to have separate partitions on VPS in Hetzner. The simplest way to create a custom disk structure – use Cloud-init script With commands: In this example, we have 10Gb for / and empty disk /dev/sdb
Sometimes I need to have separate partitions on VPS in Hetzner. The simplest way to create a custom disk structure – use Cloud-init script With commands: In this example, we have 10Gb for / and empty disk /dev/sdb
For count rows in each PostgreSQL table, we need to create a function and run it for all schemas
After upgrading the kernel to a newer kernel, OS won’t boot with a stacked message
Just add to ansible.cfg module jinja2.ext.do
Minio it is self-hosted storage compartible with s3 API Create key and secret Make nomad file Get mc – CLI for Minio Create connection to storage and add bucket Create file with policy user.json Add policy Add user Apply policy to user Go to another server/OS configure connect to minio and test upload Done Documentation… Читати далі »
In new version of Ubuntu/Centos need to use new name of imported module. When using old nmcli.py i had this error: Failed to import the required Python library (NetworkManager glib API) on node’s Python /usr/bin/python3. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using… Читати далі »
When you need to do fast fix for some module without to push it use option replace in go.mod For example, i want to check – my application will be work with changes in branch ? and add replace for that repo
Main goal to create simple cluster with one master node and two worker-nodes . All procedures we will do on 3 VPS with Ubuntu 20.04 Server installation. First step is to create separate user on all VPS, for the test environment let it be ‘kubuntu’. For orchestration we will use Ansible Lets create directory for… Читати далі »
First, add your user to group docker And restart Docker daemon If this not help, change acl for file access: