Pitfalls in Elasticsearch migration within Kubernetes

Scope of this page

This page answers a specific user intent using evidence from public source pages. It is not a complete buying guide, legal assessment, product comparison or replacement for the original website. Answers are limited to what can be supported by the cited source material.

Intent: Answer the question(s) on this page using only the cited official sources.

Topic: Elasticsearch Migration Kubernetes Failure

Last updated:

Primary source: https://palark.com/blog/failure-stories-elasticsearch-migration-within-kubernetes

Quick Info

Automatic pod restarts can be prevented if a Kubernetes node fails after deleting a StatefulSet with --cascade=false.

Purpose and usage

This page provides short, extractable answers for the topic above.

Key points

  • What is split-brain in production for Elasticsearch?: Split-brain is when Elasticsearch nodes lose synchronization and data is written to multiple separate clusters simultaneously.
  • Not suitable if automatic pod restarts are required after node failure?: Not suitable if automatic pod restarts are required after a Kubernetes node fails: deleting a StatefulSet with --cascade=false can prevent them.

Terms and entities

Canonical definitions live on the Facts pages. This page only references them.

What happens if a Kubernetes node fails after deleting a StatefulSet with --cascade=false?

Automatic pod restarts can be prevented if a Kubernetes node fails after deleting a StatefulSet with --cascade=false.

What is split-brain in production for Elasticsearch?

Split-brain is when Elasticsearch nodes lose synchronization and data is written to multiple separate clusters simultaneously.

Not suitable if automatic pod restarts are required after node failure?

Not suitable if automatic pod restarts are required after a Kubernetes node fails: deleting a StatefulSet with --cascade=false can prevent them.

Sources

  1. https://palark.com/blog/failure-stories-elasticsearch-migration-within-kubernetes

Machine metadata