improving documentation about Kubernetes (fixes #40 #53)

This commit is contained in:
Julien Neuhart
2019-03-27 11:44:42 +01:00
parent df357c1008
commit 61dc4b8bb8
3 changed files with 13 additions and 30 deletions

View File

@@ -29,6 +29,11 @@ services:
It may also be deployed with Kubernetes.
> In Kubernetes, make sure to provide enough memory and CPU requests (for instance `512Mi` and `0.2` CPU).
> Otherwise the API will not be able to launch Google Chrome and Libreoffice (unoconv).
>
> Also note the more resources are granted, the quicker will be the conversions.
In the following examples, we will assume your
Gotenberg API is available at [http://localhost:3000](http://localhost:3000).

View File

@@ -11,17 +11,4 @@ Otherwise a random filename is used.
> However, you may hijack the response from the API or store the resulting PDF
> using a custom filename.
>
> **Attention:** this feature does not work if the form field `webhookURL` is given.
## Examples
### cURL
```bash
$ curl --request POST \
--url http://localhost:3000/convert/html \
--header 'Content-Type: multipart/form-data' \
--form files=@index.html \
--form filename='result.pdf' \
-o result.pdf
```
> **Attention:** this feature does not work if the form field `webhookURL` is given.