grycap / clues

CLUES: an energy management system for HPC Clusters and Cloud infrastructures.
http://www.grycap.upv.es/clues
GNU General Public License v3.0
24 stars 7 forks source link

Support for Kubernetes? #114

Open titansmc opened 2 years ago

titansmc commented 2 years ago

Bon dia gent !!! I have just stepped across this project when looking for something like this for our on prem k8s cluster. Is this supporting it? Apologize if this isn't the right place to ask. Cheers.

micafer commented 2 years ago

Bon dia, Yes, Kubernetes is one of the supported CLUES backends: cluesplugins/kubernetes.py Best regards.

titansmc commented 2 years ago

Hi, I cannot find any documentation about how it works with k8s clusters. I would like to understand how it can find that there is no load (although we have several daemonsets for metrics, logs....), also if it is able to reschedule load on different servers to be able to shutdown the less used.

micafer commented 2 years ago

Hi @titansmc, Sorry but we do not have too much documentation yet. Basically it checks that there is no pod (system pods are ommited) running in the node. It is not able to reschedule load on different servers but you can use the operations drain/cordon from kubectl.

sebastian-luna-valero commented 2 years ago

Hi,

What are the conditions to grow the k8s cluster?

We are experiencing an issue https://github.com/pangeo-data/pangeo-eosc/issues/22#issuecomment-1262623540 and would appreciate your feedback.

Thanks!