This message was deleted.
# rke2
a
This message was deleted.
c
The config file is just CLI flags in yaml. Any flag is a valid key.
Server flags are listed here: https://docs.rke2.io/reference/server_config
kube-scheduler-image is what you'd be looking for
j
yes - i’ve been looking at that - i’ve launched the cluster through the Rancher UI/Web application (as we use that to manage multiple clusters) - and cannot determine where the kube-scheduler-image tag would go in the config
Is there a guide to creating scheduling plugins for RKE2? and how to deploy them?
b
You should not be swapping out the scheduler on RKE2. Honestly RKE2 is supposed to be prepackaged and opinionated k8s (everything just works and is tested out of the box) in a supportable format. If you want to modify core kubernetes components it might be best to use a distro like upstream kubeadm or even k8s from scratch.
c
There are a bunch of docs upstream about running alternative schedulers alongside the default one. You should do that instead of replacing the default.
https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/ Any pods you want scheduled by the custom scheduler can have
*schedulerName*: my-scheduler
in the pod spec