cloud-dep-inventory-refresh.zsh#24
Conversation
… pass number for log clarity
|
After you've discovered N-1 pods, the chance of 10 consecutive probes all landing on already-seen pods (missing the last one) is: • 2 pods → (1/2)^10 ≈ 0.1% — negligible The termination condition is 10 consecutive no-new-cookie probes — so as cluster size grows the risk of stopping too early increases significantly. Bumping |
|
|
||
| # How many consecutive cookieless probes with no new cookie before we stop. | ||
| # 10 is sufficient for Standard (2 pods) and Premium (4 pods); raise for larger fleets. | ||
| POD_DISCOVERY_TRIES=10 |
There was a problem hiding this comment.
Consider increasing this to significantly decrease the chance of missing a pod on premium instances.
|
Closing per Security request |
Script Expectations
✅ Manager-approved
✅ Code Quality
✅ Security
✅ Testing
✅ Documentation
✅ Legal Requirements