FAQ KubeOps LIMA
Aborting, target uses SELINUX but PYTHON bindings (LIBSELINUX-PYTHON) aren't installed!
You have to install libselinux-python on your cluster machine so you can install a firewall via LIMA.
Could not detect a supported package manager from the followings list: ['PORTAGE', 'RPM', 'PKG', 'APT'], or the required PYTHON library is not installed. Check warnings for details.
1. Check if you got a package manager.
2. You have to install python3 with 'yum install python3' and then create a symlink from python to python3 with 'update-alternatives --config python'.
Some nodes didn't upgrade. What to do now?
1. Retry to upgrade your cluster.
2. If LIMA thinks you are already on the target version edit the stored data of your cluster at
'$LIMAROOT/myClusterName/clusterStorage.yaml'.
Set the Key 'kubernetesVersion' to the lowest kubernetes Version present on a Node in your cluster.
Some nodes are missing the loadbalancer
1. Check if the Loadbalancer staticPod file can be found in the manifest folder of the node.
2. If it isn't there please copy it from another node.
My master can not join, it fails when creating /ROOT/.KUBE
try the following commands on the master
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
I can not upgrade past KUBERNETES 1.21.X
1. Please make sure you only have the latest dependancy packages for your enviroment in your /packages folder.
2. It could be related to this kubernetes bug https://v1-22.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/
3. Try upgrading past 1.21.x manualy
My pods are stuck: CONFIG-UPDATE 0/1 CONTAINERCREATING
1. They are responsible for updating the loadbalancer, you can update them manualy and delete the pod
2. You can try redeploying the deamonset to the kube-system namespace
How does LIMA handle SELinux?
SELinux will be temporarily deactivated during the execution of LIMA tasks. After the execution is finished, SELinux is automatically reactivated. This indicates you are not required to manually enable SELinux every time while working with LIMA.