-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to apply this schedule extender to kind Kubernetes cluster #5
Comments
With The first step is to craft the static scheduler Pod yaml to replace the default one inside container apiVersion: v1
kind: Pod
metadata:
labels:
component: kube-scheduler
tier: control-plane
name: kube-scheduler
namespace: kube-system
spec:
containers:
- command:
- kube-scheduler
- --authentication-kubeconfig=/etc/kubernetes/scheduler.conf
- --authorization-kubeconfig=/etc/kubernetes/scheduler.conf
- --bind-address=127.0.0.1
- --config=/etc/kubernetes/sched-config-v1alpha1.yaml
# - --kubeconfig=/etc/kubernetes/scheduler.conf
# - --leader-elect=true
...... And then in Hope this helps. |
Thanks @Huang-Wei . So the procedure is
Let me know if i got it right ? Also i did not fully understand the yaml file above. do you have an example ? |
Nope. The yaml should replace the scheduler pod yaml inside
The original default scheduler pod yaml could be obtained also at that path. You can check it out. |
Hi,
I am running a Kubernetes cluster using kind. To apply the schedule extender policy.json i need to apply this to kube-scheduler . however i am getting a kube-scheduler: command not found
I am trying to use the same extender logic for kube-scheduler. How will "kind" be able to work with this scheduler and customize it ?
Any pointers?
The text was updated successfully, but these errors were encountered: