apecloud / kubeblocks

KubeBlocks is an open-source control plane software that runs and manages databases, message queues and other stateful applications on K8s.
https://kubeblocks.io
GNU Affero General Public License v3.0
2.13k stars 176 forks source link

[BUG] create cluster with Halt termination policy , then delete cluster create a cluster with the same name failed #3773

Closed linghan-hub closed 1 year ago

linghan-hub commented 1 year ago
kbcli version
Kubernetes: v1.23.8+k3s1
KubeBlocks: 0.6.0-alpha.15
kbcli: 0.6.0-alpha.15

k create -f 00_wesqlcluster.yaml cat 00_wesqlcluster.yaml

---
# Source: apecloud-mysql-cluster/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: kb-mycluster-apecloud-mysql-cluster
  labels:

    helm.sh/chart: apecloud-mysql-cluster-0.6.0-alpha.15
    app.kubernetes.io/name: apecloud-mysql-cluster
    app.kubernetes.io/instance: mycluster
    app.kubernetes.io/version: "8.0.30"
    app.kubernetes.io/managed-by: Helm
---
# Source: apecloud-mysql-cluster/templates/role.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: kb-mycluster-apecloud-mysql-cluster
  namespace: default
  labels:

    helm.sh/chart: apecloud-mysql-cluster-0.6.0-alpha.15
    app.kubernetes.io/name: apecloud-mysql-cluster
    app.kubernetes.io/instance: mycluster
    app.kubernetes.io/version: "8.0.30"
    app.kubernetes.io/managed-by: Helm
rules:
  - apiGroups:
      - ""
    resources:
      - events
    verbs:
      - create
---
# Source: apecloud-mysql-cluster/templates/rolebinding.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: kb-mycluster-apecloud-mysql-cluster
  labels:

    helm.sh/chart: apecloud-mysql-cluster-0.6.0-alpha.15
    app.kubernetes.io/name: apecloud-mysql-cluster
    app.kubernetes.io/instance: mycluster
    app.kubernetes.io/version: "8.0.30"
    app.kubernetes.io/managed-by: Helm
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: kb-mycluster-apecloud-mysql-cluster
subjects:
  - kind: ServiceAccount
    name: kb-mycluster-apecloud-mysql-cluster
    namespace: default
---
# Source: apecloud-mysql-cluster/templates/cluster.yaml
apiVersion: apps.kubeblocks.io/v1alpha1
kind: Cluster
metadata:
  name: mycluster-apecloud-mysql-cluster
  labels: 
    helm.sh/chart: apecloud-mysql-cluster-0.6.0-alpha.15
    app.kubernetes.io/name: apecloud-mysql-cluster
    app.kubernetes.io/instance: mycluster
    app.kubernetes.io/version: "8.0.30"
    app.kubernetes.io/managed-by: Helm
spec:
  clusterDefinitionRef: apecloud-mysql  # ref clusterdefinition.name
  clusterVersionRef: ac-mysql-8.0.30 # ref clusterversion.name
  terminationPolicy: Halt
  affinity:
    topologyKeys: 
      - kubernetes.io/hostname
  componentSpecs:
    - name: mysql # user-defined
      componentDefRef: mysql # ref clusterdefinition componentDefs.name
      monitor: false
      replicas: 3
      serviceAccountName: kb-mycluster-apecloud-mysql-cluster
      enabledLogs:     ["slow","error"]
      volumeClaimTemplates:
        - name: data # ref clusterdefinition components.containers.volumeMounts.name
          spec:
            storageClassName: 
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 1Gi
k create -f 00_wesqlcluster.yaml
serviceaccount/kb-mycluster-apecloud-mysql-cluster created
role.rbac.authorization.k8s.io/kb-mycluster-apecloud-mysql-cluster created
rolebinding.rbac.authorization.k8s.io/kb-mycluster-apecloud-mysql-cluster created
cluster.apps.kubeblocks.io/mycluster-apecloud-mysql-cluster created
k get cluster
NAME                               CLUSTER-DEFINITION   VERSION           TERMINATION-POLICY   STATUS     AGE
mycluster-apecloud-mysql-cluster   apecloud-mysql       ac-mysql-8.0.30   Halt                 Running    3m3s
k delete -f 00_wesqlcluster.yaml
serviceaccount "kb-mycluster-apecloud-mysql-cluster" deleted
role.rbac.authorization.k8s.io "kb-mycluster-apecloud-mysql-cluster" deleted
rolebinding.rbac.authorization.k8s.io "kb-mycluster-apecloud-mysql-cluster" deleted
cluster.apps.kubeblocks.io "mycluster-apecloud-mysql-cluster" deleted

