Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi cluster repos only example #3

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
4ef197f
update repo links
pacoxu Feb 25, 2022
06ad3bc
add OCM
pacoxu Feb 25, 2022
fccb20d
run ranks after adding OCM
pacoxu Feb 25, 2022
985fe06
add some multi cluster projects
pacoxu Feb 28, 2022
c32a1a4
Update README (GitHub Status)
pacoxu Feb 28, 2022
338143c
add descriptions of repo
pacoxu Feb 28, 2022
7000dba
fix multiline description
pacoxu Feb 28, 2022
2d0be26
fix npe
pacoxu Feb 28, 2022
04b067e
Update run.yml
pacoxu Feb 28, 2022
f248326
Update README (GitHub Status)
pacoxu Feb 28, 2022
8f5df20
Update projects.json
pacoxu Feb 28, 2022
b280ade
Update README (GitHub Status)
pacoxu Feb 28, 2022
d8b5b32
Update README (GitHub Status)
pacoxu Mar 9, 2022
68ee2a9
Update README (GitHub Status)
pacoxu Mar 11, 2022
12560dd
Update README.md
pacoxu Mar 11, 2022
c38c66f
add wzshiming/fake-kubelet
pacoxu Mar 14, 2022
0ee753e
Update README (GitHub Status)
pacoxu Mar 14, 2022
64cc3cf
Update projects.json
pacoxu Mar 14, 2022
9d19229
Update README (GitHub Status)
pacoxu Mar 14, 2022
05490fd
Update README (GitHub Status)
pacoxu Apr 7, 2022
4ae028a
Update run.yml
pacoxu Apr 14, 2022
f3fe0f2
docs: update readme.md
pacoxu Apr 14, 2022
97bcb08
docs: update readme.md
pacoxu Apr 20, 2022
ce7f380
docs: update readme.md
pacoxu May 26, 2022
15dba49
docs: update readme.md
pacoxu Jun 10, 2022
91a5db8
docs: update readme.md
pacoxu Aug 9, 2022
763d6f3
Update projects.json
pacoxu Aug 9, 2022
f993eed
docs: update readme.md
pacoxu Aug 9, 2022
0631a13
docs: update readme.md
pacoxu Aug 22, 2022
c8c3a95
docs: update readme.md
pacoxu Sep 21, 2022
781c411
docs: update readme.md
pacoxu Jan 9, 2023
868edc9
docs: update readme.md
pacoxu Jan 9, 2023
717fc25
docs: update readme.md
pacoxu Dec 22, 2023
f88ce0a
Update projects.json
pacoxu May 13, 2024
a474c29
docs: update readme.md
pacoxu May 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 6 additions & 12 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,11 @@ jobs:
TELEGRAM_CHAT_ID: ${{ secrets.TELE_CHAT_ID }}

- name: My GitHub Status
uses: pacoxu/github-repos-stats@main
uses: pacoxu/github-repos-stats@multi-clusters
- name: Push README
uses: github-actions-x/[email protected]
with:
github-token: ${{ secrets.G_T }}
# In this example, you can also use the ${{ secrets.GITHUB_TOKEN }} variable
# Permissions for the GITHUB_TOKEN : https://docs.github.com/en/free-pro-team@latest/actions/reference/authentication-in-a-workflow#permissions-for-the-github_token
run: |
git config --local user.email "${{ env.GITHUB_EMAIL }}"
git config --local user.name "${{ env.GITHUB_NAME }}"
git commit -a -m 'docs: update readme.md'
git push

# If you need more precise Token permission control , you can create a personal access token and set it as a secret in your repository .
commit-message: "Update README (GitHub Status)"
files: README.md
rebase: "true"
name: ${{ env.GITHUB_NAME }}
email: ${{ env.GITHUB_EMAIL }}
62 changes: 36 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,42 @@
# github-repos-stats
# Kubernetes Multi-Cluster related Projects

