add resource limits
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user