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

Deploy placement specification doesn't match schema #469

Open
k9withabone opened this issue Feb 28, 2024 · 1 comment
Open

Deploy placement specification doesn't match schema #469

k9withabone opened this issue Feb 28, 2024 · 1 comment

Comments

@k9withabone
Copy link

k9withabone commented Feb 28, 2024

What is the problem you're trying to solve
A clear and concise description of what the problem is.

In the Compose deploy specification, the placement attribute does not match the JSON schema. Docker compose (v2.24.6) seems to conform to the schema and not the specification.

Describe the solution you'd like
A clear and concise description of what you'd like to happen.

The specification, schema, and reference implementation (docker compose) should agree on what is acceptable for the deploy placement attribute. I don't have a particular interest in what they agree on, just that they agree.

Additional context
Add any other context about the feature request here.

None.

@k9withabone k9withabone changed the title Deploy placement constraint specification doesn't match schema Deploy placement specification doesn't match schema Feb 28, 2024
@k9withabone
Copy link
Author

Looking at the deploy specification more closely, it seems that it could use a review in general to make sure the schema and specification match. For example, the resources attribute in the specification is lacking a description of the generic_resources listed in the schema.

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

No branches or pull requests

1 participant