Coder Social home page Coder Social logo

Comments (2)

jandubois avatar jandubois commented on July 19, 2024

We could still compute the intersection of the requirements of all the jobs and use that to configure the instance_group. We already do this for the PSP.

And if the intersection becomes empty (one job must be a singleton; the other requires at least 2 instances), then validation can throw an error.

Instance groups are really just an artifact of the virtual machine view of the world, so I would prefer to deemphasize them as much as possible. I would hope that eventually we would replace them with affinity rules and have just one job per instance group. Then each job becomes a pod, and the different processes inside a job become separate containers with a shared filesystem.

from fissile.

viovanov avatar viovanov commented on July 19, 2024

The runtime information is in a nonsensical place because:

  • we define runtime information to be per instance group (which is a bit wrong, as @jandubois mentions - an artifact of the VM world)
  • we must be compatible with BOSH manifests - so that's why we can't move them to be per instance group @mook-as

IIRC right now, if you specify runtime information in in more than one job, you'll get an error.
So we require you to have one runtime block per instance group.
In the future, we want to describe jobs more than we describe instance groups, and we want to use more BPM information (if possible).

With the current BOSH manifest schema [1], I don't think there's a nicer way to achieve what we're trying to do, given that per instance group properties are deprecated.

[1] https://bosh.io/docs/manifest-v2/#instance-groups

from fissile.

Related Issues (20)

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.