kubeblocks
kubeblocks copied to clipboard
[BUG]KB1.0 Create Cluster starrocks failed
Describe the bug A clear and concise description of what the bug is.
kbcli version
Kubernetes: v1.29.7-gke.1104000
KubeBlocks: 1.0.0-alpha.5
kbcli: 1.0.0-alpha.0
To Reproduce Steps to reproduce the behavior:
- Cluster yaml
apiVersion: apps.kubeblocks.io/v1alpha1
kind: Cluster
metadata:
name: strsent-ieyqmb
namespace: default
spec:
terminationPolicy: WipeOut
componentSpecs:
- name: be
componentDef: starrocks-be
serviceAccountName: kb-strsent-ieyqmb
replicas: 1
resources:
requests:
cpu: 3000m
memory: 8Gi
limits:
cpu: 3000m
memory: 8Gi
volumeClaimTemplates:
- name: data
spec:
storageClassName:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
- name: fe
componentDef: starrocks-fe-sn
serviceAccountName: kb-strsent-ieyqmb
replicas: 1
resources:
requests:
cpu: 3000m
memory: 8Gi
limits:
cpu: 3000m
memory: 8Gi
volumeClaimTemplates:
- name: data
spec:
storageClassName:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
- See error. There is no status of the cluster
check cluster status
`kbcli cluster list strsent-ieyqmb --show-labels --namespace default `
NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS
strsent-ieyqmb default WipeOut Aug 31,2024 07:58 UTC+0800
- check cmp --> lifecycleActions, postProvision, customHandler lost in cmpd
k get cmp
NAME DEFINITION SERVICE-VERSION STATUS AGE
strsent-qfwefn-be starrocks-be 3.3.2 Creating 7m5s
strsent-qfwefn-fe starrocks-fe-sn 3.3.2 7m5s
k describe cmp strsent-qfwefn-fe
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning Warning 105s (x15 over 7m16s) component-controller **postProvision: action is not defined**