diff --git a/contribution/self-managed-k8s-selinux/k8s/initialize_kubernetes.sh b/contribution/self-managed-k8s-selinux/k8s/initialize_kubernetes.sh index ea0d23f5b0..f5a63ebafc 100755 --- a/contribution/self-managed-k8s-selinux/k8s/initialize_kubernetes.sh +++ b/contribution/self-managed-k8s-selinux/k8s/initialize_kubernetes.sh @@ -64,7 +64,7 @@ elif [ "$CNI" == "cilium" ]; then sha256sum --check cilium-linux-amd64.tar.gz.sha256sum sudo tar xzvfC cilium-linux-amd64.tar.gz /usr/local/bin rm cilium-linux-amd64.tar.gz{,.sha256sum} - cilium install + /usr/local/bin/cilium install fi if [ "$MASTER" == "true" ]; then diff --git a/contribution/self-managed-k8s-selinux/k8s/install_kubernetes.sh b/contribution/self-managed-k8s-selinux/k8s/install_kubernetes.sh index c28df22fa6..cea9be4f4c 100755 --- a/contribution/self-managed-k8s-selinux/k8s/install_kubernetes.sh +++ b/contribution/self-managed-k8s-selinux/k8s/install_kubernetes.sh @@ -31,7 +31,7 @@ EOF sudo mv kubernetes.repo /etc/yum.repos.d/ # install k8s -sudo dnf install -y kubeadm kubelet kubectl +sudo dnf install -y kubeadm kubelet kubectl iproute-tc sudo systemctl enable kubelet # disable rp_filter diff --git a/contribution/self-managed-k8s/k8s/initialize_kubernetes.sh b/contribution/self-managed-k8s/k8s/initialize_kubernetes.sh index 8ee5bc8fb2..3eb8fda6d3 100755 --- a/contribution/self-managed-k8s/k8s/initialize_kubernetes.sh +++ b/contribution/self-managed-k8s/k8s/initialize_kubernetes.sh @@ -62,7 +62,7 @@ elif [ "$CNI" == "cilium" ]; then sha256sum --check cilium-linux-amd64.tar.gz.sha256sum sudo tar xzvfC cilium-linux-amd64.tar.gz /usr/local/bin rm cilium-linux-amd64.tar.gz{,.sha256sum} - cilium install + /usr/local/bin/cilium install fi if [ "$MASTER" == "true" ]; then