Coder Social home page Coder Social logo

inseefrlab / onyxia Goto Github PK

View Code? Open in Web Editor NEW
439.0 18.0 79.0 38.06 MB

🔬 Data science environment for k8s

Home Page: https://onyxia.sh

License: MIT License

JavaScript 0.13% HTML 0.38% TypeScript 98.91% CSS 0.18% Dockerfile 0.11% FreeMarker 0.02% Mustache 0.21% Shell 0.07%
datalab onyxia insee bluehats data-science helm kubernetes

onyxia's Introduction

Don't know Onyxia yet? Learn about the project
Looking for our public instance? datalab.sspcloud.fr
Let's get in touch! Join our Slack
What's next? Checkout our roadmap

Onyxia is a web app that aims at being the glue between multiple open source backend technologies to provide a state of art working environment for data scientists.
Onyxia is developed by the French National institute of statistics and economic studies (INSEE) and supported by the Interministerial Digital Directorate (DINUM, CodeGouvFr).

image

Core feature set:

Media

Devoxx France 2023

KCD France 2023

Open Source Experience 2022

OW2Con'23

Energy Data Hack

OpenLAB - Download slides

Article d'acteurs publics

Les Entrepreuneurs d'intérêt général - Découvrir le programme

Contributing

If your are a new contributor, please refer to the technical documentation.

📣 Monthly Onyxia Community Calls! 📣 Starting November 2023, we're thrilled to introduce community calls on the last Friday of every month at 1pm Paris time. This is your chance to engage, ask questions, and stay updated on the newest Onyxia advancements. Don't forget to set a reminder! 📅🕐

onyxia's People

Contributors

actions-user avatar alainds avatar alexisdondon avatar amandinelgrsk avatar antoine-palazz avatar avouacr avatar bzg avatar cchemin avatar ddecrulle avatar dependabot[bot] avatar dmoreira97dltt avatar donatien26 avatar fcomte avatar garronej avatar johnksv avatar labenech avatar mallport avatar marchufschmitt avatar melineets avatar mmwinther avatar nicolaval avatar odysseu avatar olevitt avatar paulgehin avatar renovate[bot] avatar sathieu avatar smith-julien avatar thieryw avatar tongyeouki avatar trygu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

onyxia's Issues

Keycloak migration - 8.x to 9.x

Console warning:
[KEYCLOAK] Usage of legacy style promise methods such as .error()and.success()has been deprecated and support will be removed in future versions. Use standard style promise methods such as.then() and .catch() instead.`

See keycloak doc

Username and password for rStudio service

When you want to connect to the RStudio service, it is not obvious that the username is "rstudio" and that the password can be found in the "Mon compte" section.

This should be explained somewhere on the "RStudio Sign in" form.

Use case : generate script for minio

The implementation is not clear. User could believe that they should do this configuration inside containers in the datalab. But in fact they only need this configuration for outside access because all containers are already configured

Maybe a label containing the idea "access minio from outside" should clarify where to use this manual configuration

regression on self-service details

When we access to detailed self-services, URLs are not displayed.
It's a big regression because secondary url are never display elsewhere.

image

List and document all injectable values

Thanks to #28, we should soon be able to inject user data into contracts.
We should standardize the data structure we are able to inject.
The data currently stored in redux is a good starting point but should be discussed as it's far from perfect.

A markdown file listing each variable we intend to inject and their source / description would be perfect !
This is needed to prevent people from using different keys within their catalogs.

add formations

We should create a new top level component to list available formations for users.
All formations are simple json file like :

{ "id": "python onyxia", "title": "Python sur le datalab onyxia", "description": "Formation en python", "maintainer": "Insee", "modules": [ { "title" : "Jupyter", "description": "Decouverte de l'environnement Jupyter", "deploiement" : "https://spyrales.sspcloud.fr/my-lab/catalogue/inseefrlab-datascience/jupyter/deploiement" }, { "title" : "S3", "description": "Decouverte de S3", "deploiement" : "https://spyrales.sspcloud.fr/my-lab/catalogue/inseefrlab-datascience/jupyter/deploiement" } ] }

Idealy the list of formations come from an environnement variable.

Git avec une clef SSH associée au profil

Merci pour l'infrastructure, elle est très bien.
Est-il possible de s'ajouter une clef SSH depuis "mon compte" pour giter depuis la console dans Jupyter plus aisément ?

beta features

Training should leave beta /advanced features.
The dynamic url in forms should integrated beta/advanced features

migration to vault kv engine v2

We should enforce a password rotation each week in order to keep them secure.
vault kv engine v1 does not allow versionning but v2 does.

We should migrate to it and renew passwork when it is too old

bandeau d'avertissement

Il serait utile de pouvoir afficher un message aux utilisateurs à partir d'une variable d'environnement sous la forme d'un bandeau en haut de chaque page.

username validation

We do not enforce a username validation.
We should notify user if the username is not valid.

Add a "enable beta features" switch button

Hello,

We may need to beta test some features that are not fully production-ready.
At the moment, some of thoses features are "hidden" and people need to know the exact URL to access them.
I know of at least two of them at the moment :

  • Accessing test catalogs that are sent by the API but not displayed in the UI
  • Accessing the my secrets page (vault integration which is still a Work In Progress)

We could add a switch button in my account (or somewhere else ?) to let advanced users enable beta features. The beta opt-in choice would be stored client-side (for example in application storage).
Users that have opted-in would see the features without restrictions (ie my-secrets item to the menu, display the test catalogs ...), users that opted-out would not see them at all.

Régression constatée au lancement du service rstudio

Après avoir créé un nouveau service rstudio, le service n'affiche plus comme auparavant l'icône d'ouverture mais celle de redémarrage (alors que le service a bien été démarré).
Voir le service de droite dans la capture ci-dessous :

Capture du 2020-04-23 22-10-23

Lorsqu'on rafraichit la page, on obtient bien l'icône d'ouverture :

Capture du 2020-04-23 22-11-52

remove of service endpoint from oyxia-api

We should create an external url to get the services.json.
This is the ui issue corresponding to InseeFrLab/onyxia-api#16

The specification could be :
`

