From 1012e3b691af95f26c65925e9b675455515d8c03 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sat, 3 Jun 2023 18:23:26 +0200 Subject: [PATCH] fix(calico): Fix broken garbage collection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch fixes the broken garbage collection that is caused by a bug in the current calico release. This is done by manually upgrading to a newer patch release of the tigera operator which incorporates a fix. The garbage collection is currently broken due to a missing permissions to 'projectcalico.org/v3 Resource=bgpfilters' which results in a stalled cache sync for the kube-controller-manager garbage collector. Error logs: ``` graph_builder.go:281] garbage controller monitor not yet synced: projectcalico.org/v3, Resource=bgpfilters … garbagecollector.go:250] timed out waiting for dependency graph builder sync during GC sync (attempt 43) ``` References https://github.com/projectcalico/calico/issues/7715 https://github.com/kubernetes/kubernetes/blob/bb878608686a6276cefec3f51bee5d79b0c8c393/pkg/controller/garbagecollector/garbagecollector.go#L143-L175 --- bootstrap/calico/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap/calico/release.yaml b/bootstrap/calico/release.yaml index a1ee13161..37c8b5edb 100644 --- a/bootstrap/calico/release.yaml +++ b/bootstrap/calico/release.yaml @@ -15,6 +15,8 @@ spec: version: v3.26.0 interval: 15m values: + tigeraOperator: + version: v1.30.2 apiServer: enabled: true installation: -- GitLab