Skip to content

PVC sizing issues and non-optional log volumes for HA  #231

Description

@mwashley2

I've recently started using memgraph in my organization and we have started low in terms of sizing our PV/PVCs using the SA/HA charts with the idea in mind to grow as needed. I've found that when I do need to increase the PVC size which is normally able to be done without downtime, I get errors to the effect that the statefulset cannot be patched because volumeClaimTemplates within a statefulset are immutable.

My work-around has been to manually patch the pvc to increase it, then delete the statefulset with --cascade=orphan, then I can deploy the updated chart. This will not be ideal once we get to production as privileges will be more limited.

Is it possible to update the chart to manage PVCs separately from the statefulset.

As a separate question to the above (happy to open a separate issue if needed), we will be using flags to send logs to --also-log-to-stderr and "--log-file=" as we'll be shipping logs elsewhere so ideally I'd like to optionally not specify log-related storage and not have those volumes created or mounted. I think a similar if statement to what is used for the coredump volume would suit this. Or is this volume perhaps required at some other level and simply must exist?

Metadata

Metadata

Assignees

Labels

memgraph-haMemgraph HA chart issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions