Skip to content

Instantly share code, notes, and snippets.

@janeczku
Created November 2, 2020 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janeczku/6aa3c318efd68be2896bd8052bd25f3f to your computer and use it in GitHub Desktop.
Save janeczku/6aa3c318efd68be2896bd8052bd25f3f to your computer and use it in GitHub Desktop.
Use Prometheus Operator with existing PV
```yaml
prometheus:
prometheusSpec:
storageSpec:
volumeClaimTemplate:
spec:
dataSource:
kind: PersistentVolumeClaim
name: existing-pvc # should exist in prometheus operator namespace
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment