typesense / typesense-kubernetes

Typesense Kubernetes
39 stars 15 forks source link

Failed to parse nodes configuration: `typesense-0.ts.typesense.svc.cluster.local:8107:8108,typesense-1.ts.typesense.svc.cluster.local:8107:8108,typesense-2.ts.typesense.svc.cluster.local:8107:8108` #6

Closed skhaz closed 2 years ago

skhaz commented 2 years ago

Description

::Time:: 2022-06-04::17:59:59-UTC
(object) array(
   'message' => 'Not Ready or Lagging',
)

Pod logs:

Failed to parse nodes configuration: typesense-0.ts.typesense.svc.cluster.local:8107:8108,typesense-1.ts.typesense.svc.cluster.local:8107:8108,typesense-2.ts.typesense.svc.cluster.local:8107:8108 -- will retry shortly...

Steps to reproduce

kustomize build overlays/dev | kubectl apply -f -

Expected Behavior

The index process works and pod have no warnings

Actual Behavior

Pod has warnings

Metadata

Typsense Version: typesense:0.21.0.rc-k8s-2

OS: Kubernetes

skhaz commented 2 years ago

In order to run on Google Cloud Kubernetes, the correct setup should be

value: "typesense-0.ts.typesense.svc:8107:8108,typesense-1.ts.typesense.svc:8107:8108,typesense-2.ts.typesense.svc:8107:8108"