{"id":37668102,"url":"https://github.com/flytrap/k8s-tool","last_synced_at":"2026-01-16T12:00:50.084Z","repository":{"id":249765113,"uuid":"832478613","full_name":"flytrap/k8s-tool","owner":"flytrap","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-04T02:25:09.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-04T04:22:07.062Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/flytrap.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":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-23T05:37:00.000Z","updated_at":"2025-11-04T02:25:13.000Z","dependencies_parsed_at":"2025-07-17T12:43:38.507Z","dependency_job_id":"3c14d181-35de-4f41-8389-e173b3be7c6f","html_url":"https://github.com/flytrap/k8s-tool","commit_stats":null,"previous_names":["flytrap/k8s-tool"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/flytrap/k8s-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flytrap%2Fk8s-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flytrap%2Fk8s-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flytrap%2Fk8s-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flytrap%2Fk8s-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flytrap","download_url":"https://codeload.github.com/flytrap/k8s-tool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flytrap%2Fk8s-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-16T12:00:32.119Z","updated_at":"2026-01-16T12:00:50.018Z","avatar_url":"https://github.com/flytrap.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# K8s tool\n\nk8s install from kubeadm\n\n## usage\n\nunzip resource.zip to resource directory\nexample: ubuntu 22.04 64bit offline resource\n\n```bash\nunzip resource.zip\n```\n\ninstall\n\n```bash\nk8s-tools help\nk8s-tools install\nk8s-tools install --config config.yaml  # default config file path\nk8s-tools install --config config.yaml --steps  # print install steps\nk8s-tools install --config config.yaml --step 3,4  # only execute 3,4 steps, refer to above print (1 must be executed, other operations must be executed first)\n```\n\n## deploy\n\n```bash\nCGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/k8s-tool-linux .\nCGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o build/k8s-tool-darwin .\nCGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o build/k8s-tool.exe .\n```\n\n## config file\n\n```yaml\n# config file\n# config path: config/config.yaml\nnamespace: default\nregistry: registry.cn-hangzhou.aliyuncs.com\n\nntp:\n  server: 192.168.1.101\n  allow: 192.168.1.101/16\n  timezone: Asia/Shanghai\n\nvip: 192.168.56.151\n\nnodes:\n  - address: 192.168.56.101\n    hostname: master1\n    role: [etcd, controlplane, worker]\n    port: 22\n    username: ZGVwbG95\n    password: ZGVwbG95\n    keyPath:\n  # - address: 192.168.56.102\n  #   hostname: master2\n  #   role: [etcd, controlplane, worker]\n  #   port: 22\n  #   username: ZGVwbG95\n  #   password: ZGVwbG95\n\nnfs:\n  server: 192.168.57.101\n  path: /data/nfs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflytrap%2Fk8s-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflytrap%2Fk8s-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflytrap%2Fk8s-tool/lists"}