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 in VMAgentRemoteWriteSettings.
If maxDiskUsage is set in both VMAgentRemoteWriteSettings and VMAgentRemoteWriteSpec, only VMAgentRemoteWriteSpec is used. If extraArgs is also used, extraArgs still takes precedence.
For forceVMProto, it is also overriden by extraArgs if the flag is set there.
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.