Update kubernetes installation to load br_netfilter and use version 1.26.15

Change-Id: Ica8e9c1baf4ea16d125ab79e992c4e3f7043f6ee
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/installers/install_kubeadm_cluster.sh b/installers/install_kubeadm_cluster.sh
index 793e7da..108a8ea 100755
--- a/installers/install_kubeadm_cluster.sh
+++ b/installers/install_kubeadm_cluster.sh
@@ -16,7 +16,7 @@
 set +eux
 
 K8S_VERSION=1.26
-K8S_PACKAGE_VERSION="$K8S_VERSION".5-1.1
+K8S_PACKAGE_VERSION="$K8S_VERSION".15-1.1
 
 # installs kubernetes packages
 function install_kube() {
@@ -50,6 +50,10 @@
 # initializes kubernetes control plane
 function init_kubeadm() {
     [ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function
+    sudo modprobe br_netfilter
+    echo "br_netfilter" | sudo tee /etc/modules-load.d/k8s.conf
+    sudo sysctl -w net.bridge.bridge-nf-call-iptables=1
+    echo "net.bridge.bridge-nf-call-iptables=1" | sudo tee /etc/sysctl.d/k8s.conf
     sudo swapoff -a
     sudo sed -i.bak '/.*none.*swap/s/^\(.*\)$/#\1/g' /etc/fstab
     sudo kubeadm init --config $1 --dry-run || FATAL_TRACK k8scluster "kubeadm init dry-run failed"