k get cluster
NAME        CLUSTER-DEFINITION   VERSION          TERMINATION-POLICY   STATUS     AGE
mycluster   mongodb              mongodb-5.0.14   Halt                 Creating   33m
k get pod
No resources found in default namespace.
k get pvc
NAME                                            STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS      AGE
data-mycluster-mongodb-1                        Bound    pvc-deb23e51-281c-47ad-8e84-1a293d78d3a0   20Gi       RWO            csi-hostpath-sc   96m
data-mycluster-mongodb-2                        Bound    pvc-339f3947-ecb1-45c2-85f0-16f83aa9a7cc   20Gi       RWO            csi-hostpath-sc   96m
data-mycluster-mongodb-0                        Bound    pvc-f57793eb-796d-4fe8-a90a-4781adc6ed2b   20Gi       RWO            csi-hostpath-sc   96m
data-mycluster-apecloud-mysql-cluster-mysql-0   Bound    pvc-eacd7b6a-1382-4e14-bc4f-30957e4e1b03   1Gi        RWO            csi-hostpath-sc   6m22s
data-mycluster-apecloud-mysql-cluster-mysql-1   Bound    pvc-a2c8eba0-0f51-4459-8147-fb34d6773f72   1Gi        RWO            csi-hostpath-sc   6m22s
data-mycluster-apecloud-mysql-cluster-mysql-2   Bound    pvc-53cbab8d-fc12-4ec7-89e2-e788218b1e6b   1Gi        RWO            csi-hostpath-sc   6m22s
k create -f 00_wesqlcluster.yaml
serviceaccount/kb-mycluster-apecloud-mysql-cluster created
role.rbac.authorization.k8s.io/kb-mycluster-apecloud-mysql-cluster created
rolebinding.rbac.authorization.k8s.io/kb-mycluster-apecloud-mysql-cluster created
cluster.apps.kubeblocks.io/mycluster-apecloud-mysql-cluster created
k get cluster
NAME                               CLUSTER-DEFINITION   VERSION           TERMINATION-POLICY   STATUS     AGE
mycluster                          mongodb              mongodb-5.0.14    Halt                 Creating   45m
mycluster-apecloud-mysql-cluster   apecloud-mysql       ac-mysql-8.0.30   Halt                 Creating   8m23s
k get pod
No resources found in default namespace.
k get pvc
NAME                                            STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS      AGE
data-mycluster-mongodb-1                        Bound    pvc-deb23e51-281c-47ad-8e84-1a293d78d3a0   20Gi       RWO            csi-hostpath-sc   108m
data-mycluster-mongodb-2                        Bound    pvc-339f3947-ecb1-45c2-85f0-16f83aa9a7cc   20Gi       RWO            csi-hostpath-sc   108m
data-mycluster-mongodb-0                        Bound    pvc-f57793eb-796d-4fe8-a90a-4781adc6ed2b   20Gi       RWO            csi-hostpath-sc   108m
data-mycluster-apecloud-mysql-cluster-mysql-1   Bound    pvc-933f37c0-fbe3-488a-ad9e-a1bde6445a8a   1Gi        RWO            csi-hostpath-sc   11m
data-mycluster-apecloud-mysql-cluster-mysql-2   Bound    pvc-85f7620f-df22-42f4-b98d-2083da51b9d9   1Gi        RWO            csi-hostpath-sc   11m
data-mycluster-apecloud-mysql-cluster-mysql-0   Bound    pvc-e68c37f0-b4b2-4726-817b-0283d0fc5ac5   1Gi        RWO            csi-hostpath-sc   11m
k describe cluster mycluster-apecloud-mysql-cluster
Name:         mycluster-apecloud-mysql-cluster
Namespace:    default
Labels:       app.kubernetes.io/instance=mycluster
              app.kubernetes.io/managed-by=Helm
              app.kubernetes.io/name=apecloud-mysql-cluster
              app.kubernetes.io/version=8.0.30
              helm.sh/chart=apecloud-mysql-cluster-0.6.0-alpha.15
Annotations:  <none>
API Version:  apps.kubeblocks.io/v1alpha1
Kind:         Cluster
Metadata:
  Creation Timestamp:  2023-06-14T03:43:01Z
  Generation:          1
  Resource Version:    12268
  UID:                 48002f63-dfba-49c1-a8ec-860e96942e75
Spec:
  Affinity:
    Pod Anti Affinity:  Preferred
    Tenancy:            SharedNode
    Topology Keys:
      kubernetes.io/hostname
  Cluster Definition Ref:  apecloud-mysql
  Cluster Version Ref:     ac-mysql-8.0.30
  Component Specs:
    Component Def Ref:  mysql
    Enabled Logs:
      slow
      error
    Monitor:               false
    Name:                  mysql
    No Create PDB:         false
    Replicas:              3
    Service Account Name:  kb-mycluster-apecloud-mysql-cluster
    Volume Claim Templates:
      Name:  data
      Spec:
        Access Modes:
          ReadWriteOnce
        Resources:
          Requests:
            Storage:   1Gi
  Termination Policy:  Halt
Status:
  Conditions:
    Last Transition Time:  2023-06-14T03:43:01Z
    Message:               not equal to last applied cluster.spec.componentSpecs[mysql].classDefRef={"class":"general-0.5c0.5g"}; add 'clusters.apps.kubeblocks.io/allow-inconsistent-resource=true' annotation to void this check
    Reason:                HaltRecoveryFailed
    Status:                False
    Type:                  HaltRecovery
  Phase:                   Creating
Events:
  Type     Reason              Age                From                Message
  ----     ------              ----               ----                -------
  Warning  HaltRecoveryFailed  10m (x2 over 10m)  cluster-controller  not equal to last applied cluster.spec.componentSpecs[mysql].classDefRef={"class":"general-0.5c0.5g"}; add 'clusters.apps.kubeblocks.io/allow-inconsistent-resource=true' annotation to void this check

mongodb the same problem exists

k describe cluster mycluster-apecloud-mysql-cluster
Name:         mycluster-apecloud-mysql-cluster
Namespace:    default
Labels:       app.kubernetes.io/instance=mycluster
              app.kubernetes.io/managed-by=Helm
              app.kubernetes.io/name=apecloud-mysql-cluster
              app.kubernetes.io/version=8.0.30
              helm.sh/chart=apecloud-mysql-cluster-0.6.0-alpha.15
Annotations:  <none>
API Version:  apps.kubeblocks.io/v1alpha1
Kind:         Cluster
Metadata:
  Creation Timestamp:  2023-06-14T03:43:01Z
  Generation:          1
  Resource Version:    12268
  UID:                 48002f63-dfba-49c1-a8ec-860e96942e75
Spec:
  Affinity:
    Pod Anti Affinity:  Preferred
    Tenancy:            SharedNode
    Topology Keys:
      kubernetes.io/hostname
  Cluster Definition Ref:  apecloud-mysql
  Cluster Version Ref:     ac-mysql-8.0.30
  Component Specs:
    Component Def Ref:  mysql
    Enabled Logs:
      slow
      error
    Monitor:               false
    Name:                  mysql
    No Create PDB:         false
    Replicas:              3
    Service Account Name:  kb-mycluster-apecloud-mysql-cluster
    Volume Claim Templates:
      Name:  data
      Spec:
        Access Modes:
          ReadWriteOnce
        Resources:
          Requests:
            Storage:   1Gi
  Termination Policy:  Halt
