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:
Add -E to sudo during server_installation script.sh.
sudo -E ./server_installation.sh
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
Try adding
sleep 60
command in the script directly aftersnap install microk8s
andmicrok8s start
commands