-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I've been testing check-kube-service-available.rb and I've noticed that if I delete a deployment or replication controller so that all the pods of a service die and never come back up, it'll detect that the pods are not ready while they are terminating, but as soon as they are fully gone, it'll say that everything is good again.
Based upon line 79 (next if pod.nil?), this seems to be the desired behavior. However, I don't see why this is the case. If one of my services doesn't have any pods, I want it to alert me of this fact, not tell me that everything OK once again.