Skip to content

Conversation

@metalmatze
Copy link
Member

Summary

  • Migrates Parca's storage backend from temporary filesystem to Google Cloud Storage
  • Enables persistent storage of profiling data across pod restarts
  • Addresses the TODO comment about making storage persistent
  • Partially fixes Stabilize and extend Parca retention #630

Changes

  • Updated Parca ConfigMap to use GCS bucket configuration instead of filesystem
  • Added volume mount for GCS service account credentials
  • Removed temporary emptyDir storage volume
  • Added documentation explaining the required external secret setup

Configuration Requirements

This deployment requires a Kubernetes secret named parca-gcs-service-account containing a GCS service account key JSON file. The secret should be created separately with appropriate permissions to read/write to the configured GCS bucket (prometheus-parca-profiles).

@metalmatze metalmatze requested a review from bwplotka June 13, 2025 18:28
This change migrates Parca's storage backend from local filesystem (emptyDir) to Google Cloud Storage for persistent profile storage. The implementation includes:

- Updated Parca ConfigMap to use GCS bucket configuration
- Added volume mount for GCS service account credentials
- Removed temporary emptyDir storage volume
- Added documentation for required external secret setup

The deployment now requires a Kubernetes secret named 'parca-gcs-service-account' containing the GCS service account key JSON to be created separately.

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
@metalmatze
Copy link
Member Author

I'm not sure I can create the necessary secret. I would need some more time to check this.
The config should be good from what I can see. The code was generated by Claude, but I double-checked. It may need some finagling once we have the secret.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stabilize and extend Parca retention

2 participants