---
slug: "kubernetes-環境でファイルアップロード時http413になる"
title: "HTTP 413 Error When Uploading Files in Kubernetes Environment"
description: "Open a specific 1Password item directly from the Mac terminal with `open 'onepassword://...'` — also how to get the item URL."
url: "https://www.ytyng.com/en/blog/kubernetes-環境でファイルアップロード時http413になる"
publish_date: "2020-01-14T06:34:10Z"
created: "2020-01-14T06:34:10Z"
updated: "2026-05-11T13:21:41.361Z"
categories: ["kubernetes"]
keywords: ""
featured_image_url: "https://media.ytyng.com/resize/20230812/48ad6d288ade44fcad8a421a75cd7643.png.webp?width=768"
has_video: false
has_music: false
video_urls: []
music_urls: []
lang: "en"
---

# HTTP 413 Error When Uploading Files in Kubernetes Environment

<p>When you upload a file to a web application running under Kubernetes Ingress,</p>
<p>you might encounter a</p>
<p>413 Payload Too Large</p>
<p>error.</p>
<p></p>
<p>In such cases, you should modify the Ingress settings as follows:</p>
<p></p>
<pre>apiVersion: extensions/v1beta1<br />kind: Ingress<br />metadata:<br />  name: torico-tools-ingress<br />  namespace: torico<br />  annotations:<br />    # Against http413<br />    nginx.ingress.kubernetes.io/proxy-body-size: "0"</pre>
<p></p>
<p>If you want to completely ignore the size limit, set nginx.ingress.kubernetes.io/proxy-body-size: "0"</p>
<p></p>
<p>Reference: <a href="https://imti.co/413-request-entity-too-large/">https://imti.co/413-request-entity-too-large/</a> (Note: The hero image on the site might be a bit graphic)</p>
<p></p>
<p></p>
