All Projects → AxaGuilDEv → dailyclean

AxaGuilDEv / dailyclean

Licence: MIT license
Save The planet by auto turn off your pods on kubernetes

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
HTML
75241 projects
SCSS
7915 projects

DailyClean

workflow Code Smells Docker API Docker JOB

DailyClean

About

Daily clean is all you to turn on or off automatically or manually all your pods your kubernetes namespace. Save the planet with DailyClean. Daily clean only use kubernetes native API.

DailyClean Automation

Getting Started

To test dailyclean on your local machine by using kubernetes with Docker Desktop, please use these commands:

git clone https://github.com/AxaGuilDEv/dailyclean.git
cd dailyclean/demo
kubectl create namespace license-preproduction
kubectl config set-context --current --namespace=license-preproduction
# Create a custom service account
kubectl apply -f dailyclean-serviceaccount.yml
# Install dailyclean for the dailyclean service account
kubectl apply -f deployment-dailyclean.yml
# Install three instances of kubernetes-bootcamp
kubectl apply -f deployment-others.yml

Now, open your favorite browser and enter the url of dailyclean-api service : http://localhost:30001

Enjoy dailyclean !!!!

How Does It Work

  • Daily clean use native kubernetes API, it works with any kubernetes projects. DailyClean is a pod that have to be install in your namespace. It create cron job that start or stop your pods.
  • API is in native GraalVM so it is lightweight.
  • User interface is in React/Javascript.

Contribute

Authors

The awesome team :

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].