Comments (2)
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.
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)
- [question] do you have a plan to support the Cloud Foundry releases for this? HOT 1
- [WIP] Dockerfile for Fissile build
- Unauthorized HOT 6
- fissile does not build HOT 1
- Walkthrough manifests are unusable HOT 3
- New compilation cache code creates broken archives
- Update dependencies once mholt/archiver#92 has landed HOT 1
- add pre-built binaries to github releases? HOT 1
- `fissile diff` only works with already unpacked release directories and not with URLs
- Race condition for active/passive pods when no leader is available HOT 4
- Example doc for build in configuration.md is wrong (create-release.sh not found) HOT 1
- Deployment fails on clusters with containerd when credentials are empty HOT 6
- Role manifest shared volume validation bug HOT 1
- Services generated by fissile make Istio malfunction HOT 2
- Move to Go Modules HOT 1
- Generated K8s resources will not be supported in K8s 1.16
- docker run example for nats-release fails: cannot access '/usr/local/bin/create-release.sh': No such file or directory HOT 7
- Cut releases with release notes? HOT 3
- Why not create docker images from rev releases?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fissile.