Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Says everything is OK if service has no pods. #24

Open
justinhammar opened this issue Aug 4, 2016 · 1 comment
Open

Says everything is OK if service has no pods. #24

justinhammar opened this issue Aug 4, 2016 · 1 comment

Comments

@justinhammar
Copy link
Contributor

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.

@sstarcher
Copy link
Member

I would agree the current behavior is odd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants