Ambassador: Support for upload file size annotation

Created on 4 Dec 2018  路  8Comments  路  Source: datawire/ambassador

I'm using Ambassador as my api-gateway. As per default kubernetes ingress mechanism, it allows upload of files of max size 1 MB.
Currently there is no annotation or any such support to relax / customize this rule.

I'm looking for something like (this is what nginx provides)

_ingress.kubernetes.io/proxy-body-size: 100m_

stale

Most helpful comment

Same for us. We are using ambassador to upload files of max size 10mb. Is it somehow possible to configure it somewhere globally (for the moment until a service annotation might be in place)?

All 8 comments

Any update on this ?

I'm in the same boat and it would be great to have this feature

@nbkrause any update on this ?

I wonder how things are going.

Hi there. @nbkrause is there an update on this? This is a feature we would like to see.

Same for us. We are using ambassador to upload files of max size 10mb. Is it somehow possible to configure it somewhere globally (for the moment until a service annotation might be in place)?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

So, Ambassador team didn't take up the feature request. That's sad indeed.
However, good news is that, there is an alternate way around.

In ambassador apiversion v1 they have allowed overriding some of the envoy properties (which are not yet implemented as ambassador annotations).
Thus, this problem can be solved by adding the following in mapping :

_envoy_override:
per_connection_buffer_limit_bytes: _

Additionally, you can add _timeout_ms_ flag as well.
I have attached a sample service yaml with the mapping (I have allowed 32 mb).

Screen Shot 2019-06-25 at 12 46 56 PM

Hope it helps!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gregbacchus picture gregbacchus  路  3Comments

adrienjt picture adrienjt  路  5Comments

nilanjan-samajdar picture nilanjan-samajdar  路  4Comments

Viacheslav-Akimov picture Viacheslav-Akimov  路  6Comments

cakuros picture cakuros  路  4Comments