Versions in this module Expand all Collapse all v0 v0.0.2 Feb 16, 2026 Changes in this version + const ClickHouseConditionAllShardsReady + const ClickHouseConditionDatabasesNotCreated + const ClickHouseConditionReplicasInSync + const ClickHouseConditionReplicasNotCleanedUp + const ClickHouseConditionSchemaSyncDisabled + const ClickHouseConditionSomeShardsNotReady + const ClickHouseConditionTypeSchemaInSync + const ConditionReasonConfigurationChanged + const ConditionReasonReconcileFinished + const ConditionReasonReplicaError + const ConditionReasonReplicasNotReady + const ConditionReasonReplicasReady + const ConditionReasonReplicasRunning + const ConditionReasonScalingDown + const ConditionReasonScalingUp + const ConditionReasonSpecInvalid + const ConditionReasonSpecValid + const ConditionReasonStepFailed + const ConditionReasonUpToDate + const ConditionTypeClusterSizeAligned + const ConditionTypeConfigurationInSync + const ConditionTypeHealthy + const ConditionTypeReady + const ConditionTypeReconcileSucceeded + const ConditionTypeReplicaStartupSucceeded + const ConditionTypeSpecValid + const DefaultAccessMode + const DefaultClickHouseCPULimit + const DefaultClickHouseCPURequest + const DefaultClickHouseContainerPolicy + const DefaultClickHouseContainerRepository + const DefaultClickHouseContainerTag + const DefaultClickHouseMemoryLimit + const DefaultClickHouseMemoryRequest + const DefaultClickHouseReplicaCount + const DefaultClickHouseShardCount + const DefaultClusterDomain + const DefaultKeeperCPULimit + const DefaultKeeperCPURequest + const DefaultKeeperContainerPolicy + const DefaultKeeperContainerRepository + const DefaultKeeperContainerTag + const DefaultKeeperMemoryLimit + const DefaultKeeperMemoryRequest + const DefaultKeeperReplicaCount + const DefaultMaxLogFiles + const KeeperConditionReasonClusterReady + const KeeperConditionReasonInconsistentState + const KeeperConditionReasonNoLeader + const KeeperConditionReasonNoQuorum + const KeeperConditionReasonNotEnoughFollowers + const KeeperConditionReasonReadyToScale + const KeeperConditionReasonReplicaHasPendingChanges + const KeeperConditionReasonReplicaNotReady + const KeeperConditionReasonStandaloneReady + const KeeperConditionReasonWaitingFollowers + const KeeperConditionTypeScaleAllowed + const KeeperConfigMapNameSuffix + var AddToScheme = SchemeBuilder.AddToScheme + var AllClickHouseConditionTypes = []ConditionType + var AllKeeperConditionTypes = []ConditionType + var GroupVersion = schema.GroupVersion + var SchemeBuilder = &scheme.Builder + type ClickHouseCluster struct + Spec ClickHouseClusterSpec + Status ClickHouseClusterStatus + func (in *ClickHouseCluster) DeepCopy() *ClickHouseCluster + func (in *ClickHouseCluster) DeepCopyInto(out *ClickHouseCluster) + func (in *ClickHouseCluster) DeepCopyObject() runtime.Object + func (v *ClickHouseCluster) Conditions() *[]metav1.Condition + func (v *ClickHouseCluster) ConfigMapNameByReplicaID(id ClickHouseReplicaID) string + func (v *ClickHouseCluster) GetStatus() *ClickHouseClusterStatus + func (v *ClickHouseCluster) HeadlessServiceName() string + func (v *ClickHouseCluster) HostnameByID(id ClickHouseReplicaID) string + func (v *ClickHouseCluster) NamespacedName() types.NamespacedName + func (v *ClickHouseCluster) PodDisruptionBudgetNameByShard(shard int32) string + func (v *ClickHouseCluster) ReplicaIDs() iter.Seq[ClickHouseReplicaID] + func (v *ClickHouseCluster) Replicas() int32 + func (v *ClickHouseCluster) SecretName() string + func (v *ClickHouseCluster) Shards() int32 + func (v *ClickHouseCluster) SpecificName() string + func (v *ClickHouseCluster) StatefulSetNameByReplicaID(id ClickHouseReplicaID) string + type ClickHouseClusterList struct + Items []ClickHouseCluster + func (in *ClickHouseClusterList) DeepCopy() *ClickHouseClusterList + func (in *ClickHouseClusterList) DeepCopyInto(out *ClickHouseClusterList) + func (in *ClickHouseClusterList) DeepCopyObject() runtime.Object + type ClickHouseClusterSpec struct + Annotations map[string]string + ClusterDomain string + ContainerTemplate ContainerTemplateSpec + DataVolumeClaimSpec *corev1.PersistentVolumeClaimSpec + KeeperClusterRef *corev1.LocalObjectReference + Labels map[string]string + PodTemplate PodTemplateSpec + Replicas *int32 + Settings ClickHouseSettings + Shards *int32 + func (in *ClickHouseClusterSpec) DeepCopy() *ClickHouseClusterSpec + func (in *ClickHouseClusterSpec) DeepCopyInto(out *ClickHouseClusterSpec) + func (s *ClickHouseClusterSpec) WithDefaults() + type ClickHouseClusterStatus struct + Conditions []metav1.Condition + ConfigurationRevision string + CurrentRevision string + ObservedGeneration int64 + ReadyReplicas int32 + StatefulSetRevision string + UpdateRevision string + func (in *ClickHouseClusterStatus) DeepCopy() *ClickHouseClusterStatus + func (in *ClickHouseClusterStatus) DeepCopyInto(out *ClickHouseClusterStatus) + type ClickHouseReplicaID struct + Index int32 + ShardID int32 + func ClickHouseIDFromLabels(labels map[string]string) (ClickHouseReplicaID, error) + func IDFromHostname(v *ClickHouseCluster, hostname string) (ClickHouseReplicaID, error) + func (id ClickHouseReplicaID) Labels() map[string]string + func (id ClickHouseReplicaID) MarshalLog() any + func (id ClickHouseReplicaID) String() string + type ClickHouseSettings struct + DefaultUserPassword *DefaultPasswordSelector + EnableDatabaseSync bool + ExtraConfig runtime.RawExtension + ExtraUsersConfig runtime.RawExtension + Logger LoggerConfig + TLS ClusterTLSSpec + func (in *ClickHouseSettings) DeepCopy() *ClickHouseSettings + func (in *ClickHouseSettings) DeepCopyInto(out *ClickHouseSettings) + type ClusterTLSSpec struct + CABundle *SecretKeySelector + Enabled bool + Required bool + ServerCertSecret *corev1.LocalObjectReference + func (in *ClusterTLSSpec) DeepCopy() *ClusterTLSSpec + func (in *ClusterTLSSpec) DeepCopyInto(out *ClusterTLSSpec) + func (s *ClusterTLSSpec) Validate() error + type ConditionReason string + type ConditionType string + type ConfigMapKeySelector struct + Key string + Name string + func (in *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector + func (in *ConfigMapKeySelector) DeepCopyInto(out *ConfigMapKeySelector) + type ContainerImage struct + Hash string + Repository string + Tag string + func (c *ContainerImage) String() string + func (in *ContainerImage) DeepCopy() *ContainerImage + func (in *ContainerImage) DeepCopyInto(out *ContainerImage) + type ContainerTemplateSpec struct + Env []corev1.EnvVar + Image ContainerImage + ImagePullPolicy corev1.PullPolicy + Resources corev1.ResourceRequirements + SecurityContext *corev1.SecurityContext + VolumeMounts []corev1.VolumeMount + func (in *ContainerTemplateSpec) DeepCopy() *ContainerTemplateSpec + func (in *ContainerTemplateSpec) DeepCopyInto(out *ContainerTemplateSpec) + type DefaultPasswordSelector struct + ConfigMap *ConfigMapKeySelector + PasswordType string + Secret *SecretKeySelector + func (in *DefaultPasswordSelector) DeepCopy() *DefaultPasswordSelector + func (in *DefaultPasswordSelector) DeepCopyInto(out *DefaultPasswordSelector) + func (s *DefaultPasswordSelector) Validate() error + type EventAction = string + const EventActionBecameNotReady + const EventActionBecameReady + const EventActionReconciling + const EventActionScaling + type EventReason = string + const EventReasonClusterNotReady + const EventReasonClusterReady + const EventReasonFailedCreate + const EventReasonFailedDelete + const EventReasonFailedUpdate + const EventReasonHorizontalScaleBlocked + const EventReasonHorizontalScaleCompleted + const EventReasonHorizontalScaleStarted + const EventReasonReplicaCreated + const EventReasonReplicaDeleted + type KeeperCluster struct + Spec KeeperClusterSpec + Status KeeperClusterStatus + func (in *KeeperCluster) DeepCopy() *KeeperCluster + func (in *KeeperCluster) DeepCopyInto(out *KeeperCluster) + func (in *KeeperCluster) DeepCopyObject() runtime.Object + func (v *KeeperCluster) Conditions() *[]metav1.Condition + func (v *KeeperCluster) ConfigMapNameByReplicaID(replicaID KeeperReplicaID) string + func (v *KeeperCluster) GetStatus() *KeeperClusterStatus + func (v *KeeperCluster) HeadlessServiceName() string + func (v *KeeperCluster) HostnameByID(id KeeperReplicaID) string + func (v *KeeperCluster) Hostnames() []string + func (v *KeeperCluster) NamespacedName() types.NamespacedName + func (v *KeeperCluster) PodDisruptionBudgetName() string + func (v *KeeperCluster) QuorumConfigMapName() string + func (v *KeeperCluster) Replicas() int32 + func (v *KeeperCluster) SpecificName() string + func (v *KeeperCluster) StatefulSetNameByReplicaID(replicaID KeeperReplicaID) string + type KeeperClusterList struct + Items []KeeperCluster + func (in *KeeperClusterList) DeepCopy() *KeeperClusterList + func (in *KeeperClusterList) DeepCopyInto(out *KeeperClusterList) + func (in *KeeperClusterList) DeepCopyObject() runtime.Object + type KeeperClusterSpec struct + Annotations map[string]string + ClusterDomain string + ContainerTemplate ContainerTemplateSpec + DataVolumeClaimSpec *corev1.PersistentVolumeClaimSpec + Labels map[string]string + PodTemplate PodTemplateSpec + Replicas *int32 + Settings KeeperSettings + func (in *KeeperClusterSpec) DeepCopy() *KeeperClusterSpec + func (in *KeeperClusterSpec) DeepCopyInto(out *KeeperClusterSpec) + func (s *KeeperClusterSpec) WithDefaults() + type KeeperClusterStatus struct + Conditions []metav1.Condition + ConfigurationRevision string + CurrentRevision string + ObservedGeneration int64 + ReadyReplicas int32 + StatefulSetRevision string + UpdateRevision string + func (in *KeeperClusterStatus) DeepCopy() *KeeperClusterStatus + func (in *KeeperClusterStatus) DeepCopyInto(out *KeeperClusterStatus) + type KeeperReplicaID int32 + func KeeperReplicaIDFromLabels(labels map[string]string) (KeeperReplicaID, error) + func (id KeeperReplicaID) Labels() map[string]string + type KeeperSettings struct + ExtraConfig runtime.RawExtension + Logger LoggerConfig + TLS ClusterTLSSpec + func (in *KeeperSettings) DeepCopy() *KeeperSettings + func (in *KeeperSettings) DeepCopyInto(out *KeeperSettings) + type LoggerConfig struct + Count int64 + JSONLogs bool + Level string + LogToFile bool + Size string + func (in *LoggerConfig) DeepCopy() *LoggerConfig + func (in *LoggerConfig) DeepCopyInto(out *LoggerConfig) + type PodTemplateSpec struct + Affinity *corev1.Affinity + ImagePullSecrets []corev1.LocalObjectReference + NodeHostnameKey *string + NodeSelector map[string]string + SchedulerName string + SecurityContext *corev1.PodSecurityContext + ServiceAccountName string + TerminationGracePeriodSeconds *int64 + Tolerations []corev1.Toleration + TopologySpreadConstraints []corev1.TopologySpreadConstraint + TopologyZoneKey *string + Volumes []corev1.Volume + func (in *PodTemplateSpec) DeepCopy() *PodTemplateSpec + func (in *PodTemplateSpec) DeepCopyInto(out *PodTemplateSpec) + type SecretKeySelector struct + Key string + Name string + func (in *SecretKeySelector) DeepCopy() *SecretKeySelector + func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector)