Skip to content

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

@zoe-hammar

Description

@zoe-hammar

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions