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

Remove .Values.oap.initEs and replace with Helm Hooks #95

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

kezhenxu94
Copy link
Member

.Values.oap.initEs was introduced in #88 to workaround the issue described in apache/skywalking#9290

With Helm Chart Hooks we can solve this problem better, this is how it works.

After all resources loaded into Kubernetes, Helm run the oap-init job, after the oap-init job successfully completed, Helm delete oap-init, next time when you do Helm upgrade, Helm will again deploy oap-init job and when it succeeds Helm will delete oap-init again, so there is no error when you redeploy/upgrade SkyWalking deployment.

JUST FYI @williamyao1982

@kezhenxu94 kezhenxu94 added this to the 4.4.0 milestone Nov 17, 2022
@kezhenxu94
Copy link
Member Author

This PR also renames chart/skywalking/templates/es-init.job.yaml to chart/skywalking/templates/oap-init.job.yaml because I plan to also support initializing other database storage in this job.

Copy link
Member

@wu-sheng wu-sheng left a comment

Choose a reason for hiding this comment

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

This seems a very good improvement, a lot of users were confused due to this initialization process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants