Skip to content

Commit e304f85

Browse files
committed
Allow cert-manager ACME pods to be evicted by the autoscaler on GKE
1 parent 4defd2b commit e304f85

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deploy/charts/stack/templates/acme-issuer.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ spec:
2121
- http01:
2222
ingress:
2323
class: {{ $nginxIngress.controller.ingressClassResource.name }}
24+
podTemplate:
25+
metadata:
26+
annotations:
27+
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
2428
{{ else }}
2529
ca:
2630
secretName: {{ template "stack.fullname" . }}-ca

0 commit comments

Comments
 (0)