Coder Social home page Coder Social logo

criteo / mesos-term Goto Github PK

View Code? Open in Web Editor NEW
19.0 4.0 8.0 2.59 MB

Web terminal and sandbox explorer for your mesos containers

License: MIT License

Shell 0.86% JavaScript 0.12% CSS 0.15% HTML 0.55% TypeScript 60.32% Python 37.78% EJS 0.22%
mesos ucr containers cluster terminal debug ui interactive debugger web-debug

mesos-term's Issues

Finer grain permission control

Current permissions allow following scheme:

  • members of MESOS_TERM_SUPER_ADMINS groups can connect on every container
  • members of MESOS_TERM_ALLOWED_TASK_ADMINS groups can connect on containers if MESOS_TERM_DEBUG_GRANTED_TO contains exactly the same group

I'd like to be able to define following scenario:

  • members of MESOS_TERM_SUPER_ADMINS groups can connect on every container (no change)
  • members of MESOS_TERM_ALLOWED_TASK_ADMINS groups can connect on containers if they belong to a group listed by MESOS_TERM_DEBUG_GRANTED_TO

The difference is that we could configure a large group of users to connect to their container only (let's say a group called "operators") without listing every group that should be whitelisted in MESOS_TERM_ALLOWED_TASK_ADMINS or activating MESOS_TERM_ENABLE_PER_APP_ADMINS (which would give everyone access to their container)

Would that make sense?

editors, lines and cols

When launching an editor in mesos-term

  • nano returns an error Error opening terminal: unknown., we have to manually set the TERM env TERM=linux nano
  • vim, nano, and I guess most editors use 24 lines and 80 cols, regardless the window size.

2 questions :
1 / shouldn't TERM=linux be injected in the environment if not present ?
2 / how can we use the full window with text editors ?

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.