Skip to content

Single pod and HorizontalPodAutoscaler Example #3

@hadminh

Description

@hadminh

Thanks for an awesome software and example.

This is more of a help request.

I am a startup company, and High Availability is too expensive for me, as I am dealing with a large dataset. I have about 3.2 million records similar to your airbnb example. Note that I am also self-hosting the map tiles server on the same node IoI

The example here requires to manually modify the ConfigMap and increment
typesense-{increment}.ts.typesense.svc.cluster.local:8107:8108
based on how many replicaset I have.

To be honest I am using Kubernetes only for its autoscaling capabilities.
(I mean Kubernetes without autoscaling capability doesn't worth the effort :) )

Is it possible to make a single Statefulset pod of a Typesense and horizontally auto scale it? Can it choose the typesense-0 as a master and the rest for read access, without any configuration?

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