InseeFrLab / onyxia

🔬 Data science environment for k8s

Home Page:https://onyxia.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhance UX regarding resources quotas

odysseu opened this issue · comments

Hi,
It would be great to enhance the UX regarding the quota resources usage that users can see in their "My services" page.
With default settings in onyxia's values.yaml file.

  • Precise the threshold for :
    • "warning" zone (75% by default).
    • "danger" zones (95% by default).
  • add a brief description button (❔) of what the resource is.
  • precise whether the quotas informations are always displayed or not : should be a user's choice : "false" by default, "always true" or with a threshold chosen on a scale from 0% to 100% that represents the minimum of % used in any of the resource qota, located in the "My account" page.

threshold are available on the web :

onyxia/web/.env

Lines 725 to 732 in e961755

# This parameter is for customizing what gets always displayed here:
# https://github.com/InseeFrLab/onyxia/assets/6702424/1084acf6-8455-4a22-9e14-9f40eb5a87c2
#
# For example if you set the value to "50%" if the user is currently using 50% or more of it's RAM quota
# the metric will always be displayed on the "My Services" page and the color will change from green to orange.
# If it's usage is below 50% it will only be displayed when the user click on the "Show more" button.
#
QUOTA_WARNING_THRESHOLD=75%

I agree we should configure CRITICAL zone and a brief description button is possible.

I am not sure for the last idea. It require storage on vault for very little value.

commented

can we close that ? @odysseu @garronej

yes we can !