I wanted to enable a file upload. Whenever I was uploading I received the error code “413 Request Entity Too Large” from the nginx ingress controller in kubernetes. I found the solution here. Use the following annotation to allow unlimited upload size:
nginx.ingress.kubernetes.io/proxy-body-size: "0"
---
apiVersion: networking.k8s.io/v1beta1 # for versions before 1.14 use extensions/v1beta1
kind: Ingress
metadata:
name: my-name
namespace: my-namespace
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/proxy-body-size: "0"
spec:
# The specs, omitted for readability
Today, I am launching writic.app. I was always looking for a solution to keep a journal which is online but private - something which is very hard to find across all the available social networks. The following features are essential to me:
Interesting list of things that the author learned the hard way
Sometimes, you’ll have to say no: No, I can’t do it; no, it can’t be made in this time; no, I don’t feel capable of doing this; no, I don’t feel comfortable writing this.
Interesting blog entry about Kubernetes:
On top of that, the Kubernetes ecosystem is still rapidly evolving. It takes a fair amount of time and energy to stay up-to-date with the best practices and latest tooling. Kubectl, minikube, kubeadm, helm, tiller, kops, oc - the list goes on and on. Not all tools are necessary to get started with Kubernetes, but it’s hard to know which ones are, so you have to be at least aware of them. Because of that, the learning curve is quite steep.