-
Notifications
You must be signed in to change notification settings - Fork 135
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
Use API with script instead of frontend #192
Comments
Hello. The kube-apiserver inside of simulator can be accessed from outside of the simulator. That means you can use kubectl or client-go (or another k8s clients) to create/edit/delete any resource in simulator.
|
Okay, I found #176 and kubectl worked with the server flag. But is there a work around without a kubeconfig for client-node as well? |
Probably like this?
|
Since not all users are familiar with kubeconfig format, it may be better to add this^ kubeconfig example in doc :) |
I update documents in #197. |
the simulation works great, except for some random UnhandledPromiseRejectionWarnings I have to fix now thanks for your help! |
Hey,
The simulator already helped me a bunch to develop and test custom plugins!!
I discovered the address and port of the server in the documentation but wondered if I can control everything with an extern script via the API instead of the frontend?
Could not find the endpoints for scheduling/deleting pods and retrieving the scores yet which would be important.
Thanks in advance!!
Currently writing my BA about building and evaluating a custom plugin.
I planned to simulate cloud traces for the evaluation so that the measured impact of the plugin is more realistic, but I can't "run" them on a cluster afaik, so the simulator-server would be a great help!
Edit: doc answered a part of my question
The text was updated successfully, but these errors were encountered: