-
Notifications
You must be signed in to change notification settings - Fork 148
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
Added support for maxDiskUsagePerURL and forceVMProto in vmagent remoteWriteSpec #1117
Added support for maxDiskUsagePerURL and forceVMProto in vmagent remoteWriteSpec #1117
Conversation
config/base/kustomization.yaml
Outdated
@@ -4,3 +4,9 @@ patches: | |||
- path: manager_webhook_patch.yaml | |||
target: | |||
kind: Deployment | |||
apiVersion: kustomize.config.k8s.io/v1beta1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leandregagnonlewis could you please reset changes in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Could you please mention changes at docs/changelog.md ?
updated changelog
23be6f1
to
8c99c3a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for contribution! |
Describe Your Changes
Added two fields to
VMAgentRemoteWriteSpec
:forceVMProto
maxDiskUsage
This allows to easily configure different remote write destination without using the
extraArgs
.When only some of the remote write destinations are set, the others are set to the default value of
"1073741824"
which was the default value set inVMAgentRemoteWriteSettings
.If
maxDiskUsage
is set in bothVMAgentRemoteWriteSettings
andVMAgentRemoteWriteSpec
, onlyVMAgentRemoteWriteSpec
is used. IfextraArgs
is also used,extraArgs
still takes precedence.For
forceVMProto
, it is also overriden byextraArgs
if the flag is set there.