Status:
  Conditions:
    Last Transition Time:  2023-06-14T03:43:01Z
    Message:               not equal to last applied cluster.spec.componentSpecs[mysql].classDefRef={"class":"general-0.5c0.5g"}; add 'clusters.apps.kubeblocks.io/allow-inconsistent-resource=true' annotation to void this check
    Reason:                HaltRecoveryFailed
    Status:                False
    Type:                  HaltRecovery
  Phase:                   Creating
Events:
  Type     Reason              Age                From                Message
  ----     ------              ----               ----                -------
  Warning  HaltRecoveryFailed  10m (x2 over 10m)  cluster-controller  not equal to last applied cluster.spec.componentSpecs[mysql].classDefRef={"class":"general-0.5c0.5g"}; add 'clusters.apps.kubeblocks.io/allow-inconsistent-resource=true' annotation to void this check
➜  ~ git:(main) ✗ k describe cluster mycluster
Name:         mycluster
Namespace:    default
Labels:       app.kubernetes.io/instance=mycluster
              app.kubernetes.io/managed-by=Helm
              app.kubernetes.io/name=mongodb-cluster
              app.kubernetes.io/version=5.0.14
              helm.sh/chart=mongodb-cluster-0.6.0-alpha.15
Annotations:  <none>
API Version:  apps.kubeblocks.io/v1alpha1
Kind:         Cluster
Metadata:
  Creation Timestamp:  2023-06-14T03:05:53Z
  Generation:          1
  Resource Version:    8990
  UID:                 202a296c-ed94-4ad6-9f4c-cc4613e5fd77
Spec:
  Affinity:
    Pod Anti Affinity:  Preferred
    Tenancy:            SharedNode
    Topology Keys:
      kubernetes.io/hostname
  Cluster Definition Ref:  mongodb
  Cluster Version Ref:     mongodb-5.0.14
  Component Specs:
    Component Def Ref:     mongodb
    Monitor:               false
    Name:                  mongodb
    No Create PDB:         false
    Replicas:              3
    Service Account Name:  kb-mycluster-mongodb-cluster
    Volume Claim Templates:
      Name:  data
      Spec:
        Access Modes:
          ReadWriteOnce
        Resources:
          Requests:
            Storage:   20Gi
  Termination Policy:  Halt
Status:
  Conditions:
    Last Transition Time:  2023-06-14T03:08:53Z
    Message:               not equal to last applied cluster.spec.componentSpecs[mongodb].classDefRef={"class":""}; add 'clusters.apps.kubeblocks.io/allow-inconsistent-resource=true' annotation to void this check
    Reason:                HaltRecoveryFailed
    Status:                False
    Type:                  HaltRecovery
  Phase:                   Creating
Events:
  Type     Reason              Age                From                Message
  ----     ------              ----               ----                -------
  Warning  HaltRecoveryFailed  48m (x2 over 48m)  cluster-controller  not equal to last applied cluster.spec.componentSpecs[mongodb].classDefRef={"class":""}; add 'clusters.apps.kubeblocks.io/allow-inconsistent-resource=true' annotation to void this check
  Warning  HaltRecoveryFailed  45m (x3 over 45m)  cluster-controller  not equal to last applied cluster.spec.componentSpecs[mongodb].classDefRef={"class":""}; add 'clusters.apps.kubeblocks.io/allow-inconsistent-resource=true' annotation to void this check
nashtsai commented 1 year ago

insufficient evidence, should provide PVC's age as well, as last-applied-cluster info is recorded in PVC's annotations, do provider PVC's annotations, and should show k get cluster <cluster> manifest before delete the cluster.

k get cluster
NAME                               CLUSTER-DEFINITION   VERSION           TERMINATION-POLICY   STATUS     AGE
mycluster-apecloud-mysql-cluster   apecloud-mysql       ac-mysql-8.0.30   Halt                 Running    3m3s
  Warning  HaltRecoveryFailed  10m (x2 over 10m)  cluster-controller  not equal to last applied cluster.spec.componentSpecs[mysql].classDefRef={"class":"general-0.5c0.5g"}; add 'clusters.apps.kubeblocks.io/allow-inconsistent-resource=true' annotation to void this check
linghan-hub commented 1 year ago
k get cluster
NAME                               CLUSTER-DEFINITION   VERSION             TERMINATION-POLICY   STATUS    AGE
mycluster-apecloud-mysql-cluster   apecloud-mysql       ac-mysql-8.0.30     Halt                 Running   2m7s

k get cluster mycluster-apecloud-mysql-cluster -oyaml
apiVersion: apps.kubeblocks.io/v1alpha1
kind: Cluster
metadata:
  creationTimestamp: "2023-06-16T06:23:17Z"
  finalizers:
  - cluster.kubeblocks.io/finalizer
  generation: 2
  labels:
    app.kubernetes.io/instance: mycluster
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: apecloud-mysql-cluster
    app.kubernetes.io/version: 8.0.30
    clusterdefinition.kubeblocks.io/name: apecloud-mysql
    clusterversion.kubeblocks.io/name: ac-mysql-8.0.30
    helm.sh/chart: apecloud-mysql-cluster-0.6.0-alpha.17
  name: mycluster-apecloud-mysql-cluster
  namespace: default
  resourceVersion: "72759"
  uid: d3fb0ed9-cd6e-4ad8-ab13-590418888920
spec:
  affinity:
    podAntiAffinity: Preferred
    tenancy: SharedNode
    topologyKeys:
    - kubernetes.io/hostname
  clusterDefinitionRef: apecloud-mysql
  clusterVersionRef: ac-mysql-8.0.30
  componentSpecs:
  - classDefRef:
      class: custom-0.1c0.5g
    componentDefRef: mysql
    enabledLogs:
    - slow
    - error
    monitor: false
    name: mysql
    noCreatePDB: false
    replicas: 3
    resources:
      limits:
        cpu: 100m
        memory: 512Mi
      requests:
        cpu: 100m
        memory: 512Mi
    serviceAccountName: kb-mycluster-apecloud-mysql-cluster
    volumeClaimTemplates:
    - name: data
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 1Gi
  terminationPolicy: Halt
status:
  clusterDefGeneration: 2
  components:
    mysql:
      consensusSetStatus:
        followers:
        - accessMode: Readonly
          name: follower
          pod: mycluster-apecloud-mysql-cluster-mysql-0
        - accessMode: Readonly
          name: follower
          pod: mycluster-apecloud-mysql-cluster-mysql-2
        leader:
          accessMode: ReadWrite
          name: leader
          pod: mycluster-apecloud-mysql-cluster-mysql-1
      phase: Running
      podsReady: true
      podsReadyTime: "2023-06-16T06:23:39Z"
  conditions:
  - lastTransitionTime: "2023-06-16T06:23:17Z"
    message: 'The operator has started the provisioning of Cluster: mycluster-apecloud-mysql-cluster'
    observedGeneration: 2
    reason: PreCheckSucceed
    status: "True"
    type: ProvisioningStarted
  - lastTransitionTime: "2023-06-16T06:23:18Z"
    message: Successfully applied for resources
    observedGeneration: 2
    reason: ApplyResourcesSucceed
    status: "True"
    type: ApplyResources
  - lastTransitionTime: "2023-06-16T06:23:39Z"
    message: all pods of components are ready, waiting for the probe detection successful
    reason: AllReplicasReady
    status: "True"
    type: ReplicasReady
  - lastTransitionTime: "2023-06-16T06:25:08Z"
    message: 'Cluster: mycluster-apecloud-mysql-cluster is ready, current phase is
      Running'
    reason: ClusterReady
    status: "True"
    type: Ready
  observedGeneration: 2
  phase: Running

k get cluster,pod,pvc -l app.kubernetes.io/instance=mycluster-apecloud-mysql-cluster
NAME                                           READY   STATUS    RESTARTS   AGE
pod/mycluster-apecloud-mysql-cluster-mysql-0   4/4     Running   0          2m
pod/mycluster-apecloud-mysql-cluster-mysql-1   4/4     Running   0          2m
pod/mycluster-apecloud-mysql-cluster-mysql-2   4/4     Running   0          2m

