-
Notifications
You must be signed in to change notification settings - Fork 140
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 custom plugins in the simulator #383
Comments
cc @YamasouA |
Actually, we're in the transition phase to a new way of inserting a custom plugin. You may want to try out a new simulator/docs/debuggable-scheduler.md ("Integrate your plugins to the simulator" section) in this PR: #382 |
Hi,Thanks a lot for your response! I went through the issue you pointed out and have a couple of questions if you don’t mind. I noticed that you’ve updated a lot of source code across different files, but it looks like those changes aren’t reflected in the main project files yet. Do you have an estimate on when those updates might be pushed? Also, if I want to try the approach in simulator/docs/debuggable-scheduler.md, would it be best to wait until those updates are live, or should I go ahead and manually apply the changes you made across the project before testing? Thanks again for any extra details you can share! I really appreciate the help. |
Hi sanposhiho, Sorry to bother you again, and thanks so much for your help so far! I followed your new tutorial and tried to implement the custom scheduler. If I understood correctly, I replaced the contents of kubeconfig.yaml, scheduler.go, and scheduler.yaml with the example files you provided. From what I gathered, that should be enough to get the custom scheduler working. However, I ran into some errors when running it. I've attached the modified files and the error screenshots below. If you don’t mind, could you take a look and let me know what I might have missed? I’d really appreciate it! |
I didn’t add any new files, but I don’t know why simply modifying some parts of the code causes an error saying that the kubeconfig.yaml file could not be found. Could it be that some configurations need to be adjusted, and the corresponding file needs to be mounted? Could you please help me resolve this issue? |
I rechecked on my side but the doc perfectly worked for me. I suspect that you did something that wan't on the doc, which caused the issue. |
Why did you need to change kubeconfig and scheduler config? |
Thank you for your response. I modified the configuration file because I noticed that the file names in the /debuggable-scheduler/ directory were identical to those in the simulator/cmd/scheduler/ directory in your example. I thought I needed to replace everything inside.
|
It's unclear what is the problem. |
Hello, I'm currently learning how to use Kubernetes scheduling, and I'm following your tutorial on creating a custom scheduler with a simulator. I've been trying for two days but still can't achieve the expected output for the "NodeNumber" plugin, as shown in your final screenshot. Could you help me figure out where I might have gone wrong? Below are all the screenshots from my setup process and the modifications I've made.Thank you so much!
The text was updated successfully, but these errors were encountered: