Drupal Elastic Connector - K8s - Unable to reconnect to new node pool

Hello,

I have a Drupal app running with Elasticsearch7 on Kubernetes with the Elastic Connector plugin. I needed to recreate the elastic node pool and after re-applying kubectl apply -f elasticsearch.yaml I'm unable to connect to the new node. Nothing has changed in the config. Names and URLs are the same. Error message from the connector, "No alive nodes found in your cluster." What am I missing? Thanks.

One thing to add: When the new elastic statefulset is created, the Elasticsearch Connector and Search API pages in the Drupal admin return a 504. When I delete the statefulset, I'm able to access the pages again.

The solution was all on the Kubernetes side and adjusting the elasticsearch.yml config values.

1 Like