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.18k stars 181 forks source link

[BUG]unsupported expose type: vpc on provider EKS on kb1.0 but it runs well on kb0.9 #8476

Closed tianyue86 closed 3 days ago

tianyue86 commented 4 days ago

Describe the env

Kubernetes: v1.30.4-eks-a737599
KubeBlocks: 1.0.0-beta.2
kbcli: 1.0.0-alpha.1

To Reproduce Steps to reproduce the behavior:

  1. An apecloud-mysql cluster in Running status

    k get cluster -A
    NAMESPACE   NAME                     CLUSTER-DEFINITION   TERMINATION-POLICY   STATUS    AGE
    default             mysql-ninaym                                                  Delete                              Running   4h21m
  2. expose mysql-ninaym failed kbcli cluster expose mysql-ninaym --auto-approve --force=true --type vpc --enable true --components mysql --namespace default error: unsupported expose type: vpc on provider EKS

  3. The same scenario runs well on kb0.9 (eks - the same testing environment) https://github.com/apecloud/kubeblocks/actions/runs/11835055091/job/32978654205

    image
yipeng1030 commented 3 days ago

in KB 1.0, expose ops only support types of [intranet|internet], vpc is deprecated. pr is here:

image

https://github.com/apecloud/kbcli/pull/467/files#diff-228dfd53d77d777a840a35fc2b711bbf18dafe36a69f44909d62b8adfc1142c6R844