kubeblocks icon indicating copy to clipboard operation
kubeblocks copied to clipboard

[Improvement] kbcli support connect cluster create with cmpd new API

Open JashBook opened this issue 10 months ago • 1 comments

Is your improvement request related to a problem? Please describe.

  1. create cluster with cmpd
apiVersion: apps.kubeblocks.io/v1alpha1
kind: Cluster
metadata:
  name: mysql-qszwbj
  namespace: default
spec:
  componentSpecs:
  - componentDef: apecloud-mysql
    monitor: false
    name: mysql
    replicas: 1
    resources:
      limits:
        cpu: 100m
        memory: 512Mi
      requests:
        cpu: 100m
        memory: 512Mi
    serviceVersion: 8.0.30
    volumeClaimTemplates:
    - name: data
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 1Gi
  terminationPolicy: WipeOut
  1. see error
kbcli cluster connect mysql-qszwbj
error: fail to get the target engine type
kbcli version
Kubernetes: v1.26.3
KubeBlocks: 0.9.0-beta.2
kbcli: 0.9.0-beta.0

If this is a new function, please describe the motivation and goals.

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or functions you've considered.

Additional context

JashBook avatar Apr 03 '24 07:04 JashBook

This issue has been marked as stale because it has been open for 30 days with no activity

github-actions[bot] avatar May 06 '24 00:05 github-actions[bot]