Git Product home page Git Product logo

marathon-ui's Introduction

Stories in Ready

Marathon UI Build Status Teamcity Snapshot UI Webjar Build Status Coverage Status

Marathon UI

Project Status

The message below was posted on the marathon-framework google groups site:

Dear Marathon Community,

We'd like to give you an update on the current state of Marathon UI and invite you to discuss the future development.

As you may have noticed, we haven't invested much lately in further advancing the Marathon UI, as we've devoted most of our time to develop a new seamless integrated Services (Marathon) UI for DC/OS. The new UI includes the functionality of the old UI, and:

  • The new Service Detail View includes completed and failed tasks. We've also integrated the Mesos Task details and added a new log view for easier debugging.
  • We've improved the Deployments View, providing more information for better deployment management.
  • The new Service UI uses the same components and styling as the DC/OS UI to deliver a seamless user experience.

Because of our focus on integrating the experience of using Marathon and DC/OS, we aren’t planning on updating the old UI further. We will, however, continue to review PRs and fix critical bugs on the old Marathon UI for the next few months. We know a lot of users depend on the old stand-alone UI, and we are hoping that one of these dedicated users will take charge of the repo in which the old UI lives. If you would like to take on this responsibility, or have anyone to nominate, please get in touch with us! You can email me personally, or find me in the shared DC/OS Slack channel (http://chat.dcos.io).

Please let us know if you have suggestions about the old UI, or thoughts on the new one. Your feedback is much appreciated!

Orlando Mesosphere

The web user interface for Mesosphere's Marathon

The UI is bundled with the Marathon package.

Please note that issues are disabled for this repository. Please feel free to open an issue on the issues page on the main Marathon Repository.

Documentation

Documentation for the Marathon UI (work in progress) can be found at https://mesosphere.github.io/marathon/docs/marathon-ui.html.

Setup


There are two ways to set up and configure your development environment:

  1. πŸ€– Set up Mesos and Marathon following this tutorial and install a CORS proxy on your machine.
  2. 🐳 Use the handy docker-based setup - Please be aware that it's currently not possible to launch Docker containers with this setup.

πŸ€– Prerequisites

There are a few things you need, before you can start working. Please make sure you've installed and properly configured the following software:

  • Node 5.4.1 including NPM
  • Mesos and Marathon (follow the tutorial here)
  • Set up a CORS proxy on your machine to proxy the UI requests to your running Marathon instance (e.g. via Corsproxy)
NVM

As the required NPM version is pretty old, it's a good idea to use nvm to install the specific version:

  brew install nvm
  nvm install v5.4.1
  nvm use v5.4.1
πŸ€– 1. Install all dependencies
    npm install
    npm install -g gulp
πŸ€– 2. Override development configuration
1. Copy `src/js/config/config.template.js` to `src/js/config/config.dev.js`
2. Override variables in `config.dev.js` to reflect your local development
configuration
πŸ€– 3. Run development environment
npm run serve

or

npm run livereload

for a browsersync live-reload server.

4. CORS Proxy

If you're running a local marathon, CORS will prevent the browser from accessing it. There's a simple CORS proxy that forwards requests to the different local ports, circumventing that issue:

npm install -g corsproxy

Adjust your dev config to use URLs like these:

  apiURL: "http://localhost:1337/localhost:8080/"
  rootUrl: "http://localhost:1337/localhost:4200/"

Then you can reach the local running ui under the root URL.


🐳 Prerequisites

Please make sure you've installed and properly configured the following software:

🐳 1. Configure your hosts

If you're not using something like dnsdock or dinghy (OS X) for easy container discovery/access, please configure your hosts as follows:

  mesos-master.docker 192.168.99.100
  mesos-slave.docker  192.168.99.100
  marathon.docker     192.168.99.100

Use $ docker-machine ip $DOCKER_MACHINE_NAME to get the current docker machine ip and add those lines to your etc/hosts configuration.

🐳 4. Start your environment

The following command will download, configure and start a basic Zookeeper, Mesos and Marathon setup for you. It will also build and serve the Marathon UI.

   docker-compose up

Contributing to this project

Please refer to the CONTRIBUTING.md file.

marathon-ui's People

Contributors

aldipower avatar aneumann82 avatar benmccann avatar bobrik avatar burke avatar chadroffey avatar clems4ever avatar connordoyle avatar daltonmatos avatar dfuentes avatar drexin avatar grampelberg avatar hshoff avatar janisz avatar leemunroe avatar mcmil avatar millerjam avatar mindscratch avatar mlunoe avatar mohitsoni avatar mohitsoni-ebay avatar philipnrmn avatar poltergeist avatar quamilek avatar raffo avatar sascala avatar ssorallen avatar sttts avatar tmmi avatar wavesoft 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.