{"id":37113234,"url":"https://github.com/kubesphere-sigs/ks","last_synced_at":"2026-01-14T13:22:03.092Z","repository":{"id":38849676,"uuid":"319049172","full_name":"kubesphere-sigs/ks","owner":"kubesphere-sigs","description":"ks is a tool that makes it be easy to work with KubeSphere.","archived":false,"fork":false,"pushed_at":"2025-02-06T06:10:05.000Z","size":483,"stargazers_count":22,"open_issues_count":44,"forks_count":17,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T07:23:23.569Z","etag":null,"topics":["hacktoberfest","krew","krew-plugin","kubectl","kubectl-command","kubectl-plugins","kubesphere"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kubesphere-sigs.png","metadata":{"files":{"readme":"README-zh.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}},"created_at":"2020-12-06T14:12:50.000Z","updated_at":"2025-02-06T06:10:10.000Z","dependencies_parsed_at":"2024-06-19T00:18:17.736Z","dependency_job_id":"09ef1c92-6999-4e94-abb9-9b988fc2ddf1","html_url":"https://github.com/kubesphere-sigs/ks","commit_stats":null,"previous_names":[],"tags_count":72,"template":false,"template_full_name":"LinuxSuRen/.github","purl":"pkg:github/kubesphere-sigs/ks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesphere-sigs%2Fks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesphere-sigs%2Fks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesphere-sigs%2Fks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesphere-sigs%2Fks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kubesphere-sigs","download_url":"https://codeload.github.com/kubesphere-sigs/ks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesphere-sigs%2Fks/sbom","scorecard":{"id":572739,"data":{"date":"2025-08-11","repo":{"name":"github.com/kubesphere-sigs/ks","commit":"9e53b37d8a5b802b6dc8e4810f9db855954aa42c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":3,"reason":"Found 5/15 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release-drafter.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yaml:10"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-drafter.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/kubesphere-sigs/ks/release-drafter.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/kubesphere-sigs/ks/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/kubesphere-sigs/ks/release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/kubesphere-sigs/ks/release.yaml/master?enable=pin","Warn: containerImage not pinned by hash: .gitpod.Dockerfile:1: pin your Docker image by updating gitpod/workspace-full to gitpod/workspace-full@sha256:b1195dfae7ee9a12a89d195247c3e1357cc6a18360a41473dbec67525ef434e2","Warn: containerImage not pinned by hash: build/Dockerfile:1: pin your Docker image by updating kubespheredev/kubectl:v1.17.0 to kubespheredev/kubectl:v1.17.0@sha256:801258d71300da4c7b477e3974de552a406b83732d0e4d5a862a03aeadcb5328","Warn: containerImage not pinned by hash: build/registry/Dockerfile:2","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   3 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.73 not signed: https://api.github.com/repos/kubesphere-sigs/ks/releases/200003329","Warn: release artifact v0.0.72 not signed: https://api.github.com/repos/kubesphere-sigs/ks/releases/199511503","Warn: release artifact v0.0.71 not signed: https://api.github.com/repos/kubesphere-sigs/ks/releases/120260125","Warn: release artifact v0.0.70 not signed: https://api.github.com/repos/kubesphere-sigs/ks/releases/85547719","Warn: release artifact v0.0.69 not signed: https://api.github.com/repos/kubesphere-sigs/ks/releases/85414088","Warn: release artifact v0.0.73 does not have provenance: https://api.github.com/repos/kubesphere-sigs/ks/releases/200003329","Warn: release artifact v0.0.72 does not have provenance: https://api.github.com/repos/kubesphere-sigs/ks/releases/199511503","Warn: release artifact v0.0.71 does not have provenance: https://api.github.com/repos/kubesphere-sigs/ks/releases/120260125","Warn: release artifact v0.0.70 does not have provenance: https://api.github.com/repos/kubesphere-sigs/ks/releases/85547719","Warn: release artifact v0.0.69 does not have provenance: https://api.github.com/repos/kubesphere-sigs/ks/releases/85414088"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"10 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646","Warn: Project is vulnerable to: GO-2024-2456 / GHSA-449p-3h89-pw88","Warn: Project is vulnerable to: GO-2024-2466 / GHSA-mw99-9chc-xw7r","Warn: Project is vulnerable to: GO-2025-3367 / GHSA-r9px-m959-cxf4","Warn: Project is vulnerable to: GO-2025-3368 / GHSA-v725-9546-7q7m","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T16:46:59.159Z","repository_id":38849676,"created_at":"2025-08-20T16:46:59.159Z","updated_at":"2025-08-20T16:46:59.159Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28421102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["hacktoberfest","krew","krew-plugin","kubectl","kubectl-command","kubectl-plugins","kubesphere"],"created_at":"2026-01-14T13:22:02.608Z","updated_at":"2026-01-14T13:22:03.081Z","avatar_url":"https://github.com/kubesphere-sigs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/kubesphere-sigs/ks)\n[![](https://goreportcard.com/badge/kubesphere-sigs/ks)](https://goreportcard.com/report/kubesphere-sigs/ks)\n[![](http://img.shields.io/badge/godoc-reference-5272B4.svg?style=flat-square)](https://godoc.org/github.com/kubesphere-sigs/ks)\n[![Contributors](https://img.shields.io/github/contributors/kubesphere-sigs/ks.svg)](https://github.com/kubesphere-sigs/ks/graphs/contributors)\n[![GitHub release](https://img.shields.io/github/release/kubesphere-sigs/ks.svg?label=release)](https://github.com/kubesphere-sigs/ks/releases/latest)\n![GitHub All Releases](https://img.shields.io/github/downloads/kubesphere-sigs/ks/total)\n\n# ks\n\n`ks` 是 [KubeSphere](https://github.com/kubesphere/kubesphere) 的命令行客户端，可以简化用户、开发者的日常操作。\n\n# Get started\n\n通过 brew 安装: `brew install linuxsuren/linuxsuren/ks`\n\n通过 [hd](https://github.com/linuxsuren/http-downloader) 安装: \n\n```\nbrew install linuxsuren/linuxsuren/hd\nhd install kubesphere-sigs/ks\n```\n\n# 特色功能\n\n以下的表述默认是以 [KubeSphere](https://github.com/kubesphere/kubesphere) 为上下文的：\n\n* 组件管理\n  * 启用、禁用组件\n  * 手动（或自动）更新指定组件\n  * 输出组件日志\n  * 编辑组件\n  * 查看组件的事件（也就是命令 kubectl describe 的包装）\n* 流水线管理\n  * 通过 java, go 等模板创建流水线\n  * 编辑流水线\n* 重置用户密码\n* 支持通过设置环境变量 `kubernetes_type=k3s` 操作 [k3s](https://github.com/k3s-io/k3s) \n* 安装 KubeSphere\n  * 通过 [ks-installer](https://github.com/kubesphere/ks-installer) 安装\n  * 通过 [k3d](https://github.com/rancher/k3d) 安装\n  * 通过 [kubekey](https://github.com/kubesphere/kubekey) 安装\n  * 通过 [kind](https://github.com/kubernetes-sigs/kind) 安装\n\n## 组件\n\n```\n➜  ~ kubectl ks com\nManage the components of KubeSphere\n\nUsage:\n  ks component [command]\n\nAliases:\n  component, com\n\nAvailable Commands:\n  edit        Edit the target component\n  enable      Enable or disable the specific KubeSphere component\n  exec        Execute a command in a container.\n  kill        Kill the pods of the components\n  log         Output the log of KubeSphere component\n  reset       Reset the component by name\n  watch       Update images of ks-apiserver, ks-controller-manager, ks-console\n```\n\n## 流水线\n\n```\n➜  ~ kubectl ks pip\nUsage:\n  ks pipeline [flags]\n  ks pipeline [command]\n\nAliases:\n  pipeline, pip\n\nAvailable Commands:\n  create      Create a Pipeline in the KubeSphere cluster\n  delete      Delete a specific Pipeline of KubeSphere DevOps\n  edit        Edit the target pipeline\n  view        Output the YAML format of a Pipeline\n\nFlags:\n  -h, --help   help for pipeline\n\nUse \"ks pipeline [command] --help\" for more information about a command.\n```\n\n## 安装\n\n```\nInstall KubeSphere with kind or kk\n\nUsage:\n  ks install [command]\n\nAvailable Commands:\n  kind        Install KubeSphere with kind\n  kk          Install KubeSphere with kubekey (aka kk)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubesphere-sigs%2Fks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkubesphere-sigs%2Fks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubesphere-sigs%2Fks/lists"}