Details
-
New Feature
-
Status: Done
-
Medium
-
Resolution: Done
-
None
-
1
-
Yes
-
No
-
[obsolete] Server Integrations
Description
User story:
- As a DBaaS user, I need to see available resources and quotas on my Kubernetes cluster so that I can understand it's size
Acceptance criteria
- user see the full capacity of the Cluster (disk)
- User able to see free resources in the cluster
- Data for resources updated every 5s
- AWS EKS and minikube
Out of scope:
- all cloud providers except AWS
Suggested implementation:
## EKS
- ebs has limit of 25 or 39 volumes per node depending on instance type
see label beta.kubernetes.io/instance-type: m5.large
- M5,C5,R5,T3 and Z1D has volume-count-limit equal to 25
- others have 39
- all: get consumed + ((count-nodes-that-are-schedulable-and-don't-have-any-resource-presure * volume-count-limit)-current-pv-count)*max-volume-size
- available: ((count-nodes * volume-count-limit)-current-pv-count)*max-volume-size
- it seems ebs volumes have max size of 16Ti which is limit of the service.
## Minikube
- consumed:
- get usedBytes out of node summary.
- all: for each node accumulate (alocatable -> epheremal storage)
- available: all - consumed