add resource limits
This commit is contained in:
@@ -16,7 +16,7 @@ spec:
|
|||||||
k8s-app: traefik-external
|
k8s-app: traefik-external
|
||||||
name: traefik-external
|
name: traefik-external
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: traefik-ingress-controller
|
serviceAccountName: traefik-external
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- image: hub.ducoterra.net/ducoterra/traefik:v1.7_1
|
- image: hub.ducoterra.net/ducoterra/traefik:v1.7_1
|
||||||
@@ -26,6 +26,13 @@ spec:
|
|||||||
containerPort: 80
|
containerPort: 80
|
||||||
- name: https
|
- name: https
|
||||||
containerPort: 443
|
containerPort: 443
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: "2Gi"
|
||||||
|
cpu: "2"
|
||||||
|
requests:
|
||||||
|
memory: "1Mi"
|
||||||
|
cpu: "1m"
|
||||||
args:
|
args:
|
||||||
- --api
|
- --api
|
||||||
- --kubernetes
|
- --kubernetes
|
||||||
|
|||||||
Reference in New Issue
Block a user