Ubuntu power consumption on the laptop with Intel 1065G7

For daily use, i set the ‘powersave’ mode in Ubuntu/Mint OS but see that cpu frequency is around 2.5-3GHz all the time When i checked scaling_governor – it was all fine and showed me ‘powersave’ mode And found that somehow the min_freq is set as 3GHz So, simply execute a basic inline Bash command to … Читати далі

Haproxy: convert http1.1 request from the client to http2 on the backend side

For example, you are using this sample config And get an error: It happens because your backend server uses only h2 (http2) and due to this thread https://www.mail-archive.com/haproxy@formilux.org/msg43261.html you should set the “:authority” pseudo-header It can be done by adding ‘set-uri’ in the config

Minio setup

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 … Читати далі

Ansible. nmcli module. Failed to import the required Python library

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 … Читати далі

Make simple Kubernetes cluster and deploy own Golang application

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 … Читати далі