Skip to content

Commit 72cc19c

Browse files
authored
Push ETCD defrag threshold to 75% (#9132)
The goal of this change is to reduce the defrag we do to the minimal, we want to avoid at all cost unneeded defrag causing API server request to fail. After monitoring for few hours, I see that we still trigger unneeded defrag so push the limit to 75%, which is 5% below etcd shield threshold. Signed-off-by: Hugo Ares <[email protected]>
1 parent 5c60815 commit 72cc19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configs/etcd-defrag/production/base/cronjob.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
- name: FRAGMENTATION_THRESHOLD
2424
value: "30"
2525
- name: DISK_USAGE_THRESHOLD
26-
value: "70" # lower threshold of etcd-shield
26+
value: "75" # threshold of etcd-shield is 80% so we only defrag if we get close to that
2727
- name: RECLAIM_SPACE_THRESHOLD
2828
value: "1024"
2929
command:

0 commit comments

Comments
 (0)