Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Kubernetes-1.12.3-all-auto-install — 个人整理的Centos7.x + Kubernetes-1.12.3 + Dashboard-1.8.3 无 CVE-2018-1002105 漏洞的master节点全自动快速一键安装部署文件,适用于测试环境,生产环境的快速安装部署 | Kitploit
Tools/GitHubGitHub/imlzw/kubernetes-1.12.3-all-auto-install
Cloud Infrastructure SecurityContainer SecurityVulnerability AnalysisCloud SecurityDevSecOpsMisconfiguration
GitHubimlzw/kubernetes-1.12.3-all-auto-install

Kubernetes-1.12.3-all-auto-install

个人整理的Centos7.x + Kubernetes-1.12.3 + Dashboard-1.8.3 无 CVE-2018-1002105 漏洞的master节点全自动快速一键安装部署文件,适用于测试环境,生产环境的快速安装部署

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
447 years agoNot yet reviewed

Kubernetes-1.12.3-all-auto-install

Project Introduction

Personally organized Centos7.x + Kubernetes-1.12.3 + Dashboard-1.8.3 automatic one-click installation and deployment files for master and node nodes without CVE-2018-1002105 vulnerability, suitable for quick deployment in test and production environments.

Reference Documents

https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/

Master Node Installation Preparation

  1. Configure the CentOS network environment to connect to the internet for downloading installation files.
  2. Log in to CentOS 7 as root, and copy all *.sh and *.ymal files from this project to the /root/ directory.
  3. Modify file permissions for *.sh:
root@kitploit:~
chmod +777 /root/*.sh
  1. Execute the following command to replace the IP in *.sh with your CentOS 7 IP address.
root@kitploit:~
# 修改替换下面的your_master_centos_ip为你的master_centos的ip
sed -i "s/192.168.119.212/your_master_centos_ip/g" /root/*.sh

Master Node Installation Guide

  1. Run node-kubeadm-init.sh to install the Kubernetes 1.12.3 environment.
root@kitploit:~
sh /root/node-kubeadm-init.sh
  1. Run node-kubeadm-install.sh to install the Kubernetes Dashboard 1.8.3 management UI.
root@kitploit:~
sh /root/node-kubeadm-install.sh
  1. After completion, open a browser and visit: https://your_centos_ip:30001. Log in using a token. How to view the token:
root@kitploit:~
#执行命令,获取所有密钥列表:
kubectl -n kube-system get secret
#执行命令,获取指定key的token:
kubectl -n kube-system describe secret kubernetes-dashboard-admin-token-* #{上条命令输出的结果中复制的类似kubernetes-dashboard-admin-token-skhfh的key字符串到这里替换}
#复制tokdn数据到登录框内登录即可登录

-----------------------------------------------------------------------

--- At this point, the single-node Kubernetes installation is complete. To add a new node, see below.

-----------------------------------------------------------------------

Node Joining Preparation

  1. Configure the CentOS network environment to connect to the internet for downloading installation files.
  2. Log in to CentOS 7 as root, and copy the node_kubeadm_join.sh file from this project to the /root/ directory.
  3. Modify file permissions for *.sh:
root@kitploit:~
chmod +777 /root/*.sh
  1. Execute the following command to replace the IP in *.sh with your CentOS 7 IP address.
root@kitploit:~
# 修改替换下面的your_master_centos_ip为你的master_centos的ip
sed -i "s/192.168.119.212/your_master_centos_ip/g" /root/*.sh
# 修改替换下面的your_node_centos_ip为你的node_centos的ip
sed -i "s/192.168.168.145/your_node_centos_ip/g" /root/*.sh
# 修改替换下面的your_node_centos_host为你的node_centos的host,格式如:node-192-168-168-145,用ip值,将.替换为-
sed -i "s/node-192-168-168-145/your_node_centos_host/g" /root/*.sh
# 修改替换下面的your_join_token为master的加入token
# 查看master加入token方法:在master节点执行:kubectl token list,获取未过期的token
# 在master新建token方法:在master节点执行:kubectl create token
sed -i "s/join_token/your_join_token/g" /root/*.sh

Node Joining Guide

  1. Run node-kubeadm-join.sh to add a new node.
root@kitploit:~
sh /root/node-kubeadm-join.sh
  1. After completion, open a browser and visit: https://your_master_centos_ip:30001 to check the node readiness status. Node preparation takes a while.
Download Tool