Coder Social home page Coder Social logo

ansible-marathon's People

Contributors

ernestas-poskus avatar fpgeek avatar frankhinek avatar froesef avatar jasongiedymin avatar jaytaylor avatar jreijn avatar lhoss avatar loliee avatar ludovicc avatar maxkarelov avatar mhamrah avatar ninthnails avatar veger avatar vincepii 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ansible-marathon's Issues

Support build from source again

I think giving people an option to build from source is nice, but by default we use stable gz file.

I'm thinking of allow people to specify "latest", then we would build from source maybe from a build.yml file.

marathon_version: "latest"

@JasonGiedymin what are your thought on this?

[Feature Request] rolling-upgrade of a marathon HA cluster with the leading-marathon last

Motivation:

Do the upgrade with the minimum (1) leader fail-overs (vs worst-case: 'number of HA master/marathon nodes'), as recommended on:
https://mesosphere.github.io/marathon/docs/upgrade/index.html
http://stackoverflow.com/questions/33042343/is-it-possible-to-perform-a-zero-downtime-upgrade-or-reconfiguration-of-mesos

Current State

Currently I've a flexible serial attribute to provide the (optional) rolling upgrade logic, in a typical
playbook:

- hosts: marathon
  become: True
  roles:
    - {role: teralytics.marathon}
  environment: "{{proxy_env}}"
  tags: marathon
  serial: "{{ (rolling_upgrade|default(false)|bool)|ternary(1,0) }}"

Goal

run the upgrade in a specific order, so that the current leader (can be provided for ex. using a consul-DNS or mesos-dns url like 'leader.mesos' ) is deployed last.

I've some ideas, but before doing actual work, wanted to ask the ansible/devOps community for any existing solutions or recommendations.
I see 2 diff approaches:

  • (a) Splitting the playbook into 2 diff runs:
  • 1.run on the list of all selected-nodes, excluding the leader.mesos (could be done with some list mangling, including the resolution of dns entries to IPs to match the leader.mesos with the actual hostname (from the inventory)! )
  • 2.run on the remaining leader.mesos host
  • (b): using a dynamic inventory, resp. extra python logic that returns a single list of hosts in the right order

Ideas!?

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.