Code Monkey home page Code Monkey logo

jupyter_service's People

Contributors

dependabot[bot] avatar rasmunk avatar songouyang avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jupyter_service's Issues

SwarmSpawner.images - Misspelling


https://github.com/ucphhpc/jupyter_service/blob/master/hub/jupyterhub_config.py :

# Available docker images the user can spawn
c.SwarmSpawner.dockerimages = [
    {'image': 'jupyter/base-notebook:latest',
     'name': 'Jupyter Notebook'
     }
]

It's wrong.

Correct:
# Available docker images the user can spawn
c.SwarmSpawner.images = [
    {'image': 'jupyter/base-notebook:latest',
     'name': 'Jupyter Notebook'
     }
]

c.SwarmSpawner.resource_spec - CPU-Limit

This:
c.SwarmSpawner.resource_spec = {
'cpu_limit' : 1000, # (int) – CPU limit in units of 10^9 CPU shares.
'mem_limit' : int(512 * 1e6), # (int) – Memory limit in Bytes.
'cpu_reservation' : 1000, # (int) – CPU reservation in units of 10^9 CPU shares.
'mem_reservation' : int(512 * 1e6), # (int) – Memory reservation in Bytes
}

don't work.

Error-Message:
Error: HTTP 500: Internal Server Error (Error in Authenticator.pre_spawn_start: APIError 400 Client Error for http+docker://localhost/v1.41/services/create: Bad Request ("rpc error: code = InvalidArgument desc = invalid cpu value 1e-09: Must be at least 0.001"))

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.