Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing docs for multiple grid --default-affinity rules #3000

Closed
matti opened this issue Nov 3, 2017 · 4 comments
Closed

Missing docs for multiple grid --default-affinity rules #3000

matti opened this issue Nov 3, 2017 · 4 comments

Comments

@matti
Copy link
Contributor

matti commented Nov 3, 2017

having just one default affinity is limiting

@jakolehm
Copy link
Contributor

jakolehm commented Nov 5, 2017

Default affinity is an array... so it should be possible to define multiple default affinities.

@matti
Copy link
Contributor Author

matti commented Nov 5, 2017

yes, it is - CLI update behaviour with multiple values supported (in this case) was misleading

@matti matti closed this as completed Nov 5, 2017
@SpComb
Copy link
Contributor

SpComb commented Nov 6, 2017

This is probably a valid docs issue. The docs aren't that great on this, and they actually imply a single default affinity rule:

default-affinity - Specify the default affinity rule for the entire Kontena Platform using the affinity filter syntax. The default affinity rule is applied to all Kontena Stacks on this Kontena Platform by default. The most common use case is to prevent Kontena Stack deployments to specific Kontena Nodes unless specified in Kontena Stacks.

The way that multiple --default-affinity options work in kontena grid create and kontena grid update isn't really documented anywhere. The --help output doesn't really make it clear that it supports multiple instances of the option either.

@SpComb SpComb changed the title grid default affinities Missing docs for multiple grid --default-affinity Nov 6, 2017
@SpComb SpComb changed the title Missing docs for multiple grid --default-affinity Missing docs for multiple grid --default-affinity rules Nov 6, 2017
@SpComb
Copy link
Contributor

SpComb commented Nov 6, 2017

kontena/docs#51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants