Skip to content

docs: audit and rewrite addon architecture documentation#234

Merged
weicao merged 6 commits intomainfrom
docs/architecture-accuracy-review
Apr 7, 2026
Merged

docs: audit and rewrite addon architecture documentation#234
weicao merged 6 commits intomainfrom
docs/architecture-accuracy-review

Conversation

@weicao
Copy link
Copy Markdown
Contributor

@weicao weicao commented Apr 7, 2026

Summary

Comprehensive accuracy review of all addon architecture docs, verified against ComponentDefinition YAML files in kubeblocks-addons. Also rewrites Kafka and RabbitMQ architecture docs to follow the established MySQL doc style.

Accuracy fixes

  • Kafka: Remove non-existent kbagent container; correct containers to kafka + jmx-exporter (port 5556); add kafkatool init container; fix per-topology port tables
  • RabbitMQ: Remove non-existent kbagent and metrics-exporter containers; single rabbitmq container with all 6 ports including missing 15674 (web-stomp)
  • MongoDB: Add missing init containers (init-syncer, init-kubectl, init-pbm-agent); add missing port 3601 (ha replication) to all mongodb containers
  • MySQL: Add missing port 3601 to semisync/MGR containers; add Orchestrator Containers section (port 3306 only, init-data + init-jq); add per-pod mysql-mysql-{n} services; fix system accounts table (orc topology only has root/kbadmin/proxysql); document headless service ports per topology
  • ClickHouse: Add ClickHouse Keeper pods section with correct ports (9181, 9234); fix copy-tools init copies nc; add full port list for data pods

Doc rewrites (MySQL doc style)

  • Kafka: Full rewrite with Combined / Separated / Kafka 2.x sections, KRaft Consensus, Partition Leader Election, Automatic Failover, System Accounts
  • RabbitMQ: Full rewrite with Erlang Clustering, Quorum Queue HA, Automatic Failover, System Accounts

All changes applied to both preview and release-1_0_2.

Closes #235

Test plan

  • yarn dev — verify pages render correctly
  • Spot-check container tables against ComponentDefinition YAMLs

weicao and others added 6 commits April 8, 2026 01:20
… pages

Kafka:
- Remove non-existent kbagent container; actual containers are kafka + jmx-exporter
- Fix jmx-exporter port from 9187 to 5556 (from values.yaml default)
- Clarify per-node-type port layout: broker=9092+9094, controller=9093, combined=all three
- Add kafkatool init container (copies SASL tools to /shared-tools) for broker/combined pods
- Remove incorrect "exclusively in KRaft mode" claim; Kafka 2.7 uses ZooKeeper mode

RabbitMQ:
- Remove non-existent kbagent and metrics-exporter containers; only one container: rabbitmq
- List all ports from the actual ComponentDefinition: 4369, 5672, 15672, 15674, 25672, 15692
- Include web-stomp port 15674 that was missing from the original table

Both preview and release-1_0_2 versions updated.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
MongoDB (all pod types: replica set, config-server, shard):
- Add init containers: init-syncer (syncer/syncerctl → /tools), init-kubectl
  (kubectl → dataMountPath/tmp/bin), init-pbm-agent (pbm binaries → /tools)
- Add port 3601 (ha replication) to mongodb container in all pod types

MySQL (semisync + MGR):
- Add port 3601 (ha replication) to mysql container for both architectures
- MGR: clarify port description (3306, 3601, 33061)

ClickHouse:
- Add ClickHouse Keeper pod container description: container named 'clickhouse'
  with Keeper-specific ports 9181 (ZooKeeper-compatible client) and 9234 (Raft
  internal); copy-tools init copies nc (not curl)
- Expand ClickHouse data pod port list to include all declared ports: 8443
  (HTTPS), 9004 (MySQL wire protocol), 9005 (PostgreSQL wire protocol), 9009,
  9010, 9440

Both preview and release-1_0_2 versions updated.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Complete restructure of Kafka architecture doc with Combined, Separated,
and Kafka 2.x topology sections, each with Resource Hierarchy, Containers,
KRaft Consensus (or ZooKeeper Coordination), and Traffic Routing subsections.
Adds Partition Leader Election, Automatic Failover, and System Accounts sections.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Complete restructure with clustermode topology section covering Resource
Hierarchy, Containers, Erlang Distributed Clustering, High Availability
via Quorum Queues, and Traffic Routing. Adds standalone Automatic Failover
and System Accounts sections. Corrects container list (single rabbitmq
container, no init containers) and system accounts (root only per YAML).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add missing "Containers Inside Each Pod" section to Orchestrator:
  mysql container has port 3306 only (no 3601, no syncer wrapper);
  init containers are init-data + init-jq (not init-syncer/xtrabackup/jemalloc)
- Add missing per-pod services ({cluster}-mysql-mysql-{n}) to Orchestrator
  traffic routing table; note roleSelector:primary on orchestrator service
- Fix system accounts table: orc/orc-proxysql only provision root, kbadmin,
  and proxysql; kbdataprotection/kbprobe/kbmonitoring/kbreplicator are
  semisync/MGR-only; add Topologies column and clarifying note

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…unt list

- Document all headless Service ports per topology (InstanceSet includes
  every declared container port): semisync 3306/3601/9104, MGR adds 33061,
  orc omits 3601
- Fix system accounts table: add Topologies column; kbdataprotection /
  kbprobe / kbmonitoring / kbreplicator are absent from orc topologies
- Add Containers section to Orchestrator: mysql port 3306 only (no syncer
  wrapper), init-data + init-jq init containers
- Add per-pod mysql-mysql-{n} services and orchestrator roleSelector note
  to Orchestrator traffic routing table
@weicao weicao changed the title fix(docs): correct Kafka and RabbitMQ container specs in architecture pages docs: audit and rewrite addon architecture documentation Apr 7, 2026
@weicao weicao merged commit d193f9c into main Apr 7, 2026
1 check passed
@weicao weicao deleted the docs/architecture-accuracy-review branch April 7, 2026 18:27
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.

docs: MySQL architecture doc missing Orchestrator containers, wrong system accounts, incomplete headless ports

1 participant