增加keepalived离线安装包

This commit is contained in:
zhanglikun 2023-04-28 14:17:28 +08:00
parent db8574302f
commit 87bb966505
No known key found for this signature in database
GPG Key ID: CEA7CACC468ACDFE
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,7 @@ curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/downlo
# curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/download/kernel_5.4/kernel_5.4.tar.gz # curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/download/kernel_5.4/kernel_5.4.tar.gz
curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/download/kubeadm_images/kubeadm_images.tar.gz curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/download/kubeadm_images/kubeadm_images.tar.gz
curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/download/kubeadm_rpms/kubeadm_rpms.tar.gz curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/download/kubeadm_rpms/kubeadm_rpms.tar.gz
curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/download/keepalived/keepalived.tar.gz
tar xf docker-ce-20.10.tar.gz -C ../docker/ tar xf docker-ce-20.10.tar.gz -C ../docker/
tar xf flannel.tar.gz -C ../flannel/ tar xf flannel.tar.gz -C ../flannel/
@ -14,3 +15,4 @@ tar xf ingress-nginx.tar.gz -C ../ingress-nginx/
# tar xf kernel_5.4.tar.gz -C ../kernel_5.4/ # tar xf kernel_5.4.tar.gz -C ../kernel_5.4/
tar xf kubeadm_images.tar.gz -C ../kubeadm/ tar xf kubeadm_images.tar.gz -C ../kubeadm/
tar xf kubeadm_rpms.tar.gz -C ../kubeadm/ tar xf kubeadm_rpms.tar.gz -C ../kubeadm/
tar xf keepalived.tar.gz -C ../keepalived/

4
keepalived/install.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
yum install -y ./*.rpm
systemctl enable --now keepalived