Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions products/kubernetes-operator/reference/api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ sidebarTitle: 'API reference'

This document provides detailed API reference for the ClickHouse Operator custom resources.

## AdditionalPort {#additionalport}

AdditionalPort declares one extra TCP port to expose on the ClickHouse Pod and the operator-managed headless Service.

| Field | Type | Description | Required | Default |
|-------|------|-------------|----------|---------|
| `name` | string | Name uniquely identifies the port within the list. Used as both the container port name and the Service port name.<br />This must be a DNS_LABEL. | true | |
| `port` | integer | Port is the TCP port number to expose. | true | |

Appears in:
- [ClickHouseClusterSpec](#clickhouseclusterspec)

## ClickHouseCluster {#clickhousecluster}

ClickHouseCluster is the Schema for the `clickhouseclusters` API.
Expand Down Expand Up @@ -65,6 +77,7 @@ ClickHouseClusterSpec defines the desired state of ClickHouseCluster.
| `upgradeChannel` | string | UpgradeChannel specifies the release channel for major version upgrade checks.<br />When empty, only minor updates will be proposed. Allowed values are: stable, lts or specific major.minor version (e.g. 25.8). | false | |
| `versionProbeTemplate` | [VersionProbeTemplate](#versionprobetemplate) | VersionProbeTemplate overrides for the version detection Job. | false | |
| `externalSecret` | [ExternalSecret](#externalsecret) | ExternalSecret is an optional reference to an externally-managed Secret containing cluster secrets.<br />The secret must reside in the same namespace as the cluster. | false | |
| `additionalPorts` | [AdditionalPort](#additionalport) array | AdditionalPorts declares extra TCP ports to expose on the ClickHouse Pod and the operator-managed headless Service.<br />The operator only adds the ports to the Kubernetes resources, it does not configure the ClickHouse server to listen on them. | false | |

Appears in:
- [ClickHouseCluster](#clickhousecluster)
Expand Down