How-To: Handle large http body requests
By default Dapr has a limit for the request body size which is set to 4 MB, however you can change this by defining annotation or --dapr-http-max-request-size
flag.
This tells Dapr to set maximum request body size to 16
MB.
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
app: myapp
spec:
replicas: 1
selector:
matchLabels:
app: myapp
metadata:
app: myapp
annotations:
dapr.io/enabled: "true"
dapr.io/app-id: "myapp"
dapr.io/app-port: "8000"
...