{"id":21686157,"url":"https://github.com/val-istar-guo/cluster-utils","last_synced_at":"2026-05-06T12:46:57.266Z","repository":{"id":134480125,"uuid":"425417153","full_name":"Val-istar-Guo/cluster-utils","owner":"Val-istar-Guo","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-03T09:45:49.000Z","size":61,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T15:06:04.903Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Val-istar-Guo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-07T05:03:38.000Z","updated_at":"2024-11-03T09:45:53.000Z","dependencies_parsed_at":"2024-07-19T16:39:16.514Z","dependency_job_id":"dc761c25-06ab-46d7-8b3a-5970986e27b7","html_url":"https://github.com/Val-istar-Guo/cluster-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Val-istar-Guo%2Fcluster-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Val-istar-Guo%2Fcluster-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Val-istar-Guo%2Fcluster-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Val-istar-Guo%2Fcluster-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Val-istar-Guo","download_url":"https://codeload.github.com/Val-istar-Guo/cluster-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244609452,"owners_count":20480782,"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":[],"created_at":"2024-11-25T16:28:04.863Z","updated_at":"2026-05-06T12:46:52.241Z","avatar_url":"https://github.com/Val-istar-Guo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 集群运维工具包 Debian 11.6\n\n## 准备\n\n- Linux 系统选择 Debian 11.6\n- 1 台阿里云服务器，最低配置 2 核 4G\n- 2 台阿里云服务器，最低配置 2 核 2G\n  - 如果安装 Prometheus 则至少在需要一台 2 核 4G\n\n## 运行\n\n### 安装 Kubernetes 环境\n\n```bash\n# 通过ghproxy代理安装\nbash -c \"$(curl -fsSL https://mirror.ghproxy.com/https://raw.githubusercontent.com/Val-istar-Guo/cluster-utils/master/install.sh)\" \u0026\u0026 source /etc/profile\n# 直接从github安装\nbash -c \"$(curl -fsSL https://raw.githubusercontent.com/Val-istar-Guo/cluster-utils/master/install.sh)\" \u0026\u0026 source /etc/profile\n```\n\n\u003e 当提示输入公网 IP 时，需要的 IP 地址是主机能与其他主机相互通信的 IP 地址，并非一定要公网 IP。\n\u003e 如果你使用 wireguard 创建了虚拟局域网，使用虚拟局域网的 IP 更好。\n\n### 启动 Kubernetes\n\ncluster 工具包提供如下功能初始化集群：\n\n```bash\n# 初始化Master\n./cluster.sh init\n\n# 在Master节点执行，获取worker join master的命令\n./cluster.sh token\n\n# 重置集群\n./cluster.sh reset\n\n# Debug: 查看集群启动日志\n./cluster.sh debug\n```\n\n### 安装应用\n\ndeploy 工具包提供如下功能：\n\n```bash\n./deploy.sh install \u003cistio|cert-manager|kube-flannel|kubeapps|openebs|prometheus\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fval-istar-guo%2Fcluster-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fval-istar-guo%2Fcluster-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fval-istar-guo%2Fcluster-utils/lists"}