Skip to content

Refactor Zookeeper to avoid hardcoding fixed number of deployments/services #3

@ramhiser

Description

@ramhiser

Currently, our Zookeeper implementation uses 3 fixed Deployments and 3 corresponding fixed Services.

PetSets look like a promising direction to avoid hardcoding the nodes because they offer:

  • a stable hostname, available in DNS
  • an ordinal index
  • stable storage: linked to the ordinal & hostname

Zookeeper is even mentioned in the PetSet docs. There's even a zookeeper example in kubernetes/contrib.

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