Morning, I'm looking to self-host a typesense clus...
# community-help
j
Morning, I'm looking to self-host a typesense cluster in kubernetes. Does anyone have any experience? What are the pitfalls and things to look out for? I've been using the tyko operator and so far so good but I did run into an issue with resource limits and statefulsets.
k
Hi @Josh Handley, maintainer of TyKO here. What issues do you face with the resource limits and statefulsets?
j
@Kyriakos Akriotis I think you want @Joshua Roberts
🫣 1
k
My bad 😃 @Joshua Roberts
j
Happens to me on just about every Slack - always multiple Joshes šŸ™‚
šŸ˜‚ 1
j
This is a slightly unusual edge case. If the cluster is deployed but there are no nodes in the Kubernetes cluster that satisfy the resource requirements, all pods will remain in a
Pending
state and be unschedulable. If you then update the resource requirements in the Typesense Cluster CRD, the operator will not update the StatefulSet because the quorum is in a not-ready state. As a result, it remains stuck in that state unless the StatefulSet is updated manually. We are trying to move to typesense, away from ES and we're in the process of validating the operator with the platform team so any assurances or comments will go a long way! I've started a quick PR to resolve the issue as well but I'm aware that it might not be a relevant addition to the operator.
k
I will have a look at it, please open an issue as well so is documented for the history of the project in github. > I’m aware that it might not be a relevant addition to the operator. I see it quite relevant and I think the fix might be rather simple tbh.
j
Brill I'll open an issue today
I've added the issue here