Define minimum limits to run the ingress controller (#4843)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-12-23 13:19:16 -03:00 committed by GitHub
parent 9f229e934d
commit d83b83bc0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -276,3 +276,19 @@ spec:
- /wait-shutdown
---
apiVersion: v1
kind: LimitRange
metadata:
name: ingress-nginx
namespace: ingress-nginx
labels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx
spec:
limits:
- default:
min:
memory: 90Mi
cpu: 100m
type: Container