Skip to content

Commit a73dfb2

Browse files
committed
set revisionHistoryLimit to 0 for coredns
1 parent af785ad commit a73dfb2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/tasks/setup/eks/awscli-cp-with-vpc.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,10 @@ spec:
8181
kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=$(params.aws-ebs-csi-driver-version)"
8282
# TODO: Calculate replicas based on the cluster size going forward.
8383
# Patching the coredns not to get scheduled on the monitoring node.
84+
# Set revisionHistoryLimit to 0 to avoid keeping older replicasets.
8485
kubectl patch deployment coredns --patch '{
8586
"spec": {
87+
"revisionHistoryLimit": 0,
8688
"template": {
8789
"spec": {
8890
"affinity": {

0 commit comments

Comments
 (0)