From bb9f2bb3a9bf092fa077d9aea5ff87bb4eb1e974 Mon Sep 17 00:00:00 2001 From: Jaehyun Nam Date: Wed, 4 May 2022 04:03:18 +0000 Subject: [PATCH] update setup scripts Signed-off-by: Jaehyun Nam --- .../self-managed-k8s-selinux/k8s/initialize_kubernetes.sh | 2 +- contribution/self-managed-k8s-selinux/k8s/install_kubernetes.sh | 2 +- contribution/self-managed-k8s/k8s/initialize_kubernetes.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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