Skip to content

Commit

Permalink
set revisionHistoryLimit to 0 for coredns (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
mengqiy authored Aug 9, 2024
1 parent af785ad commit 8081c61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tasks/setup/eks/awscli-cp-with-vpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ spec:
kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=$(params.aws-ebs-csi-driver-version)"
# TODO: Calculate replicas based on the cluster size going forward.
# Patching the coredns not to get scheduled on the monitoring node.
# Set revisionHistoryLimit to 0 to avoid keeping older replicasets.
kubectl patch deployment coredns --patch '{
"spec": {
"revisionHistoryLimit": 0,
"template": {
"spec": {
"affinity": {
Expand Down

0 comments on commit 8081c61

Please sign in to comment.