# watching repositories status
<!--START_SECTION:github_repos-->
## The CNCF repos
| ID | REPO | STARS | UPDATEDAT | CREATEDAT | FORKSCOUNT |
|----|-----------------------------------------------------------------|-------|------------|------------|------------|
| 1 | [kubesphere](https://github.com/kubesphere/kubesphere) | 8948 | 2022-02-24 | 2018-04-21 | 1349 |
| 2 | [Dragonfly](https://github.com/dragonflyoss/Dragonfly) | 5742 | 2022-02-21 | 2017-11-15 | 755 |
| 3 | [bfe](https://github.com/bfenetworks/bfe) | 5305 | 2022-02-24 | 2019-07-31 | 870 |
| 4 | [kubeedge](https://github.com/kubeedge/kubeedge) | 4737 | 2022-02-24 | 2018-09-28 | 1247 |
| 5 | [chaos-mesh](https://github.com/chaos-mesh/chaos-mesh) | 4534 | 2022-02-24 | 2019-09-04 | 565 |
| 6 | [kubevela](https://github.com/oam-dev/kubevela) | 3321 | 2022-02-24 | 2020-07-03 | 453 |
| 7 | [volcano](https://github.com/volcano-sh/volcano) | 2209 | 2022-02-24 | 2019-03-14 | 483 |
| 8 | [karmada](https://github.com/karmada-io/karmada) | 2026 | 2022-02-24 | 2020-11-10 | 354 |
| 9 | [kube-ovn](https://github.com/kubeovn/kube-ovn) | 1150 | 2022-02-24 | 2019-03-22 | 280 |
| 10 | [openyurt](https://github.com/openyurtio/openyurt) | 1123 | 2022-02-24 | 2020-05-21 | 258 |
| 11 | [openelb](https://github.com/openelb/openelb) | 926 | 2022-02-24 | 2019-02-01 | 126 |
| 12 | [clusternet](https://github.com/clusternet/clusternet) | 824 | 2022-02-24 | 2021-06-07 | 179 |
| 13 | [superedge](https://github.com/superedge/superedge) | 759 | 2022-02-24 | 2020-12-19 | 173 |
| 14 | [OpenFunction](https://github.com/OpenFunction/OpenFunction) | 394 | 2022-02-24 | 2020-12-17 | 52 |
| 15 | [fabedge](https://github.com/FabEdge/fabedge) | 335 | 2022-02-24 | 2021-07-16 | 38 |
| 16 | [piraeus](https://github.com/piraeusdatastore/piraeus) | 300 | 2022-02-19 | 2019-12-05 | 36 |
| 17 | [Dragonfly2](https://github.com/dragonflyoss/Dragonfly2) | 298 | 2022-02-24 | 2020-11-04 | 63 |
| 18 | [carina](https://github.com/carina-io/carina) | 256 | 2022-02-24 | 2021-08-18 | 27 |
| 19 | [merbridge](https://github.com/merbridge/merbridge) | 180 | 2022-02-24 | 2022-01-12 | 22 |
| 20 | [kubernetes-lts](https://github.com/klts-io/kubernetes-lts) | 138 | 2022-02-21 | 2021-07-16 | 18 |
| 21 | [clusterpedia](https://github.com/clusterpedia-io/clusterpedia) | 135 | 2022-02-24 | 2021-10-08 | 22 |
| 22 | [ferry](https://github.com/ferry-proxy/ferry) | 8 | 2022-02-18 | 2021-10-18 | 1 |
| ID | REPO | STARS | UPDATEDAT | CREATEDAT | FORKSCOUNT | DESCRIPTIONS |
|----|---------------------------------------------------------------------------------------------|-------|------------|------------|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1 | [istio](https://github.com/istio/istio) | 35058 | 2024-05-13 | 2016-11-18 | 7578 | Connect, secure, control, and observe services. |
| 2 | [cilium](https://github.com/cilium/cilium) | 18689 | 2024-05-13 | 2015-12-16 | 2713 | eBPF-based Networking, Security, and Observability |
| 3 | [kops](https://github.com/kubernetes/kops) | 15572 | 2024-05-12 | 2016-06-27 | 4605 | Kubernetes Operations (kOps) - Production Grade k8s Installation, Upgrades and Management |
| 4 | [kubespray](https://github.com/kubernetes-sigs/kubespray) | 15420 | 2024-05-11 | 2015-10-03 | 6310 | Deploy a Production Ready Kubernetes Cluster |
| 5 | [crossplane](https://github.com/crossplane/crossplane) | 8847 | 2024-05-13 | 2018-09-08 | 892 | The Cloud Native Control Plane |
| 6 | [kubevela](https://github.com/kubevela/kubevela) | 6130 | 2024-05-12 | 2020-07-03 | 855 | The Modern Application Platform. |
| 7 | [karmada](https://github.com/karmada-io/karmada) | 4133 | 2024-05-13 | 2020-11-10 | 810 | Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration |
| 8 | [wayne](https://github.com/Qihoo360/wayne) | 3702 | 2024-05-13 | 2018-11-13 | 835 | Kubernetes multi-cluster management and publishing platform |
| 9 | [cluster-api](https://github.com/kubernetes-sigs/cluster-api) | 3385 | 2024-05-13 | 2018-03-07 | 1260 | Home for Cluster API, a subproject of sig-cluster-lifecycle |
| 10 | [kubefed](https://github.com/kubernetes-retired/kubefed) | 2492 | 2024-05-11 | 2018-01-09 | 533 | Kubernetes Cluster Federation |
| 11 | [cloudpods](https://github.com/yunionio/cloudpods) | 2415 | 2024-05-13 | 2018-07-27 | 488 | A cloud-native open-source unified multi-cloud and hybrid-cloud platform. 开源、云原生的多云管理及混合云融合平台 |
| 12 | [choerodon](https://github.com/open-hand/choerodon) | 2375 | 2024-05-10 | 2018-01-10 | 369 | Open Source Multi-Cloud Integrated Platform |
| 13 | [submariner](https://github.com/submariner-io/submariner) | 2338 | 2024-05-10 | 2019-03-11 | 184 | Networking component for interconnecting Pods and Services across Kubernetes clusters. |
| 14 | [tke](https://github.com/tkestack/tke) | 1433 | 2024-05-13 | 2019-11-06 | 327 | Native Kubernetes container management platform supporting multi-tenant and multi-cluster |
| 15 | [clusternet](https://github.com/clusternet/clusternet) | 1307 | 2024-05-13 | 2021-06-07 | 197 | [CNCF Sandbox Project] Managing your Kubernetes clusters (including public, private, edge, etc.) as easily as visiting the Internet |
| 16 | [clusterpedia](https://github.com/clusterpedia-io/clusterpedia) | 761 | 2024-05-13 | 2021-10-08 | 123 | The Encyclopedia of Kubernetes clusters |
| 17 | [ocm](https://github.com/open-cluster-management-io/ocm) | 695 | 2024-05-13 | 2021-09-30 | 81 | Core components in the OCM project. Report here if you found any issues in OCM. |
| 18 | [skupper](https://github.com/skupperproject/skupper) | 551 | 2024-05-08 | 2020-04-06 | 71 | Skupper is an implementation of a Virtual Application Network, enabling rich hybrid cloud communication. |
| 19 | [flux2-multi-tenancy](https://github.com/fluxcd/flux2-multi-tenancy) | 478 | 2024-05-04 | 2020-11-27 | 236 | Manage multi-tenant clusters with Flux |
| 20 | [kubean](https://github.com/kubean-io/kubean) | 425 | 2024-05-13 | 2022-07-05 | 30 | :seedling: Product ready cluster lifecycle management toolchains based on kubespray and other cluster LCM engine. |
| 21 | [armada](https://github.com/armadaproject/armada) | 422 | 2024-05-13 | 2019-06-19 | 126 | A multi-cluster batch queuing system for high-throughput workloads on Kubernetes. |
| 22 | [k8s-multicluster-ingress](https://github.com/GoogleCloudPlatform/k8s-multicluster-ingress) | 377 | 2024-03-20 | 2017-10-19 | 67 | kubemci: Command line tool to configure L7 load balancers using multiple kubernetes clusters |
| 23 | [mcs-api](https://github.com/kubernetes-sigs/mcs-api) | 187 | 2024-04-24 | 2020-08-07 | 39 | This repository hosts the Multi-Cluster Service APIs. Providers can import packages in this repo to ensure their multi-cluster service controller implementations will be compatible with MCS data planes. |
| 24 | [Beetle](https://github.com/Clivern/Beetle) | 167 | 2024-04-25 | 2020-02-01 | 15 | 🔥 Kubernetes multi-cluster deployment automation service. |
| 25 | [ferry](https://github.com/ferryproxy/ferry) | 104 | 2023-12-20 | 2021-10-18 | 6 | Ferry is a Kubernetes multi-cluster communication component that eliminates communication differences between clusters as if they were in a single cluster, regardless of the network environment those clusters are in. |
| 26 | [tower](https://github.com/kubesphere/tower) | 91 | 2024-04-29 | 2020-02-18 | 32 | Proxy for multiple Kubernetes cluster communication |
| 27 | [work-api](https://github.com/kubernetes-sigs/work-api) | 50 | 2024-03-28 | 2021-02-01 | 19 | Kubernetes Work API |
| 28 | [dashboard](https://github.com/kore3lab/dashboard) | 38 | 2024-03-15 | 2020-04-21 | 12 | Kubernetes multi-clusters dashboard |
| 29 | [ctl](https://github.com/wish/ctl) | 30 | 2024-04-02 | 2019-07-16 | 6 | multi-cluster kubectl |
| 30 | [about-api](https://github.com/kubernetes-sigs/about-api) | 29 | 2023-12-26 | 2021-04-06 | 12 | A CRD for arbitrary properties about a cluster |
| 31 | [fake-k8s](https://github.com/wzshiming/fake-k8s) | 18 | 2024-05-13 | 2020-09-10 | 1 | [Moved to https://github.com/kubernetes-sigs/kwok] fake-k8s is a tool for running Fake Kubernetes clusters, It can be used as an alternative to Kind in some scenarios where you don’t need to actually run the Pod |
| 32 | [multicluster-dns](https://github.com/coredns/multicluster-dns) | 11 | 2022-04-30 | 2019-11-14 | 3 | An example of how to use the kubernetai plugin to do multicluster DNS-based service discovery |
| 33 | [cluster-reconciler](https://github.com/vllry/cluster-reconciler) | 5 | 2023-03-22 | 2020-04-14 | 4 | cluster-reconciler |



Expand Down
22 changes: 20 additions & 2 deletions github.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func makeMdTable(data [][]string, header []string) string {
table.SetHeader(header)
table.SetBorders(tablewriter.Border{Left: true, Top: false, Right: true, Bottom: false})
table.SetCenterSeparator("|")
table.SetColWidth(300)
table.AppendBulk(data)
table.Render()
return tableString.String()
Expand All @@ -121,10 +122,27 @@ func makeReposString(repos []*github.Repository) string {
reposData := [][]string{}
for i, repo := range repos {
repoWithLink := fmt.Sprintf("[%s](%s)", *repo.Name, *repo.HTMLURL)
reposData = append(reposData, []string{strconv.Itoa(i + 1), repoWithLink, strconv.Itoa(*repo.StargazersCount), (*repo.UpdatedAt).String()[:10], (*repo.CreatedAt).String()[:10], strconv.Itoa(*repo.ForksCount)})
var description string
if repo.Description == nil {
description = *repo.Name
} else {
description = *repo.Description
}
// *description = strings.Replace(*description, "\n", "<br>", -1)
reposData = append(
reposData,
[]string{
strconv.Itoa(i + 1),
repoWithLink, strconv.Itoa(*repo.StargazersCount),
(*repo.UpdatedAt).String()[:10],
(*repo.CreatedAt).String()[:10],
strconv.Itoa(*repo.ForksCount),
description,
},
)
}
// reposData = append(reposData, []string{"sum", "", "", "", "", strconv.Itoa(total)})
reposString := makeMdTable(reposData, []string{"ID", "Repo", "Stars", "UpdatedAt", "CreatedAt", "ForksCount"})
reposString := makeMdTable(reposData, []string{"ID", "Repo", "Stars", "UpdatedAt", "CreatedAt", "ForksCount", "Descriptions"})
return reposTitle + reposString + "\n"
}

Expand Down
Loading