Grafana-agent-operator: ability to run Integration as a StatefulSet #4763
Labels
enhancement
New feature or request
operator
Grafana Agent Operator related
variant/operator
Related to Grafana Agent Static Operator.
Request
When trying to run
eventhandler
as a logs integration, we need a volume to store the event cache.I'm creating this with a PVC and attaching it to the
Integration
:However, the integration runs as a
Deployment
, and when a new pod comes up (e.g. due to other changes such as a new grafana agent version), then the new pod comes up but is unable to mount the volume as it is already in use.My first preference would be to be have the integration as a
StatefulSet
instead.Second prize would be to at least be able to set the
Deployment
'sstrategy.type
toRecreate
instead of the default ofRollingUpdate
.Use case
Stateful integrations.
The text was updated successfully, but these errors were encountered: