Comments (6)
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/107818544.
from cf-deployment.
Thanks @voelzmo
Does 4f3a5b3 adequately address your issue?
Best,
Amit
from cf-deployment.
Thanks @Amit-PivotalLabs those platform specific links are more helpful than the generic one.
However, looking at the stub for aws for example, I feel like there are a few aspects missing:
- You probably want to configure the instances of your jobs
- There are a bunch of properties set to
null
if you deploy using just instance configuration and the above aws stub (e.g. all theconsul.*_cert
andconsul.*_key
stuff)- What would be the process to discover potentially interesting properties for me as a user? Look through all
null
values in the generated manifest and check if I should be setting those? - Any recommendation which of the properties would I put where? I'm thinking about a threefold separation probably: 'normal' properties, credentials, and instance configuration. Does that sound reasonable? I know this might be highly subjective but it would be interesting to hear/see some guidance from you there.
- What would be the process to discover potentially interesting properties for me as a user? Look through all
from cf-deployment.
There is a tradeoff to be made in those stubs -- they should be simple enough that someone can edit a few obvious lines without having to know too much, and get something up and running, but they should also have some flexibility to make something suited to their environment. We err on the side of simplicity, as it's the only thing we have to offer the first-time user. We assume (for now) the power user knows how to modify the stub or the manifest to handle extra variations. We also don't want the example stubs to show you how to do every possible thing, because at some point you're basically just writing your own manifest from scratch.
In the long run, we want to improve manifest generation, and think outside the constraints of improving the stubs. In the short run, we should improve the stubs; that is outside the scope of this repo in particular, but thank you for raising it. I have a (long-running) story in flight to address this exactly: https://www.pivotaltracker.com/story/show/105805252
To answer your other questions:
What would be the process to discover potentially interesting properties for me as a user?
We unfortunately don't have a great story the user who is in between first-time and power user. The first-time user should not care. The power user who is using spiff could look at those null values. The even more powerful user could look at the job specs for all the jobs, that is the real source of truth for what is configurable.
Any recommendation which of the properties would I put where? I'm thinking about a threefold separation probably: 'normal' properties, credentials, and instance configuration. Does that sound reasonable?
You could try something like:
- non-credential properties
- credential properties
- instance counts
- persistent disk counts
- release versions (if you don't want to just use latest)
- additional colocated jobs and releases
- IaaS settings (any cloud properties, IP ranges, etc.)
Diego does some of this sort of separation: https://github.com/cloudfoundry-incubator/diego-release/blob/develop/scripts/generate-deployment-manifest
In the long run, what would be great is for some of these things to become primitives bosh knows about. Tell bosh directly about instance counts, rather than telling spiff to merge it into some template. What would also be great is some sort of static analysis to tell you whether you have all the required data, any extraneous data, etc. and have it not matter whether you've split things into separate files or one file; we should be able to programmatically validate your input agnostic to how you've actually organized it on the file system.
from cf-deployment.
I believe the above comment answers your questions, but please feel free to re-open/open a new issue if not.
Cheers,
Amit
from cf-deployment.
Thanks @Amit-PivotalLabs for the thorough and detailed answer!
Totally agree on that we want static analysis of manifest data and that bosh should know about some of these settings as primitives.
from cf-deployment.
Related Issues (20)
- Invalid routes for routing-api on route_registrar configuration HOT 2
- Cloud foundry Api downtime HOT 4
- Do not release CF with 76.12.0 HOT 1
- Failed to resolve link 'nats' with type 'nats' HOT 3
- cflinuxfs4 Rollout - Step 3: Final removal of cflinuxfs3 / Bionic HOT 1
- Proposal: Support Readiness Healthchecks HOT 11
- Remove erroneous cf CLI bosh release HOT 4
- Missing client_auth property on the cc_logcache_tls certificate HOT 13
- log-cache cert not valid for log-cache.service.cf.internal HOT 1
- Remove Windows2012R2 stack option? HOT 3
- Error when deploying CF using cf-deployment HOT 1
- Compiling package xtrabackup HOT 4
- UAA does not start due to ALTER TABLE oauth_client_details HOT 1
- Deprecation of "Windows Server 2016" stack HOT 1
- Problem on changing system domain after deployment HOT 1
- Whether the deployment domain name can be changed HOT 1
- Configuring external s3 blobstore with instance profile, missing required credential error returns in api HOT 2
- Use Percona XtraDB Cluster 8.0 by default HOT 1
- FIPS validation for cf-deployment HOT 3
- Error: Job 'nats-tls' not found in release 'nats' HOT 2
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 cf-deployment.