Giter VIP home page Giter VIP logo

jkpmanager's Introduction

JKPManager

Jupyter kernels Pool manager

A http server for jupyter kernels pool management

ENV

NAME Default Value Description
JKP_EG_ENDPOINT http://127.0.0.1:8888 jupyter server enterprise gateway.
JKP_MAX_PENDING_KERNELS 10 The maximum number of Jupyter kernels idle.
JKP_NFS_VOLUME_SERVER 10.0.0.29 NFS SERVER HOST
JKP_NFS_MOUNT_PATH /data/tablegpt-test/shared/ NFS MOUNTED PATH
JKP_WORKING_DIR /mnt/shared/ Jupyter kernel Working Dir PATH
JKP_KERNEL_IMAGE elyra/kernel-py:3.2.2 Jupyter Kernel Running Image
JKP_KERNEL_NAMESPACE tablegpt-kernels Jupyter Kernel Running namespace in k8s
JKP_SERVER_PORT 8080 JKP Manager Http Server Running Port
JKP_ACTIVATION_INTERVAL 1200 The activation time interval of the kernel WS connection
JKP_REDIS_HOST 127.0.0.1 Redis HOST
JKP_REDIS_PORT 6379 Redis Port
JKP_REDIS_DB 0 Redis DB
JKP_REDIS_KEY tablegpt-test:kernels:idle redis key to save kernels info

API

Parameters

Name Required Description
userId true Create a directory and cd into the directory's userId.

POST /api/kernels/pop/ HTTP/1.1 Content-Type: application/json Host: 127.0.0.1:8080

{ userId":"zt" }

Response

{
    "id": "7d7e2f30-60bf-415c-836c-1137256965d9",
    "name": "python_kubernetes",
    "last_activity": "2024-02-29T06:37:19.189801Z",
    "execution_state": "starting",
    "connections": 0
}

jkpmanager's People

Contributors

ztaoplus avatar edwardzjl avatar

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.