Comments (4)
Same went for store-gateway. It had an error:
level=warn ts=2021-01-12T11:07:50.560293065Z caller=bucket_stores.go:127 msg="failed to synchronize TSDB blocks" err="mkdir tsdb-sync: read-only file system"
I fixed it by specifying it's data dir:
blocks_storage:
bucket_store:
sync_dir: "data"
Assuming that's how it should be configured it would be good to add it to the helm chart.
from cortex-helm-chart.
I think this is related to the fact that the tsdb configuration defaults to the directory "tsdb". Have a look here https://cortexmetrics.io/docs/configuration/configuration-file/#blocks_storage_config and scroll down to the tsdb section.
I've also noticed that when using blocks_storage the /data directory is not being used. My guess is /data is used for chunks storage and therefore the helm chart mounts that as a pvc (if you're running the ingester as a statefulset).
If that is true then I think the tsdb should be stored in /data as well. To do that all you'd need to set is the following:
blocks_storage:
backend: s3
tsdb:
dir: "/data"
Also if you're using the WAL you can't have the tsdb located in an emptyDir since the WAL would be located alongside it IIRC (so the wal would be lost on pod failures/restarts).
If the above is correct then I think the documentation needs to be updated.
from cortex-helm-chart.
For the record this can be worked around by setting these properties in the values.yaml, even with the current version:
ingester:
extraVolumes:
- name: tsdb
emptyDir: {}
extraVolumeMounts:
- name: tsdb
mountPath: /tsdb
from cortex-helm-chart.
Why is this issue closed if it is not fixed? The workaround doesn't mean that issue is fixed.
from cortex-helm-chart.
Related Issues (20)
- Exposing 9094 tcp port for alertmanager HOT 12
- Error with usage of Max Chunk Age HOT 1
- Memcache installed regardless of whether or not it is enabled
- Enable HPA on QueryFrontend when QueryScheduler is enabled HOT 1
- Add targetLabels to Prometheus ServiceMonitor CRDs HOT 1
- Add securityContext to memcached metrics containers
- New release? HOT 2
- Upgrade Image from v1.13.0 to v1.14.1 Using chart v2.1.0 fails error loading config from /etc/cortex/cortex.yaml: Error parsing config file: yaml: unmarshal errors HOT 4
- Expose ServiceMonitor labels for memcached instances and make format consistent HOT 2
- Default use of memberlist (ingester) and consul (distributor/ruler)? HOT 2
- Default values continue to cause alertmanager templates to be deleted HOT 4
- cortex-store-gateway-0 stateful set always shows as starting and also restarting frequently HOT 1
- Do not set .spec.replicas for store-gateway if autoscaling is enabled HOT 2
- Create a production ready values files HOT 4
- Optionally expose Ruler rules endpoint in nginx ingress
- Chart.yaml on release 2.1.0 uses cortex v1.14.1, should use 1.15.3 HOT 2
- Upgrade to Cortex 1.15.x fails HOT 8
- Should purger work with query-frontend? HOT 2
- Disable livenessprobe by default HOT 1
- Create a new release HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cortex-helm-chart.