Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] failed to find default cluster version #8176

Closed
shuoshadow opened this issue Sep 20, 2024 · 5 comments · Fixed by apecloud/kubeblocks-addons#1059
Closed

[BUG] failed to find default cluster version #8176

shuoshadow opened this issue Sep 20, 2024 · 5 comments · Fixed by apecloud/kubeblocks-addons#1059
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@shuoshadow
Copy link

shuoshadow commented Sep 20, 2024

Describe the bug
[ failed to find default cluster](error: : failed to find default cluster version referencing cluster definition or component definition)

addon of elasticsearch has enabled

To Reproduce
Steps to reproduce the behavior:
1、 kbcli cluster create elasticsearch elasticsearch

image

image

image

@shuoshadow shuoshadow added the kind/bug Something isn't working label Sep 20, 2024
@shanshanying
Copy link
Contributor

Hi @shuoshadow

thanks for reporting the issue. @iziang could pls help take a look.

@iziang
Copy link
Contributor

iziang commented Sep 23, 2024

@shuoshadow Please install the latest beta version 0.9.1-beta.13 and try again.

curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s 0.9.1-beta.13

@shuoshadow
Copy link
Author

@shuoshadow Please install the latest beta version 0.9.1-beta.13 and try again.

curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s 0.9.1-beta.13

Tanks very much, I upgraded kbctl to version 0.9.1-beta.13 and successfully deployed es cluster.
image

@iziang
Copy link
Contributor

iziang commented Sep 23, 2024

ok, currently kbcli only supports creating version 8.8.2. If you need to create a different version, you can use the kbcli cluster create elasticsearch --dry-run -oyaml command to export the YAML first, then modify it to the desired version, and finally apply it using kubectl apply -f <yaml-file>.

@iziang
Copy link
Contributor

iziang commented Sep 23, 2024

In future versions of kbcli, we will support for creating specified versions. I will close this issue for now. If there are any problems, feel free to reopen it.

@iziang iziang closed this as completed Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants