From 3e0188cdb5b6f6ddf6003d42448986329f7edde4 Mon Sep 17 00:00:00 2001 From: ada mancini Date: Wed, 24 Jul 2024 13:30:55 -0400 Subject: [PATCH] check that etcdserver database size is not too large --- pkg/goods/support/host-support-bundle.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkg/goods/support/host-support-bundle.yaml b/pkg/goods/support/host-support-bundle.yaml index 7c0288b4bc..9a96b2273b 100644 --- a/pkg/goods/support/host-support-bundle.yaml +++ b/pkg/goods/support/host-support-bundle.yaml @@ -202,3 +202,16 @@ spec: - pass: when: "false" message: "No signs of hostname changes found" + - textAnalyze: + checkName: Etcdserver Database Size Exceeded + exclude: "" + ignoreIfNoFiles: true + fileName: * + regex: '(etcdserver)?.*mvcc.*database space exceeded' + outcomes: + - fail: + when: "true" + message: etcdserver database has grown too large. See: https://community.replicated.com/t/kubernetes-cluster-is-down-and-reporting-etcdserver-mvcc-database-size-exceeded/1428 + - pass: + when: "false" + message: etcdserver database is not too large