You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NAMESPACE NAME CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS AGE
default clickhouse-cluster clickhouse clickhouse-22.9.4 Delete 24m
check
tianyue@localhost .kube % k get cmp
NAME DEFINITION SERVICE-VERSION STATUS AGE
clickhouse-cluster-ch-keeper 18m
clickhouse-cluster-clickhouse Running 18m
clickhouse-cluster-clickhouse-1 Running 18m
describe cmp clickhouse-cluster-ch-keeper
tianyue@localhost .kube % k describe cmp clickhouse-cluster-ch-keeper
Name: clickhouse-cluster-ch-keeper
Namespace: default
Labels: app.kubernetes.io/instance=clickhouse-cluster
app.kubernetes.io/managed-by=kubeblocks
apps.kubeblocks.io/cluster-uid=6f595d8e-4de3-4f4c-a0c6-c91abd0c10ac
apps.kubeblocks.io/component-name=ch-keeper
clusterdefinition.kubeblocks.io/name=clickhouse
clusterversion.kubeblocks.io/name=clickhouse-22.9.4
Annotations: kubeblocks.io/generation: 1
API Version: apps.kubeblocks.io/v1alpha1
Kind: Component
Metadata:
Creation Timestamp: 2024-10-12T09:06:59Z
Finalizers:
cluster.kubeblocks.io/finalizer
component.kubeblocks.io/finalizer
Generation: 1
Owner References:
API Version: apps.kubeblocks.io/v1alpha1
Block Owner Deletion: true
Controller: true
Kind: Cluster
Name: clickhouse-cluster
UID: 6f595d8e-4de3-4f4c-a0c6-c91abd0c10ac
Resource Version: 47591
UID: c8d45eee-624e-4178-bce4-cc4f25080f5b
Spec:
Comp Def:
Replicas: 1
Resources:
Limits:
Cpu: 500m
Memory: 1Gi
Requests:
Cpu: 500m
Memory: 1Gi
Scheduling Policy:
Affinity:
Node Affinity:
Preferred During Scheduling Ignored During Execution:
Preference:
Match Expressions:
Key: kb-data
Operator: In
Values:
true
Weight: 100
Pod Anti Affinity:
Preferred During Scheduling Ignored During Execution:
Pod Affinity Term:
Label Selector:
Match Labels:
app.kubernetes.io/instance: clickhouse-cluster
apps.kubeblocks.io/component-name: ch-keeper
Topology Key: kubernetes.io/hostname
Weight: 100
Tolerations:
Effect: NoSchedule
Key: kb-data
Operator: Equal
Value: true
Effect: NoSchedule
Key: kb-data
Operator: Equal
Value: true
Topology Spread Constraints:
Label Selector:
Match Labels:
app.kubernetes.io/instance: clickhouse-cluster
apps.kubeblocks.io/component-name: ch-keeper
Max Skew: 1
Topology Key: kubernetes.io/hostname
When Unsatisfiable: ScheduleAnyway
Service Account Name: kb-clickhouse-cluster
Volume Claim Templates:
Name: data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 20Gi
Status:
Conditions:
Last Transition Time: 2024-10-12T09:06:59Z
Message: The operator has started the provisioning of Cluster: clickhouse-cluster-ch-keeper
Observed Generation: 1
Reason: PreCheckSucceed
Status: True
Type: ProvisioningStarted
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning Warning 7m54s (x17 over 18m) component-controller failed to render configmap: [failed to render configuration template[cm:clickhouse-keeper-tpl][key:00_default_overrides.xml], error: [template: clickhouse-keeper-tpl:26:8: executing "clickhouse-keeper-tpl" at <$.component.monitor.enable>: map has no entry for key "monitor"]]
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
This issue used the old example create the clickhouse cluster, already updated the examples and adapt backward compatibility for older KB versions before v0.9.0.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
create clickhouse cluster by following yaml:
https://github.com/apecloud/kubeblocks-addons/blob/release-0.9/examples/clickhouse/cluster.yaml
check cluster: no status
tianyue@localhost .kube % k get cmp
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: