Skip to content

0016. Disable leader election for NFS subdir-external-provisioners

  • Status: accepted
  • Date: 2026-05-28
  • Deciders: lusoris
  • Related: PR #458

Context

All three NFS subdir external provisioners ran as single replicas. The referenced change records repeated leaderelection lost exits after API access delays during kube-vip flaps.

Decision

Set leaderElection.enabled: false for the nfs-apps, nfs-backups, and nfs-backups-home provisioners while retaining one replica of each controller.

Alternatives considered

Keep the chart's leader-election behavior; rejected because the single-replica controllers were losing the 15-second lease during the recorded API flaps.

Consequences

The three provisioner Applications in argocd-apps/infra/nfs-provisioner.yaml render their controllers with leader election disabled, so those single replicas no longer terminate because they lose a leader-election lease.

References

  • PR #458 — fix(nfs-provisioner): disable leader election (crashloop from kube-vip flap)