-
Notifications
You must be signed in to change notification settings - Fork 520
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 two-deployment mode #159
Conversation
@dmitryax I think this branch is in a pretty good spot with this refactor but there are so many changes I need an extra set of eyes. Key things I tackled:
Still need to add upgrade.md and readme changes, but wanted more eyes before I wrote documentation in case something big changes. |
@dmitryax how should we handle this scenario: A customer is depending on the default value of
The way I've written this refactor so far will not use their resource.limits since the new default value in the values.yaml for If I do that I think it'll be tricky to deal with customers who want to use |
I agree that At some point in future we can make 2-step upgrade.
How does it sound? |
I can actually see us always leaving mode unset and forcing it to be set so that we force intentionality. I'm going back and forth on if we should ever default to All that said, I think the more pressing matter is the comment I just left in #157. Having to leave |
@dmitryax Updated charts to have |
@dmitryax ready for official review. Lots of files, but 70% of them are examples/ or ci/. |
@dmitryax ready for round 2 |
@dmitryax ready for round 3. |
charts/opentelemetry-collector/examples/daemonset-collector-logs/values.yaml
Outdated
Show resolved
Hide resolved
…gs/values.yaml Co-authored-by: Dmitrii Anoshin <[email protected]>
Thanks @TylerHelmuth. Nicely done! |
Fixes #157
Removes the capability to install both the agent and deployment collector at the same time. values.yaml containing both
agentCollector.enabled=true
andstandaloneCollector.enabled=true
will failhelm install
andhelm upgrade
commands.The charts now support a simplified
mode=daemonset
or mode=deployment
. The top-level config section in the values.yaml can now be modified and will be merged into the default .Values.Config. If there is a section of the default config you don't need you can remove it withnull
.Single usage of
agentCollector.enabled=true
andstandaloneCollector.enabled=true
are still supported for backwards compatibility. IfagentCollector.enabled=true
orstandaloneCollector.enabled=true
are used, their settings will take precedence overmode
.