@@ -66,31 +66,70 @@ spec:
6666 spec :
6767 description : ClickHouseClusterSpec defines the desired state of ClickHouseCluster.
6868 properties :
69- additionalDataVolumeClaimSpecs :
69+ additionalPorts :
7070 description : |-
71- Additional persistent volume claims attached to each ClickHouse pod.
72- Each entry creates a volumeClaimTemplate on the StatefulSet, producing
73- per-pod PVCs named <name>-<statefulset>-<ordinal>.
74- Use for JBOD / multi-disk storage layouts.
71+ AdditionalPorts declares extra TCP ports to expose on the ClickHouse Pod and the operator-managed headless Service.
72+ The operator only adds the ports to the Kubernetes resources, it does not configure the ClickHouse server to listen on them.
7573 items :
76- description : AdditionalVolumeClaimSpec defines an additional persistent
77- volume claim for a ClickHouse pod .
74+ description : AdditionalPort declares one extra TCP port to expose
75+ on the ClickHouse Pod and the operator-managed headless Service .
7876 properties :
79- mountPath :
80- description : |-
81- MountPath inside the ClickHouse container.
82- If empty, defaults to /var/lib/clickhouse/disks/<name>.
83- type : string
8477 name :
8578 description : |-
86- Name used as the volumeClaimTemplate name and the volume/volumeMount name.
87- Must be unique and not collide with the primary data volume name.
88- Must consist of lowercase alphanumeric characters or hyphens, and start and end with an alphanumeric character.
89- Hyphens are automatically converted to underscores in the ClickHouse disk configuration.
90- pattern : ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$
79+ Name uniquely identifies the port within the list. Used as both the container port name and the Service port name.
80+ This must be a DNS_LABEL.
81+ maxLength : 63
82+ pattern : ^[a-z]([-a-z0-9]*[a-z0-9])?$
9183 type : string
84+ port :
85+ description : Port is the TCP port number to expose.
86+ format : int32
87+ maximum : 65535
88+ minimum : 1
89+ type : integer
90+ required :
91+ - name
92+ - port
93+ type : object
94+ type : array
95+ x-kubernetes-list-map-keys :
96+ - name
97+ x-kubernetes-list-type : map
98+ additionalVolumeClaimTemplates :
99+ description : |-
100+ Additional per-pod PVC templates for JBOD / multi-disk storage.
101+ Each entry is propagated in StatefulSet volumeClaimTemplate, mounted at /var/lib/clickhouse/disks/<name> and
102+ added to the generated JBOD storage policy.
103+ The set of disks is fixed at creation.
104+ items :
105+ description : PersistentVolumeClaimTemplate is a named template for
106+ a per-replica PersistentVolumeClaim.
107+ properties :
108+ metadata :
109+ description : Metadata template of the volume claim.
110+ properties :
111+ annotations :
112+ additionalProperties :
113+ type : string
114+ description : Annotations are annotations applied to the
115+ template objects.
116+ type : object
117+ labels :
118+ additionalProperties :
119+ type : string
120+ description : Labels are labels applied to the template objects.
121+ type : object
122+ name :
123+ description : Name is the resource identifier.
124+ pattern : ^[a-z]([-a-z0-9]*[a-z0-9])?$
125+ type : string
126+ required :
127+ - name
128+ type : object
92129 spec :
93- description : PVC spec for this additional volume.
130+ description : |-
131+ Spec defines the desired characteristics of a volume requested by a pod author.
132+ More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
94133 properties :
95134 accessModes :
96135 description : |-
@@ -284,40 +323,8 @@ spec:
284323 PersistentVolume backing this claim.
285324 type : string
286325 type : object
287- required :
288- - name
289- - spec
290326 type : object
291327 type : array
292- additionalPorts :
293- description : |-
294- AdditionalPorts declares extra TCP ports to expose on the ClickHouse Pod and the operator-managed headless Service.
295- The operator only adds the ports to the Kubernetes resources, it does not configure the ClickHouse server to listen on them.
296- items :
297- description : AdditionalPort declares one extra TCP port to expose
298- on the ClickHouse Pod and the operator-managed headless Service.
299- properties :
300- name :
301- description : |-
302- Name uniquely identifies the port within the list. Used as both the container port name and the Service port name.
303- This must be a DNS_LABEL.
304- maxLength : 63
305- pattern : ^[a-z]([-a-z0-9]*[a-z0-9])?$
306- type : string
307- port :
308- description : Port is the TCP port number to expose.
309- format : int32
310- maximum : 65535
311- minimum : 1
312- type : integer
313- required :
314- - name
315- - port
316- type : object
317- type : array
318- x-kubernetes-list-map-keys :
319- - name
320- x-kubernetes-list-type : map
321328 annotations :
322329 additionalProperties :
323330 type : string
0 commit comments