Nomad: Dispatch documentation and API documentation differs about the maximum size of payload

Created on 3 Apr 2020  路  5Comments  路  Source: hashicorp/nomad

This page (https://nomadproject.io/docs/commands/job/dispatch/) says:

The payload has a size limit of 16KiB.

Whereas the API documentation for Dispatch (https://nomadproject.io/api-docs/jobs/#payload) says:

Payload (string: "") - Specifies a base64 encoded string containing the payload. This is limited to 15 KB.

There are two different formats KiB/KB, and two different numbers 16 KiB and 15 KB.

themapi themdocs

Most helpful comment

Fixed in https://github.com/hashicorp/nomad/pull/9396 and will get shipped to the website on the next update.

All 5 comments

Thanks for this report @kaspergrubbe!

Hey there

Since this issue hasn't had any activity in a while - we're going to automatically close it in 30 days. If you're still seeing this issue with the latest version of Nomad, please respond here and we'll keep this open and take another look at this.

Thanks!

Yes this is still a problem.

Fixed in https://github.com/hashicorp/nomad/pull/9396 and will get shipped to the website on the next update.

Brilliant, thank you!

Was this page helpful?
0 / 5 - 0 ratings