Skip to content

PodDisruptionBudget and AntiAffinity #70

@adamresson

Description

@adamresson

I'm just wondering if you've looked into using PodDisruptionBudgets and AntiAffinity rules at all for this example?

I was playing around with a new cluster on gke, deployed zookeeper and Kafka and then upgraded my cluster to a different version of kubernetes. I noticed, while the nodes were draining/coming back up, near the end all my zookeeper pods ended up being on the same node, which when preempted caused a brief zookeeper outage.

The standard zookeeper k8s example (https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/) does contain both of them. Is there a particular reason why it's not used, or just not something that you've looked into yet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions