Skip to content

docs: clarify topologyZoneKey and nodeHostnameKey semantics - #271

Merged
GrigoryPervakov merged 2 commits into
mainfrom
docs-topology-keys-semantics
Jul 20, 2026
Merged

docs: clarify topologyZoneKey and nodeHostnameKey semantics#271
GrigoryPervakov merged 2 commits into
mainfrom
docs-topology-keys-semantics

Conversation

@GrigoryPervakov

Copy link
Copy Markdown
Member

Why

The topologyZoneKey / nodeHostnameKey docstrings didn't state the actual scheduling contract. Support feedback showed users can't tell that topologyZoneKey accepts any node label and scopes per shard, or that nodeHostnameKey is a hard one-pod-per-node rule that leaves pods Pending when there are fewer nodes than pods.

What

Rewrites the two godoc comments: topologyZoneKey = balance (spreads pods holding the same data across domains, maxSkew 1, different shards may share a domain), nodeHostnameKey = exclusion (required anti-affinity across all pods of the cluster, needs nodes >= pods; for dense layouts point topologyZoneKey at kubernetes.io/hostname instead). CRDs, chart and api-reference regenerated.

GrigoryPervakov and others added 2 commits July 20, 2026 13:39
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@GrigoryPervakov
GrigoryPervakov enabled auto-merge (squash) July 20, 2026 13:55
@GrigoryPervakov
GrigoryPervakov merged commit 24da2d8 into main Jul 20, 2026
22 of 23 checks passed
@GrigoryPervakov
GrigoryPervakov deleted the docs-topology-keys-semantics branch July 20, 2026 14:10
@mintlify

mintlify Bot commented Jul 20, 2026

Copy link
Copy Markdown

Docs PR opened: ClickHouse/ClickHouse#111078

Updated the Kubernetes Operator API reference to clarify how topologyZoneKey balances pods and nodeHostnameKey enforces exclusive node occupancy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant