Skip to content

[FEATURE] Kill only pods which do have more then 1 sibling replica #469

@WolfspiritM

Description

@WolfspiritM

We're using chaoskube to kill random pods and also to "balance" our cluster.

We have many microservices that are running with more then one replica however we have a few services that can only run with 1 replica. Our monitoring checks the health of the pods by calling their web endpoint and notify us if the service is down.

It would be nice if chaoskube can be configured to only kill pods that belong to a deploymen/ReplicaSet with more then one other pod. I couldn't find any way to configure that.

As a workaround for now we're going to set a label for that pods to prevent them from being killed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions