{"id":20601226,"url":"https://github.com/cloudnativer/kube-install","last_synced_at":"2025-04-05T11:09:41.245Z","repository":{"id":43100389,"uuid":"247878504","full_name":"cloudnativer/kube-install","owner":"cloudnativer","description":"一键安装k8s(kubernetes)：二進位離線方式部署，支持定時安裝、添加與銷毀node、銷毀與修復master、一鍵卸載集羣等。Install k8s (kubernetes): one click offline installation of highly available multiple kubernetes cluster, supports schedule installation, addition of nodes, rebuild of kubernetes master, and uninstallation of clusters.","archived":false,"fork":false,"pushed_at":"2024-04-03T10:39:01.000Z","size":127255,"stargazers_count":362,"open_issues_count":24,"forks_count":103,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-03-29T10:07:15.953Z","etag":null,"topics":["highly-available-clusters","install-kubernetes","k8s-install","kubernetes-cluster","offline-installer","ops-tool"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudnativer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"docs/roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-17T04:23:35.000Z","updated_at":"2025-03-21T02:21:55.000Z","dependencies_parsed_at":"2024-04-03T04:30:33.479Z","dependency_job_id":"89e49d5b-72ff-4c8a-b237-feded5a374a7","html_url":"https://github.com/cloudnativer/kube-install","commit_stats":{"total_commits":187,"total_committers":3,"mean_commits":"62.333333333333336","dds":"0.33689839572192515","last_synced_commit":"f48848563721b7a0adf26b9a4eaa75c64271a0cd"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnativer%2Fkube-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnativer%2Fkube-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnativer%2Fkube-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnativer%2Fkube-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudnativer","download_url":"https://codeload.github.com/cloudnativer/kube-install/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247325693,"owners_count":20920714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["highly-available-clusters","install-kubernetes","k8s-install","kubernetes-cluster","offline-installer","ops-tool"],"created_at":"2024-11-16T09:09:04.595Z","updated_at":"2025-04-05T11:09:41.228Z","avatar_url":"https://github.com/cloudnativer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"The highly available multiple kubernetes cluster can be installed offline with one click in binary mode, as well as schedule installation, addition of kubernetes node, deletion of kubernetes node, destruction of kubernetes master, rebuild of kubernetes master, and uninstallation of cluster.\n\u003cbr\u003e\n(There is no need to install any software on the target host. You can deploy the highly available kubernetes cluster offline only by using an empty host!)\n\u003cbr\u003e\n\n![kube-install](docs/images/kube-install-logo.jpg)\n\n\u003cbr\u003e\n\nSwitch Languages: \u003ca href=\"README0.9.md\"\u003eEnglish Documents\u003c/a\u003e | \u003ca href=\"README0.9-zh-hk.md\"\u003e繁体中文文档\u003c/a\u003e | \u003ca href=\"README0.9-zh.md\"\u003e简体中文文档\u003c/a\u003e | \u003ca href=\"README0.9-jp.md\"\u003e日本語の文書\u003c/a\u003e\n\n\u003cbr\u003e\n\n# [1] Compatibility\n\n\u003cbr\u003e\nCompatibility matrix:\n\n\u003ctable\u003e\n\u003ctr\u003e\u003ctd\u003e\u003cb\u003ekube-install Version\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eSupported Kubernetes Version\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eSupported OS Version\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDocumentation\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e kube-install v0.9.* \u003c/td\u003e\u003ctd\u003e kubernetes v1.28, v1.27, v1.26, v1.25, v1.24 \u003c/td\u003e\u003ctd\u003e CentOS 7 , RHEL 7 , CentOS 8 , RHEL 8 , SUSE Linux 15 , Ubuntu Server 20 \u003c/td\u003e\u003ctd\u003e\u003ca href=\"README0.9.md\"\u003eDocumentation\u003c/a\u003e, \u003cbr\u003e\u003ca href=\"docs/component0.9.md\"\u003eComponent List\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e kube-install v0.8.* \u003c/td\u003e\u003ctd\u003e kubernetes v1.24, v1.23, v1.22, v1.20, v1.19, v1.18 \u003c/td\u003e\u003ctd\u003e CentOS 7 , RHEL 7 , CentOS 8 , RHEL 8 , SUSE Linux 15 , Ubuntu Server 20 \u003c/td\u003e\u003ctd\u003e\u003ca href=\"README0.8.md\"\u003eView details\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e kube-install v0.7.* \u003c/td\u003e\u003ctd\u003e kubernetes v1.23, v1.22, v1.20, v1.19, v1.18, v1.17 \u003c/td\u003e\u003ctd\u003e CentOS 7 , RHEL 7 , CentOS 8 , RHEL 8 , SUSE Linux 15 , Ubuntu Server 20 \u003c/td\u003e\u003ctd\u003e\u003ca href=\"README0.7.md\"\u003eView details\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e kube-install v0.6.* \u003c/td\u003e\u003ctd\u003e kubernetes v1.22, v1.21, v1.20, v1.19, v1.18, v1.17, v1.16, v1.15, v1.14 \u003c/td\u003e\u003ctd\u003e CentOS 7 , RHEL 7 , CentOS 8 , RHEL 8 , SUSE Linux 15 \u003c/td\u003e\u003ctd\u003e\u003ca href=\"README0.6.md\"\u003eView details\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e kube-install v0.5.* \u003c/td\u003e\u003ctd\u003e kubernetes v1.21, v1.20, v1.19, v1.18, v1.17, v1.16, v1.15, v1.14 \u003c/td\u003e\u003ctd\u003e CentOS 7 , RHEL 7 \u003c/td\u003e\u003ctd\u003e\u003ca href=\"README0.5.md\"\u003eView details\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e kube-install v0.4.* \u003c/td\u003e\u003ctd\u003e kubernetes v1.21, v1.20, v1.19, v1.18, v1.17, v1.16, v1.15, v1.14 \u003c/td\u003e\u003ctd\u003e CentOS 7 , RHEL 7 \u003c/td\u003e\u003ctd\u003e\u003ca href=\"README0.4.md\"\u003eView details\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e kube-install v0.3.* \u003c/td\u003e\u003ctd\u003e kubernetes v1.18, v1.17, v1.16, v1.15, v1.14 \u003c/td\u003e\u003ctd\u003eCentOS 7\u003c/td\u003e\u003ctd\u003e\u003ca href=\"README0.3.md\"\u003eView details\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e kube-install v0.2.* \u003c/td\u003e\u003ctd\u003e kubernetes v1.14 \u003c/td\u003e\u003ctd\u003e CentOS 7 \u003c/td\u003e\u003ctd\u003e\u003ca href=\"README0.2.md\"\u003eView details\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e kube-install v0.1.* \u003c/td\u003e\u003ctd\u003e kubernetes v1.14 \u003c/td\u003e\u003ctd\u003e CentOS 7 \u003c/td\u003e\u003ctd\u003e\u003ca href=\"README0.1.md\"\u003eView details\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n\n\n\n\u003cbr\u003e\nNotice: kube-install supports CentOS 7, CentOS 8, SUSE 15, RHEL 7 and RHEL 8 operating system environments. For a list of supported operating system distributions, please refer to \u003ca href=\"docs/os-support.md\"\u003eOS support list\u003c/a\u003e.\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n# [2] Download kube-install package\n\n\u003cbr\u003e\n\nYou can download the `kube-install-*.tgz` package from https://github.com/cloudnativer/kube-install/releases. \u003cbr\u003e\n\nFor example, we have downloaded the `kube-install-allinone-v0.9.0-beta.tgz` package.\u003cbr\u003e\n\n```\n# cd /root/\n# curl -O https://github.com/cloudnativer/kube-install/releases/download/v0.9.0-beta/kube-install-allinone-v0.9.0-beta.tgz\n# tar -zxvf kube-install-allinone-v0.9.0-beta.tgz\n# cd /root/kube-install/\n```\n\nNotice: If your network quality is poor and the download package is slow, you can use the download tool that supports breakpoint continuation to download.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n# [3] Install kubernetes cluster by web platform\n\n\u003cbr\u003e\n\nIf you have four servers,kubernetes master software is installed on the three servers (192.168.1.11, 192.168.1.12, 192.168.1.13), and kubernetes node software is installed on the four servers (192.168.1.11, 192.168.1.12, 192.168.1.13, 192.168.1.14). The operating system of the server is pure CentOS Linux or RHEL(Red Hat Enterprise Linux). It's like this:\n\u003ctable\u003e\n\u003ctr\u003e\u003ctd\u003e\u003cb\u003eIP Address\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eRole\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eOS Version\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eRoot Password\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e192.168.1.11\u003c/td\u003e\u003ctd\u003ek8s-master,k8s-node,kube-install\u003c/td\u003e\u003ctd\u003eCentOS Linux release 7 or Red Hat Enterprise Linux(RHEL) 7\u003c/td\u003e\u003ctd\u003ecloudnativer\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e192.168.1.12\u003c/td\u003e\u003ctd\u003ek8s-master,k8s-node\u003c/td\u003e\u003ctd\u003eCentOS Linux release 7 or Red Hat Enterprise Linux(RHEL) 7\u003c/td\u003e\u003ctd\u003ecloudnativer\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e192.168.1.13\u003c/td\u003e\u003ctd\u003ek8s-master,k8s-node\u003c/td\u003e\u003ctd\u003eCentOS Linux release 7 or Red Hat Enterprise Linux(RHEL) 7\u003c/td\u003e\u003ctd\u003ecloudnativer\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e192.168.1.14\u003c/td\u003e\u003ctd\u003ek8s-node\u003c/td\u003e\u003ctd\u003eCentOS Linux release 7 or Red Hat Enterprise Linux(RHEL) 7\u003c/td\u003e\u003ctd\u003ecloudnativer\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\nYou expect the architecture after installation to be as follows:\n\n![kube-install-arch](docs/images/kube-install-arch-1.jpg)\n\n\u003cbr\u003e\nNotice: We use 192.168.1.11 as the kube-install host. In fact, you can use any host as kube-install host or any host outside the kubernetes cluster!\n\u003cbr\u003e\n\n## 3.1 Initialize system environment\n\n\u003cbr\u003e\nPlease operate in the root user environment. Perform the system environment initialization operation on the kube-install host selected above: \u003cbr\u003e\n\n```\n# cd /root/kube-install/\n# ./kube-install -init -ostype \"centos7\"\n```\n\nNotice: Please make sure that the `-ostype` flag you entered is correct, only support `rhel7`, `rhel8`, `centos7`, `centos8`, `ubuntu20`, `suse15` these ty\npes of \"ostype\".\u003cbr\u003e\n\n\u003cbr\u003e\n\n## 3.2 Run kube-install web service\n\nFirst run the web management service with the `systemctl start kube-install` command, and then open `http://your_kube-install_host_IP:9080` with a web browser.\n\u003cbr\u003e\nLogin with the user name `admin` and the default password `CloudNativeR`. You can change the password later through the web platform.\n\n```\n# systemctl start kube-install.service\n#\n# systemctl status kube-install.service\n  ● kube-install.service - kube-install One click fast installation of highly available kubernetes cluster.\n     Loaded: loaded (/etc/systemd/system/kube-install.service; disabled; vendor preset: disabled)\n     Active: active (running) since Fri 2021-08-20 14:30:55 CST; 21min ago\n       Docs: https://cloudnativer.github.io/\n   Main PID: 2768 (kube-install)\n     CGroup: /system.slice/kube-install.service\n             └─2768 /go/src/kube-install/kube-install -daemon\n   ...\n\n```\n\nNotice: Kube-install web service listens to `TCP 9080` by default. If you want to modify the listening address, you can set it by modifying the `kube-install -daemon -listen ip:port` parameter in the `/etc/systemd/system/kube-install.service` file, \u003ca href=\"docs/systemd0.7.md\"\u003eclick here to view more details\u003c/a\u003e ! \u003cbr\u003e\n\n## 3.3 Use the web platform to quick install \n\nSecond, Click the `Install Kubernetes` button in the upper right corner to start the installation operation.\n\n![kube-dashboard](docs/images/webinstall001.jpg)\n\nNotice: Before starting the installation, please open the SSH password free channel from localhost to the target host.You can use the `kube-install -exec sshcontrol` command to SSH through, or click the `Open SSH Channel of Host` button in the upper right corner to SSH through. Here is the process of SSH connection, \u003ca href=\"docs/webssh0.8.md\"\u003eclick here to view more details\u003c/a\u003e !\u003cbr\u003e\n\n\u003cbr\u003e\n\nFill in relevant installation parameters in the pop-up form:\u003cbr\u003e\n\n![kube-dashboard](docs/images/webinstall003.png)\n\nexplain:\n\n* Please select the version of kubernetes you need to install. At present, kube-install supports the installation and deployment of kubernetes v1.24 to 1.28. Other versions of kubernetes have not been verified yet.\n* Please select the CNI plug-ins you need to install. At present, kube-install supports CNI plug-ins such as `flannel`, `calico`, `kube-router`, `weave` and `cilium`. If you need to install `cilium`, please upgrade the Linux kernel to version 4.9 or above.\n* Please select your operating system environment. Since the lower versions of `CentOS 7` and `RHEL 7` may lack kernel modules, kube-install provides the function of automatically upgrading the operating system kernels of `CentOS 7` and `RHEL 7` to 4.19. You can choose to use this function or manually optimize the operating system kernel yourself.\n\n\u003cbr\u003e\n\nNotice: The default is to start the installation immediately. You can also set an installation time for scheduled installation.\n\n![kube-dashboard](docs/images/webinstall002.jpg)\n\nFor the installation process using the web platform, \u003ca href=\"docs/webinstall0.7.md\"\u003eclick here to view more details\u003c/a\u003e !\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n# [4]  Install kubernetes cluster by command line\n\n\u003cbr\u003e\nYou can also install the Kubernetes cluster by command line. \n\u003cbr\u003e\n\n## 4.1 Initialize system environment\n\n\u003cbr\u003e\nPlease operate in the root user environment. Perform the system environment initialization operation on the kube-install host selected above: \u003cbr\u003e\n\n```\n# cd /root/kube-install/\n# ./kube-install -init -ostype \"centos7\"\n```\n\nNotice: Please make sure that the `-ostype` flag you entered is correct, only support `rhel7`, `rhel8`, `centos7`, `centos8`, `ubuntu20`, `suse15` these types of \"ostype\".\u003cbr\u003e\n\n\u003cbr\u003e\n\n## 4.2 Open the SSH password free channel\n\n\u003cbr\u003e\nBefore installation, please open the SSH password free channel from localhost to the target host.\n\nYou can open the SSH password free channel by manually, or using the `kube-install -exec sshcontrol` command.\u003cbr\u003e\n\n```\n# cd /root/kube-install/\n# ./kube-install -exec sshcontrol -sship \"192.168.1.11,192.168.1.12,192.168.1.13,192.168.1.14\" -sshpass \"cloudnativer\"\n```\n\nOr click the `Open SSH Channel of Host` button in the web platform to SSH through. Here is the process of SSH connection, \u003ca href=\"docs/webssh0.8.md\"\u003eclick here to view more details\u003c/a\u003e !\u003cbr\u003e\n\n\u003cbr\u003e\n\n## 4.3 One click Install kubernetes cluster\n\n\u003cbr\u003e\nPlease operate in the root user environment. Execute on the kube-install host selected above:\u003cbr\u003e\n\n```\n# cd /root/kube-install/\n# ./kube-install -exec install -master \"192.168.1.11,192.168.1.12,192.168.1.13\" -node \"192.168.1.11,192.168.1.12,192.168.1.13,192.168.1.14\" -k8sver \"1.28\" -ostype \"centos7\" -label \"192168001011\"\n```\n\nNotice: \n* Please make sure that the `-ostype` flag you entered is correct, only support `rhel7`, `rhel8`, `centos7`, `centos8`, `ubuntu20`, `suse15` these types of \"ostype\". Since the lower versions of CentOS 7 and RedHat 7 may lack kernel modules, 'Kube install' provides the function of automatically upgrading the operating system kernels of CentOS 7 and rhel7 to 4.19. You can choose to use this function by `-upgradekernel` or manually optimize the operating system kernel yourself.\n* Please select the CNI plug-ins you need to install. At present, 'kube-install' supports CNI plug-ins such as `Flannel`, `Calico`, `Kube-router`, `weave` and `Cilium`. If you need to install \"cilium\", please upgrade the Linux kernel to version 4.9 or above.\n\n\u003cbr\u003e\n\nIn addition, if you need to specify the directory path to the Kubernetes cluster installation, you can set it using the `-softdir` parameter.\n\n\u003cbr\u003e\n\n\n## 4.4 Login kubernetes dashboard UI\n\n\u003cbr\u003e\nExecute the following command on the kube-install you selected to view the kube-dashboard console URL and key:\u003cbr\u003e\n\n```\n# cat /opt/kube-install/loginkey.txt\n```\n\n\n![loginkey](docs/images/loginkey2.jpg)\n\nLogin to the kube-dashboard console UI using the URL and key in the `/opt/kube-install/loginkey.txt` document.Here are the relevant screenshots:\n\n![kube-dashboard](docs/images/kube-dashboard3.jpg)\n\n\n![kube-dashboard](docs/images/kube-dashboard4.jpg)\n\n\u003cbr\u003e\n\n\u003cbr\u003e\n\n# [5] Add Node, Delete Node, Rebuild Master, and Uninstall\n\n\u003cbr\u003e\n\nKube-install can not only quickly install the highly available kubernetes cluster, but also add k8s-node, delete k8s-node, delete k8s-master and rebuild k8s-master.\u003cbr\u003e\n\nSuppose you expect to install two servers (192.168.1.15 and 192.168.1.16) as k8s-nodes and join the kubernetets cluster in Chapter [2].\n\n\u003ctable\u003e\n\u003ctr\u003e\u003ctd\u003e\u003cb\u003eIP Address\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eRole\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eOS Version\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eRoot Password\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e192.168.1.11\u003c/td\u003e\u003ctd\u003ek8s-master,k8s-node,kube-install\u003c/td\u003e\u003ctd\u003eCentOS Linux release 7 or Red Hat Enterprise Linux(RHEL) 7\u003c/td\u003e\u003ctd\u003ecloudnativer\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e192.168.1.12\u003c/td\u003e\u003ctd\u003ek8s-master,k8s-node\u003c/td\u003e\u003ctd\u003eCentOS Linux release 7 or Red Hat Enterprise Linux(RHEL) 7\u003c/td\u003e\u003ctd\u003ecloudnativer\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e192.168.1.13\u003c/td\u003e\u003ctd\u003ek8s-master,k8s-node\u003c/td\u003e\u003ctd\u003eCentOS Linux release 7 or Red Hat Enterprise Linux(RHEL) 7\u003c/td\u003e\u003ctd\u003ecloudnativer\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e192.168.1.14\u003c/td\u003e\u003ctd\u003ek8s-node\u003c/td\u003e\u003ctd\u003eCentOS Linux release 7 or Red Hat Enterprise Linux(RHEL) 7\u003c/td\u003e\u003ctd\u003ecloudnativer\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003cb\u003e192.168.1.15\u003c/b\u003e\u003c/td\u003e\u003ctd\u003ek8s-node\u003c/td\u003e\u003ctd\u003eCentOS Linux release 7 or Red Hat Enterprise Linux(RHEL) 7\u003c/td\u003e\u003ctd\u003ecloudnativer\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003cb\u003e192.168.1.16\u003c/b\u003e\u003c/td\u003e\u003ctd\u003ek8s-node\u003c/td\u003e\u003ctd\u003eCentOS Linux release 7 or Red Hat Enterprise Linux(RHEL) 7\u003c/td\u003e\u003ctd\u003ecloudnativer\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n\nExecute the following command on kube-install host:\u003cbr\u003e\n\n```\n# kube-install -exec addnode -node \"192.168.1.15,192.168.1.16\" -k8sver \"1.28\" -ostype \"centos7\" -label \"192168001011\"\n```\n\nNotice: Please make sure that the `-ostype` flag you entered is correct, only support `rhel7`, `rhel8`, `centos7`, `centos8`, `ubuntu20`, `suse15` these types of \"ostype\".\u003cbr\u003e\nIn addition, if you need to specify the directory path to add Kubernetes node, you can set it using the `-softdir` parameter.\n\n\u003cbr\u003e\n\nThe architecture after installation is shown in the following figure:\n\n![kube-install-arch](docs/images/kube-install-arch-2.jpg)\n\nYou can also add Kubernetes node using the kube-install web platform. For the installation process using the web platform, click \"Add Node\" to fill in the form to complete the expansion of Kubernetes node. \u003ca href=\"docs/webinstall0.7.md\"\u003eclick here to view more details\u003c/a\u003e ! \u003cbr\u003e\n\n![kube-dashboard](docs/images/webnodeadd001.jpg)\n\nYou can click \"Enable Terminal\" and \"Web Terminal\" to use the Web terminal to manage the Kubernetes node server.\u003cbr\u003e\n\nNotice: you can \u003ca href=\"docs/operation0.7.md\"\u003eclick here to view more operation documents\u003c/a\u003e about add k8s-node, delete k8s-node, delete k8s-master, rebuild k8s-master, and uninstall cluster.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n# [6] Command line help documentation\n\n\u003cbr\u003e\n\nYou can execute `kube-install -help` command to view the command line help document of kube-install, or \u003ca href=\"docs/parameters0.8.md\"\u003eclick here to view more command line help documents\u003c/a\u003e.\u003cbr\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n# [7] kube-install cluster architecture\n\n\u003cbr\u003e\n\nThe `./data/` directory is used to store all status information of `kube-install`, including configuration information of all kubernetes clusters. You can share the `./data/` directory through file storage, so as to realize active and standby or load balancing cluster. you can \u003ca href=\"docs/architecture0.8.md\"\u003eclick here to view more description documents\u003c/a\u003e about `Active/standby` and `Load balancing` cluster architecture.\n\n![architecture](docs/images/architecture1.jpg)\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n# [8] How to build it\n\n\u003cbr\u003e\n\nThe build can be completed automatically by executing the `make` command. You can also \u003ca href=\"docs/build.md\"\u003esee more detailed build instructions here\u003c/a\u003e.\u003cbr\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n# [9] How to Contribute\n\nIf you have problems in use, \u003ca href=\"https://github.com/cloudnativer/kube-install/issues\"\u003eyou can click here submit issues to us\u003c/a\u003e, or fork it and submit PR.\n\u003cbr\u003e\n\n```\n# git clone your-fork-code\n# git checkout -b your-new-branch\n# git commit -am \"Fix bug or add some feature\"\n# git push origin your-new-branch\n```\n\u003cbr\u003e\nWelcome to submit issues or PR to us.\n\u003cbr\u003e\nThank you to every contributor!\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudnativer%2Fkube-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudnativer%2Fkube-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudnativer%2Fkube-install/lists"}