-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Introduce API that would allow Dashboard get resources info about target K8s namespace for workspace #13504
Comments
Is suspended in favor of #13538 |
There is a dedicated issue to provide a list of available namespaces #14376. And this issue is more about extending that API and provide resources information about namespaces. The description is updated with the corresponding changes. |
Here is a result of quick research of K8s/OS Resource API I did some time ago. It works pretty in the same way for K8s and OS except that fact that K8s dashboard has its own API proxy that responds with like grouped data (below will be an example and maybe we should do the same for our API). ---
apiVersion: v1
kind: List
items:
-
apiVersion: v1
kind: ResourceQuota
metadata:
name: compute-resources-1
spec:
hard:
pods: "1"
limits.memory: 1Gi
-
apiVersion: v1
kind: ResourceQuota
metadata:
name: compute-resources-2
spec:
hard:
pods: "2"
persistentvolumeclaims: "5"
limits.memory: 2Gi The error message when user tries to exceed quota: And K8s namespace proxy API: P.S. It's not completed an investigation, like there is |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Description
It's needed for #13484.
Introduce API that would allow Dashboard get resources info about target K8s namespace for workspace (name, quotas for now).
In the scope of this issue, it's needed to:
investigate closer Resource API of Kubernetes and OpenShift;It's already done. more see Introduce API that would allow Dashboard get resources info about target K8s namespace for workspace #13504 (comment)Additional context
The text was updated successfully, but these errors were encountered: