Install kubectl on Ubuntu via APT repository

kubectl cannot be installed via APT directly, following provider instructions we have two ways to install it:

  • Via kubectl provider script: I don’t like this approach due to kubectl will not automatically updated when you update APT packages normally.
  • Via SNAP: I don’t like using SNAP, additionally package management tool to support 🙁
(more…)

APT kept back packages

From time to time, some APT packages are kept back and they’re not automatically updated when we run an apt dist-upgrade, like is presented in the next screenshot:

APT operations raise “kept back” packager warning
(more…)

Disable Ubuntu Pro marketing on APT updates

Last years Ubuntu has started to do marketing of Pro features on command line 🙁

$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libiperf0 libjs-jquery-ui ansible python3-scipy iperf3
Learn more about Ubuntu Pro at https://ubuntu.com/pro
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(more…)

Ollama, run your own ChatGPT

With Ollama, you can locally run any available open-source LLM (Large Language Model), and it’s compatible with Windows, macOS, and Linux, including as a Docker container.

(more…)

Cannot open Proxmox VM console

Have you tried to open a VM console at Proxmox VE web UI and get this error?

More probably you have a host authentication issue… maybe you reinstalled a PVE node or changed IP addresses, so some nodes have outdated host identification, so they not trust each other.

(more…)

Docker swarm Traefik reverse proxy

In order to serve several Docker services (simple Docker or orchestrated ones via Docker swarm) is good to setup a reverse proxy as Traefik (or Nginx).

This a receipt for deploying Traefik as a Docker swarm stack, including a simple who am I web service to test it.

(more…)

Upgrading to Proxmox 8

In order to upgrade to Proxmox Virtual Environment 8 (from version 7) is not enough to run the usual apt update + apt dist-upgrade, major versions implies to also update APT sources.

(more…)

Auto mount CephFS with autofs

In order to ensure any mount is available the usage of /etc/fstab is not enough, what happens if the mount is not accessible at boot time or if the network is down for any reason.

autofs is a service that will monitor any usage of the mount resource and it will try to mount it at that time.

(more…)