> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-pipeline-2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-pipeline-2/data-pipeline/fault-tolerant-and-auto-recovery.md).

# Fault Tolerant and Auto-recovery

<figure><img src="/files/1cJBoAoGBDMdkq6jpoVQ" alt=""><figcaption></figcaption></figure>

* Kubernetes Cluster auto scaler will scale in and scale out the Nodes based on CPU and Memory Load.

&#x20;     ![](/files/hYJuECgFxZPfibJwMZHH)

* Nodes are Virtual/Physical machines.
* Each Microservice (Multiple services combined as container) is deployed as POD. Each POD is deployed into multiple Nodes for resilience.
* PODs are enables with autoscaling based on CPU and Memory Parameters.
* All Pods are configured to have two instances, each deployed in different Nodes, using the node affinity parameter.
* PODs are configured with self-healing, which mean when there is a failure a new POD is spun up.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bdb.ai/data-pipeline-2/data-pipeline/fault-tolerant-and-auto-recovery.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