{
    "services" : [
        {
            "title": "",
            "subtitle": "",
            "logo": "",
            "caution": "",
            "description": "",
            "link": "",
            "urls" : [
                {
                    "name": "",
                    "url": "",
                    "description": "",
                    "linked": "true"

                }
            ],

            "dashboard": "",
            "channel": "",
            "scm": "",
            "maintainer": "",
            "email": ""
        }
    ]   
}

The link value is the direct link for fast access to the services. The urls may be used to show additionnel url. If they are browsable with external explorer then we can display a link.

Cloudshell : inject values

At the moment, the cloudshell is deployed using default values.
We should use the same logic as traditional deployment. ie : we should inject user information.

Investigate requests to /undefined

For some reason, the app makes random requests to /undefined (note that those requests are made to the webserver itself, not to the API) :
image

We should investigate and track down those undefined requests. It does not make the app crash but it adds some noise and overhead.

🕵️‍♂️ 🕵️‍♀️

Bug : vault init is broken

Since v0.2, vault profile initialization is broken, data sent is empty.
404 means user's profile does not exist so we should create it (this part is working as intended) :
image

But the creation request leads to a 400 as no data is sent :
image

This breaks the deployment page for some packages that depend on vault-stored data. We should create a separate issue to make this error non-blocking.

env-config.js should not be cached

env-config.js is included as a script in index.html. It contains the whole app configuration which may change when the app is redeployed.
This file should not be cached (and at the moment it is as any js file would).

This can either be done client-side (apparently by appending fake get parameters to trick the browser like <script src="env-config.js?v=42" />) or server-side (by changing the nginx conf).

Not sure which one is best ?

Fix guided visit

Since the opensourcing, the guided visit is broken.
For example, it tries to create a "draw.io" service that does not exist anymore.

Reinit configuration button may be too confusing

A recent and great feature generates a quicklink that users can use to deploy again later with the same configuration :
image

This feature comes with a button to let the user reset the configuration back to default but this button uses the same color's scheme as the "deploy service" button.
The user may be confused and click by mistake on the reset configuration button instead of the deploy button. I suggest we use something more alerting like red or yellow but any suggestion is welcome :)

Additionnaly, any design improvement and internationalization is obviously also welcome on this page 😃

externalize information for the home page

The json for the home is inside onyxia-js : public/accueil.json
We should make it possible to externalise this data to another endpoint and configurable with an environnement variable.
We could have a default one inside Onyxia-js at the same path.

Feature : add S3 config export button

Hi,

It would be great to have an export feature for S3 credentials.
At the moment, users can export individual values like token, key, session token from the my account page but they have to manually configure their client.
We could add a button to export the config (copy to clipboard or download a config file) for various formats. Of the top of my head : python script, R script, .s3cmd config file ...
The UI could be dead simple like a <select> to choose the format and a button to export it.
This could be done 100% client-side.

training ui

if a formation as too much description , the user can not see the link

image

JSON contract preview does not refresh

On the create service page, changing the parameters and clicking again on the preview (eye) icon does not refresh the displayed generated JSON.
The data received from the API are fine but the UI does not refresh.

Steps to reproduce :

  • Go to any service to deploy (e.g : /my-lab/catalogue/sample/wordpress/deploiement)
  • Fill any parameter you want
  • Click eye icon : generated JSON is fine
  • Change any parameter
  • Click eye icon : generated JSON does not change although the new data received have changed

This may be a regression caused by 4e81d5d (moving from jsoneditor to jsoneditor-react)

prepare release version 0.2

some bug fixes and features are needed before releasing :

  • fix 'fil d'arianne' for groups
  • add onyxia url and private endpoint to each description of self services
  • add support for delete group
  • add support for Onyxia title that help user to set a title for their self services.
  • fix debug information

add git information into vault

In order to implement git facilities in the datalab we should create a git profil into vault.
First implementation should at first login :

  • create two keys into the secret .onyxia/profile
    GIT_USER_NAME : initialize to the name of the user we know from auth
    GIT_USER_EMAIL : initialize to the mail of the user we know from auth

  • show this two keys into the "Profil Onyxia" component

  • let user modify this two keys if email and name on git is not the same as the one in our plateform.

This answers #102

generate the link of a deploiement

When a user fill the form of a self service we should let him save the link that deploy the same service with same parameter..
ex: if a user modify cpu and mem then the link would be :
https://..../....?service.cpus=1&service.mem=4096

This feature will allow more fonctionnality like :

  • create link for formation for each user
  • create a list of service to run fast
  • prefill forms with last parameter used

all this fonction should be discuss

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.