---
title: "Detect, act, keep the evidence: node reliability across three clouds"
description: "ClickHouse Cloud runs on thousands of Kubernetes nodes across AWS, GCP, and Azure where node failures like broken disks or stuck kernel tasks are daily events that often go undetected because Kubernetes still reports the node as Ready. The team built a Compute Layer Reliability system with three components: Node Problem Detector for detection using kernel logs, Node Problem Mitigator for controlled removal via taint and drain, and Node Debug Collector for forensics even when the node is unreachable. They chose to own detection and reaction across all three clouds rather than rely on provider-specific auto-repair mechanisms that were inconsistent or insufficient. The system has improved visibility and automated remediation of unhealthy nodes each month. However, it introduces complexity that is managed with safety gates like kill switches, dry-run mode, and rate limits."
---

# Detect, act, keep the evidence: node reliability across three clouds

[Clickhouse](https://yomu.fyi/company/clickhouse) · Nikita Vaniasin, Daniel Paneda and Eugene Babichev · Nov 19, 2026

**Type:** Problem & solution

## Summary

ClickHouse Cloud runs on thousands of Kubernetes nodes across AWS, GCP, and Azure where node failures like broken disks or stuck kernel tasks are daily events that often go undetected because Kubernetes still reports the node as Ready. The team built a Compute Layer Reliability system with three components: Node Problem Detector for detection using kernel logs, Node Problem Mitigator for controlled removal via taint and drain, and Node Debug Collector for forensics even when the node is unreachable. They chose to own detection and reaction across all three clouds rather than rely on provider-specific auto-repair mechanisms that were inconsistent or insufficient. The system has improved visibility and automated remediation of unhealthy nodes each month. However, it introduces complexity that is managed with safety gates like kill switches, dry-run mode, and rate limits.

## Context

ClickHouse Cloud runs on thousands of Kubernetes nodes across AWS, GCP, and Azure. Node failures like broken disks or stuck kernel tasks often go undetected because Kubernetes reports the node as Ready and cloud providers do not always flag the issue. The team built a Compute Layer Reliability project to own detection, reaction, and forensics across all three clouds.

## Approach / What changed

The team implemented a Compute Layer Reliability system with three components: Node Problem Detector (NPD) configured with custom permanent conditions to detect failures from kernel and system logs, Node Problem Mitigator (NPM) a controller that watches NPD conditions and applies taint, drain, and terminate actions, and Node Debug Collector (NDC) that captures logs and system state from unhealthy nodes even when unreachable, using fallback transport methods like SSM/S3 and snapshot mode.

## Takeaways

- Kubernetes built-in node conditions (Ready, MemoryPressure, etc.) do not cover failures like degraded RAID arrays or filesystem errors, so NPD is needed to expose these as custom permanent conditions.
- The team chose not to repair nodes in place because cloud provider auto-repair often reboots the node and the same issue recurs; instead they taint, drain, and terminate the instance.
- Node Debug Collector uses sosreport as a modular, cloud-agnostic collector and can fall back to SSM/S3 or snapshot mode when the kubelet is unresponsive.

## FAQ

### Why did ClickHouse build their own node reliability system instead of using cloud provider mechanisms?

Cloud provider auto-repair mechanisms were inconsistent across AWS, GCP, and Azure, often rebooted nodes without fixing the issue, and did not cover all failure signals the team cared about. Building their own system gave them consistent detection and reaction across all three clouds.

### How does Node Problem Detector differ from Kubernetes built-in node conditions?

Kubernetes built-in conditions like Ready only cover the kubelet's view and miss failures like degraded RAID or filesystem errors. NPD tails kernel and system logs and can set permanent custom conditions that do not expire, unlike temporary events.

### What happens when a node is too unhealthy for NPD to run or the kubelet is dead?

Node Debug Collector (NDC) can fall back to using SSM/S3 (or cloud equivalents) to deliver and execute the collector. It also supports snapshot mode, where the root volume is cloned and attached to a temporary instance for offline collection.

**Tags:** [Kubernetes](https://yomu.fyi/topic/kubernetes), [Node Problem Detector](https://yomu.fyi/topic/node-problem-detector), [Node Reliability](https://yomu.fyi/topic/node-reliability)

- Source: [Clickhouse](https://clickhouse.com/blog/node-reliability-across-three-clouds)
- Source URL: https://clickhouse.com/blog/node-reliability-across-three-clouds
- Ingested by Yomu: 2026-11-19T12:01:07.791Z

[Read original post](https://clickhouse.com/blog/node-reliability-across-three-clouds)
