From 63e12178c3addce8277be6f84722d3bff114ce89 Mon Sep 17 00:00:00 2001 From: zhanglikun Date: Wed, 26 Apr 2023 19:57:49 +0800 Subject: [PATCH] first commit --- .gitattributes | 5 + 0-init.sh | 19 + 0-install_docker.sh | 18 + 1-create_k8s.sh | 24 + 1-kernel_5.4.sh | 3 + 2-nginx_ingress.sh | 3 + flannel/install.sh | 3 + flannel/kube-flannel.yml | 209 +++++++ ingress-nginx/install.sh | 4 + ingress-nginx/nginx-ingress-daemonset.yaml | 691 +++++++++++++++++++++ kernel_5.4/install.sh | 17 + kubeadm/install.sh | 6 + 12 files changed, 1002 insertions(+) create mode 100644 .gitattributes create mode 100644 0-init.sh create mode 100644 0-install_docker.sh create mode 100644 1-create_k8s.sh create mode 100644 1-kernel_5.4.sh create mode 100644 2-nginx_ingress.sh create mode 100644 flannel/install.sh create mode 100644 flannel/kube-flannel.yml create mode 100644 ingress-nginx/install.sh create mode 100644 ingress-nginx/nginx-ingress-daemonset.yaml create mode 100644 kernel_5.4/install.sh create mode 100644 kubeadm/install.sh diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1071cf2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +*.zip filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tar.gz filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.deb filter=lfs diff=lfs merge=lfs -text diff --git a/0-init.sh b/0-init.sh new file mode 100644 index 0000000..57a5cb9 --- /dev/null +++ b/0-init.sh @@ -0,0 +1,19 @@ +sudo systemctl disable --now firewalld +setenforce 0 +sed -i "s/^SELINUX=.*/SELINUX=disabled/g" /etc/selinux/config + + + +cat <