kubernetes-replicator icon indicating copy to clipboard operation
kubernetes-replicator copied to clipboard

Replicator pod crashing after replicating secret to a large number of namespaces

Open cherrera-acx opened this issue 2 years ago • 4 comments

Describe the bug We are replicating a secret across 100+ namespaces. Replicator successfully replicates the secret but when its starts to cycle a check on the namespaces to validate that the secret exists the pod crashes, and starts restarting.

To Reproduce Replicate secret

Expected behavior Secret is successfully replicated without issues

Environment:

  • Kubernetes version: [v1.21.14-gke.2100]
  • kubernetes-replicator version: [k8s-replicator-2.7.3]

Additional context We are using replicator to replicate cert-manager tls secrets, following this documentation. https://cert-manager.io/docs/tutorials/syncing-secrets-across-namespaces/#using-kubernetes-replicator

cherrera-acx avatar Sep 13 '22 20:09 cherrera-acx

I have similar issue https://github.com/mittwald/kubernetes-replicator/issues/215

sravanakinapally avatar Sep 13 '22 21:09 sravanakinapally

There has not been any activity to this issue in the last 14 days. It will automatically be closed after 7 more days. Remove the stale label to prevent this.

mittwald-machine avatar Sep 28 '22 02:09 mittwald-machine

Please keep issue open, as the issue still persists.

cherrera-acx avatar Sep 28 '22 16:09 cherrera-acx

Apologies; this should not have gotten stale. 🙏 You mentioned the controller crashing after the first reconciliation; do you happen to have any logs available from that moment when the controller crashed?

martin-helmich avatar Oct 07 '22 06:10 martin-helmich

There has not been any activity to this issue in the last 14 days. It will automatically be closed after 7 more days. Remove the stale label to prevent this.

mittwald-machine avatar Oct 22 '22 02:10 mittwald-machine

I have the same issue.

RomanGalochkin avatar Mar 22 '23 19:03 RomanGalochkin