Server Installation Issues

Script terminated by SIGINT (Almalinux)

Red Hat Linux, and Almalinux have specific issues where microk8s command executed inside of a bash script are killed with SIGINT with exit code 143 as mentioned here.
The script exits with error message Terminated.

Potential fixes:

  1. Add -E to sudo during server_installation

sudo -E ./
  1. If installation script was terminated after installing microk8s, but before configuration, then before re-run either uninstall or script modification as following is necessary:

# if microk8s status > /dev/null
if false
  1. Try adding sleep 60 command in the script directly after snap install microk8s and microk8s start commands