GoogleContainerTools / GoogleContainerTools/config-sync
Feature Request: Add –poll-until to ‘nomos status’ command
- Dominant language
- Go
- Stars
- 277
- Forks
- 59
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 26
Description
### Checklist
- [x] I did not find a related open enhancement request.
- [x] I understand that enhancement requests filed in the GitHub repository are by default low priority.
- [x] If this request is time-sensitive, I have submitted a corresponding issue with [GCP support](https://cloud.google.com/support-hub).
### Describe the feature
Add –poll-until to ‘nomos status’ command
Reconciliation is a tricky thing in Kubernetes clusters. A way to think about that is using temporal logic: F ψ ≡ true U ψ (eventually ψ becomes true)
In this case, eventually resource x will be reconciled with the cluster. Of course, one cannot wait forever for the reconciliation to happen.
With that in mind, poll-until would be able construct something like:
$ timeout 2m nomos status –poll-until=complete
Print, and wait, till all resources are complete(i.e.: reconciled with cluster). If that doesn’t happen in 2 minutes, terminate.
### Importance
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.