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

Write article on how to do zero downtime upgrades with the operator #475

Open
alberttwong opened this issue Mar 14, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@alberttwong
Copy link
Contributor

alberttwong commented Mar 14, 2024

Upgrade BE nodes
Run the following command to specify a new BE image file, such as starrocks/be-ubuntu:latest:

kubectl -n starrocks patch starrockscluster starrockscluster-sample --type='merge' -p '{"spec":{"starRocksBeSpec":{"image":"starrocks/be-ubuntu:latest"}}}'

Upgrade FE nodes
Run the following command to specify a new FE image file, such as starrocks/fe-ubuntu:latest:

kubectl -n starrocks patch starrockscluster starrockscluster-sample --type='merge' -p '{"spec":{"starRocksFeSpec":{"image":"starrocks/fe-ubuntu:latest"}}}'

Note

The upgrade process lasts for a while. You can run the command kubectl -n starrocks get pods to view the upgrade progress.

Note

In flight SQL statements may need to be re-submitted to StarRocks due to bouncing the containers during the upgrade process.

@alberttwong alberttwong added the enhancement New feature or request label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant