waitForRemoval and wait for modification Method for ServiceAware
We often have the case that we change a configuration during a test and then check what changes to different serivces. Thus a Method to wait for removals with a count and also with modifications with a simple count would be very helpfull.
A Promise based solution might be nice.
Or, the fabric8 java Kubernetes client has an interesting and flexible approach to a similar use-case io.fabric8.kubernetes.client.dsl.Waitable<T, P>
Since service come and go for several reasons it could be that Service is soon back after your waitForRemoval.
I would prefer to have a Waiter-Mechanism that can also wait for conditions like No ServiceEvents within a given duration.