NAME                                                                  STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
persistentvolumeclaim/data-mycluster-apecloud-mysql-cluster-mysql-0   Bound    pvc-420a8090-8546-49b6-8ad0-a3b535cc1e0c   1Gi        RWO            gp3            2m
persistentvolumeclaim/data-mycluster-apecloud-mysql-cluster-mysql-1   Bound    pvc-db7ce6d1-fcc2-4908-a6e4-cce9ff24cfda   1Gi        RWO            gp3            2m
persistentvolumeclaim/data-mycluster-apecloud-mysql-cluster-mysql-2   Bound    pvc-f1fcbddc-4d2a-498e-b601-f440c31b2719   1Gi        RWO            gp3            2m
k get cluster,pod,pvc -l app.kubernetes.io/instance=mycluster-apecloud-mysql-cluster
NAME                                           READY   STATUS        RESTARTS   AGE
pod/mycluster-apecloud-mysql-cluster-mysql-0   3/4     Terminating   0          4m58s
pod/mycluster-apecloud-mysql-cluster-mysql-2   3/4     Terminating   0          4m58s

NAME                                                                  STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
persistentvolumeclaim/data-mycluster-apecloud-mysql-cluster-mysql-0   Bound    pvc-420a8090-8546-49b6-8ad0-a3b535cc1e0c   1Gi        RWO            gp3            4m58s
persistentvolumeclaim/data-mycluster-apecloud-mysql-cluster-mysql-1   Bound    pvc-db7ce6d1-fcc2-4908-a6e4-cce9ff24cfda   1Gi        RWO            gp3            4m58s
persistentvolumeclaim/data-mycluster-apecloud-mysql-cluster-mysql-2   Bound    pvc-f1fcbddc-4d2a-498e-b601-f440c31b2719   1Gi        RWO            gp3            4m58s

k get pvc data-mycluster-apecloud-mysql-cluster-mysql-0 -oyaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  annotations:
    apps.kubeblocks.io/last-applied-cluster: '{"metadata":{"name":"mycluster-apecloud-mysql-cluster","uid":"d3fb0ed9-cd6e-4ad8-ab13-590418888920","creationTimestamp":null},"spec":{"clusterDefinitionRef":"apecloud-mysql","clusterVersionRef":"ac-mysql-8.0.30","terminationPolicy":"Halt","componentSpecs":[{"name":"mysql","componentDefRef":"mysql","classDefRef":{"class":"custom-0.1c0.5g"},"enabledLogs":["slow","error"],"replicas":3,"resources":{"limits":{"cpu":"100m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"512Mi"}},"volumeClaimTemplates":[{"name":"data","spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}}}}],"serviceAccountName":"kb-mycluster-apecloud-mysql-cluster"}],"affinity":{"podAntiAffinity":"Preferred","topologyKeys":["kubernetes.io/hostname"],"tenancy":"SharedNode"}},"status":{}}'
    pv.kubernetes.io/bind-completed: "yes"
    pv.kubernetes.io/bound-by-controller: "yes"
    volume.beta.kubernetes.io/storage-provisioner: ebs.csi.aws.com
    volume.kubernetes.io/selected-node: ip-10-0-3-55.cn-northwest-1.compute.internal
    volume.kubernetes.io/storage-provisioner: ebs.csi.aws.com
  creationTimestamp: "2023-06-16T06:23:17Z"
  finalizers:
  - kubernetes.io/pvc-protection
  labels:
    app.kubernetes.io/instance: mycluster-apecloud-mysql-cluster
    app.kubernetes.io/managed-by: kubeblocks
    app.kubernetes.io/name: apecloud-mysql
    apps.kubeblocks.io/component-name: mysql
    apps.kubeblocks.io/vct-name: data
    kubeblocks.io/volume-type: data
  name: data-mycluster-apecloud-mysql-cluster-mysql-0
  namespace: default
  resourceVersion: "73639"
  uid: 420a8090-8546-49b6-8ad0-a3b535cc1e0c
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
  storageClassName: gp3
  volumeMode: Filesystem
  volumeName: pvc-420a8090-8546-49b6-8ad0-a3b535cc1e0c
status:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 1Gi
  phase: Bound
iziang commented 1 year ago

duplicate with https://github.com/apecloud/kubeblocks/issues/3770