• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

k8snetworkplumbingwg / whereabouts / 16272872047

14 Jul 2025 04:52PM UTC coverage: 37.676% (+0.04%) from 37.638%
16272872047

Pull #624

github

mlguerrero12
Prevent accidental IP deallocation in statefulsets

This commit addresses a potential issue where IP allocations
could be accidentally deleted when new pods with the same name
and namespace are created in statefulset scenarios. The logic
now correctly checks if a pod with the matching name and namespace
exists and is not marked for deletion. If such a pod exists,
the deallocation is skipped, preventing conflicts. The commit
also includes clarified logging messages for improved debugging.

Signed-off-by: Marcelo <marguerr@redhat.com>
Pull Request #624: Prevent accidental IP deallocation in statefulsets

6 of 12 new or added lines in 1 file covered. (50.0%)

1443 of 3830 relevant lines covered (37.68%)

5.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.27
/pkg/controlloop/pod.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc