Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Minio | 41,957 | 20 | 129 | 11 hours ago | 377 | December 01, 2023 | 43 | agpl-3.0 | Go | |
High Performance Object Storage for AI | ||||||||||
Kong | 36,402 | 13 hours ago | 95 | apache-2.0 | Lua | |||||
🦍 The Cloud-Native API Gateway | ||||||||||
Lens | 21,810 | 29 | 6 days ago | 21 | May 26, 2023 | 1,000 | other | TypeScript | ||
Lens - The way the world runs Kubernetes | ||||||||||
Harbor | 21,312 | 24 | 21 hours ago | 256 | November 30, 2023 | 592 | apache-2.0 | Go | ||
An open source trusted cloud native registry project that stores, signs, and scans content. | ||||||||||
Jina | 19,403 | 16 | 15 hours ago | 2,453 | December 01, 2023 | 18 | apache-2.0 | Python | ||
☁️ Build multimodal AI applications with cloud-native stack | ||||||||||
Argo Workflows | 13,766 | 24 | 51 | 13 hours ago | 449 | November 27, 2023 | 968 | apache-2.0 | Go | |
Workflow Engine for Kubernetes | ||||||||||
Kubesphere | 13,743 | a day ago | 127 | April 23, 2021 | 415 | apache-2.0 | Go | |||
The container platform tailored for Kubernetes multi-cloud, datacenter, and edge management ⎈ 🖥 ☁️ | ||||||||||
Apisix | 12,998 | 13 hours ago | 491 | apache-2.0 | Lua | |||||
The Cloud-Native API Gateway | ||||||||||
Quarkus | 12,596 | 20 | 11 hours ago | 263 | November 22, 2023 | 2,472 | apache-2.0 | Java | ||
Quarkus: Supersonic Subatomic Java. | ||||||||||
Rook | 11,588 | 22 | 12 hours ago | 310 | December 01, 2023 | 155 | apache-2.0 | Go | ||
Storage Orchestration for Kubernetes |
How many of your dev/preview pods stay on during weekends? Or at night? It's a waste of resources! And money! But fear not, kube-green is here to the rescue.
kube-green is a simple k8s addon that automatically shuts down (some of) your resources when you don't need them.
If you already use kube-green, add you as an adopter!
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See how to install the project on a live system in our docs.
Make sure you have Go installed (download). Version 1.19 or higher is required.
To have kube-green running locally just clone this repository and install the dependencies running:
go get
There are different types of tests in this repository.
It is possible to run all the unit tests with
make test
To run integration tests:
make e2e-test
To deploy kube-green in live systems, follow the docs.
To run kube-green for development purpose, you can use ko to deploy
in a KinD cluster.
It is possible to start a KinD cluster running kind create cluster --name kube-green-development
.
To deploy kube-green using ko, run:
make local-run clusterName=kube-green-development
The use of this operator is very simple. Once installed on the cluster, configure the desired CRD to make it works.
See here the documentation about the configuration of the CRD.
Pods running during working hours with Europe/Rome timezone, suspend CronJobs and exclude a deployment named api-gateway
:
apiVersion: kube-green.com/v1alpha1
kind: SleepInfo
metadata:
name: working-hours
spec:
weekdays: "1-5"
sleepAt: "20:00"
wakeUpAt: "08:00"
timeZone: "Europe/Rome"
suspendCronJobs: true
excludeRef:
- apiVersion: "apps/v1"
kind: Deployment
name: api-gateway
Pods sleep every night without restore:
apiVersion: kube-green.com/v1alpha1
kind: SleepInfo
metadata:
name: working-hours-no-wakeup
spec:
sleepAt: "20:00"
timeZone: Europe/Rome
weekdays: "*"
To see other examples, go to our docs.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the release on this repository.
To upgrade the version:
make release version=v{{NEW_VERSION_TO_TAG}}
where {{NEW_VERSION_TO_TAG}}
should be replaced with the next version to upgrade. N.B.: version should include v
as first char.git push --tags origin v{{NEW_VERSION_TO_TAG}}
API reference is automatically generated with this tool. To generate it automatically, are added in api versioned folder a file doc.go
with the content of file groupversion_info.go
and a comment with +genclient
in the sleepinfo_types.go
file for the resource type.
This project is licensed under the MIT License - see the LICENSE file for details
Special thanks to JGiola for the tech review.
If you like or are using this project, please give it a star. Thanks!
Here the list of adopters of kube-green.
If you already use kube-green, add you as an adopter!