Replies: 4 comments 4 replies
-
It's generally not recommended to delete However, I don't think above actions can mitigate high PVC usage (I guess it meant disk usage) because each WAL file is just 64MiB and snapfile is a magnitude of hundreds of KiB. I would suggest look into if disk capacity is big enough to for etcd db growth, specifically file |
Beta Was this translation helpful? Give feedback.
-
On top of @chaochn47 's comment, I suggest to read https://etcd.io/blog/2023/how_to_debug_large_db_size_issue/ and consider to run defragmentation using https://github.com/ahrtr/etcd-defrag/ when needed. |
Beta Was this translation helpful? Give feedback.
-
Hi @ahrtr & @chaochn47 In my case I was having 2 wal files and ETCD_MAX_WALS is configured as 5, I configured the ETCD_MAX_WALS = 1, so ideally there should have been 1 wal file remaining and the older one should have been purged. But after configuring variable to 1 I still see 2 wal files. |
Beta Was this translation helpful? Give feedback.
-
If I make the snapshot count lower, then will it impact deployment in any way either in long or short term ? |
Beta Was this translation helpful? Give feedback.
-
Hi @ahrtr
I have a few queries regarding the ETCD. Could you please help me with the below queries:
If ETCD is experiencing high PVC usage, but I don't want to increase the PVC size, rather I believe we can delete the .wal and .snap files that are occupying space which exceeds the configured PVC value.
So,
Beta Was this translation helpful? Give feedback.
All reactions