kubernetes-sigs / kube-scheduler-simulator

The simulator for the Kubernetes scheduler
Apache License 2.0
795 stars 135 forks source link

Is it possible to use a different programming language for the external scheduler ? #337

Closed annis-souames closed 5 months ago

annis-souames commented 8 months ago

Hello,

First, thank you very much for this project, it helped me brin my research idea into a reality.

I was wondering if it's possible to have a scheduler using different programming languages such as Python or JS ? I'm looking to implement ML based scheduler and using Python would help a lot.

What would be the approach to run an external scheduler built-in Python (or other) instead of Go ?

Thanks

sanposhiho commented 8 months ago

I was wondering if it's possible to have a scheduler using different programming languages such as Python or JS ? I'm looking to implement ML based scheduler and using Python would help a lot.

Unfortunately, other languages are not supported as the scheduling framework itself is only implemented in Go. But, if you just want to simulate how your scheduler schedules Pods, you can just use Kwok with --disable-kube-scheduler flag.

k8s-triage-robot commented 5 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

sanposhiho commented 5 months ago

/close

k8s-ci-robot commented 5 months ago

@sanposhiho: Closing this issue.

In response to [this](https://github.com/kubernetes-sigs/kube-scheduler-simulator/issues/337#issuecomment-2164685691): >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.