Ability to view ResourceBindings on Karmada Dashboard
What would you like to be added: Ability to view ResourceBindings on the dashboard
Why is this needed: Our team uses Karmada to perform multi-cluster scheduling of batch ML training jobs. There are various scenarios where a job fails to get started, including:
- Lack of hardware resource
- Taints on member clusters
- Job creation request is rejected by the validating webhook
- ...
Being able to view ResourceBindings on the dashboard would provide great observability for debugging such issues.
I'm happy to contribute a bit if you find this enhancement useful. Thanks!
view ResourceBindings will enrich the experience of control-plane for karmada, I think it will be a great feature for karmada dashboard.
I'm happy to contribute a bit if you find this enhancement useful. Thanks!
Looking forward for you contribution, and I'm willing to provide any help to implementation of the feature. Can you provide more detailed document, including ux design、api design etc. will be ok.
For sure. Thanks @warjiang. What's the UX design tool that the community use for this project? I'm a bit new to frontend and would need to familiarize myself with the common tools. Thanks
For sure. Thanks @warjiang. What's the UX design tool that the community use for this project? I'm a bit new to frontend and would need to familiarize myself with the common tools. Thanks
Prefer to use figma, the figma file link is => https://www.figma.com/design/Bhr3HPgEpdpFJ6bDZyCwGj/karmada-dashboard?t=TRS9nYAUQNIfT05G-0
Thanks @warjiang . I just requested access.
I am not able to start the backend api by following the DEVELOPMENT.md file. There are multiple issues:
- The
hack/local-up-armada.shfile is no longer available. As a workaround I used thehack/local-up-karmada.shfile from thekarmadarepo to spin up the karmada cluster for testing. - I got
"Could not init karmada in-cluster client" err="specifying a root certificates file with the insecure flag is not allowed"error when I tried to execute theoutput/bin/darwin/arm64/karmada-dashboard-apibinary. The error was reported byinit.go:239. The entire command I used was:
_output/bin/darwin/arm64/karmada-dashboard-api \
--karmada-kubeconfig=/Users/<my-username>/.kube/karmada.config \
--karmada-context=karmada-apiserver \
--skip-karmada-apiserver-tls-verify \
--kubeconfig=/Users/<my-username>/.kube/karmada.config \
--context=karmada-host \
--insecure-port=8000
Could you please provide any guidance about the two issues I mentioned above? Thanks! @warjiang
The hack/local-up-armada.sh file is no longer available. As a workaround I used the hack/local-up-karmada.sh file from the karmada repo to spin up the karmada cluster for testing.
yes, you're right, we prepared hack/local-up-karmada.sh in karmada-dashboard repo at first, but then we realized that it will be hard to maintain the scripts for local testing environment, so we decided to rm related scripts in karmada-dashboard repo, and re-use the hack/local-up-karmada.sh in karmada repo.
related PR: https://github.com/karmada-io/dashboard/pull/162/files
so the DEVELOPMENT.md should be updated
I got "Could not init karmada in-cluster client" err="specifying a root certificates file with the insecure flag is not allowed" error when I tried to execute the output/bin/darwin/arm64/karmada-dashboard-api binary. The error was reported by init.go:239. The entire command I used was:
I think you can rm the conflict option --skip-karmada-apiserver-tls-verify
I add a new issue to track the outdated development.md filed
https://github.com/karmada-io/dashboard/issues/228
Thank you very much for the prompt assistance! May I take #228 as my first contribution? Thanks
It's ok, looking forward for your contribution ~
hi, any process about this feature or need extra discussion about this? btw we're working on integration with LLM to enhance the multi-cluster ops, maybe we can have further discussion about that.
Hi @warjiang , apologies that I don't have spare time to look into this yet. I'm also not very familiar with figma and other toolings the community uses for the frontend and would need some time to pick them up.. However if there is anything I can be helping with on the backend, I would be more than glad to contribute. Thank you!
Hi @warjiang , apologies that I don't have spare time to look into this yet. I'm also not very familiar with figma and other toolings the community uses for the frontend and would need some time to pick them up.. However if there is anything I can be helping with on the backend, I would be more than glad to contribute. Thank you!
It doesn't matter, maybe I can provide a basic design of resourcebing on control-plane, and then have a deep discussion about that before make any development.
That would be great. I'm happy to join the conversation and help out with any implementation stuff. Thank you!