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

[Bugfix] remove chart function kube-starrocks.name #292

Conversation

yandongxiao
Copy link
Collaborator

@yandongxiao yandongxiao commented Oct 27, 2023

Fixes: #275

If starrocks.initPassword.enabled is true, and the value of starrocks.starrocksCluster.name is set, it will cause an issue. When the value starrocks.starrocksCluster.name is set, the service hostname will follows while the hostname inside the initpwd still using the chart name.

If starrocks.initPassword.enabled is true, and the value of starrocks.starrocksCluster.name is set, it will cause an issue.
When the value starrocks.starrocksCluster.name is set, the service hostname will follows while the hostname inside the initpwd still using the chart name.

Signed-off-by: yandongxiao <[email protected]>
Copy link
Collaborator

@kevincai kevincai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the consequence of chart upgrade in terms of the name is set or not set?

@yandongxiao
Copy link
Collaborator Author

If starrocks.starrocksCluster.name is not set, the result of helm template will remain the same as before. If starrocks.starrocksCluster.name is set and is different from the value of nameOverride, the old configmaps for FE, BE, and CN will be deleted. New configmaps with the new name for FE, BE, and CN will be created. This may result in the restart of FE/BE/CN pods. I need to confirm this again.

@yandongxiao
Copy link
Collaborator Author

I have confirmed FE/BE/CN pod will be restarted.

@kevincai
Copy link
Collaborator

I have confirmed FE/BE/CN pod will be restarted.

will it affect the statefulset, will the statefulset be deleted and recreated?

@yandongxiao
Copy link
Collaborator Author

No. The pod will be restarted because the configmap name of fe.conf will be changed

@kevincai kevincai merged commit 57bbb12 into StarRocks:main Oct 27, 2023
7 checks passed
@yandongxiao yandongxiao added the bugfix fix something that does not work label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix fix something that does not work
Projects
None yet
2 participants