add resource limits

This commit is contained in:
ducoterra
2020-04-18 18:59:34 -04:00
parent 297f45359b
commit af7c42b60d

View File

@@ -16,7 +16,7 @@ spec:
k8s-app: traefik-external
name: traefik-external
spec:
serviceAccountName: traefik-ingress-controller
serviceAccountName: traefik-external
terminationGracePeriodSeconds: 60
containers:
- image: hub.ducoterra.net/ducoterra/traefik:v1.7_1
@@ -26,6 +26,13 @@ spec:
containerPort: 80
- name: https
containerPort: 443
resources:
limits:
memory: "2Gi"
cpu: "2"
requests:
memory: "1Mi"
cpu: "1m"
args:
- --api
- --kubernetes