-
Notifications
You must be signed in to change notification settings - Fork 40.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persistent influxdb data to directory on local host. #10528
Conversation
LGTM, I assume that directory means something to influx |
GCE e2e build/test passed for commit b6cf1134ed7e3b948e8207f5f76812edb423295c. |
LGTM |
I am fine with this change, but I want Dawn to confirm it is working properly and dumping state to this volume and reduces the memory footprint |
Actually it looks like we use a custom InfluxDB config to change the storage dir to |
Ok, I think this pr is ready to have another review now. /opt/influxdb/shared is the default directory of influxdb for configuration and storage. But our heapster version influxdb's storage is moved to /data/db: https://github.com/GoogleCloudPlatform/heapster/blob/master/influxdb/config.toml#L88 I manually tested it by restarting influxdb container on the node, and check monitoring-grafana page, and stats before killing are exist. |
GCE e2e build/test passed for commit ff17623. |
LGTM |
LGTM |
Someone should slap the magic label on it so I remember to merge it in the morning. Or I could do it now. |
done On Tue, Jun 30, 2015 at 10:50 PM, Zach Loafman notifications@github.com
|
Ok, I still observed memory leakage of influxdb. After some research, it is known issue for influxdb 0.8 release which is what we are using here https://github.com/GoogleCloudPlatform/heapster/blob/master/influxdb/Dockerfile#L5. The issue filed against influxdb and latest update can be found at: influxdata/influxdb#1228 (comment) But this pr and upcoming one adding resource limit for addons can help with the situation even with memory leakage since most of stats are persistent to the local host, and restarting such docker container will pick up preexisting stats. cc/ @thockin and @bgrant0607 for TL's lgtm. Thanks! |
@thockin thanks! you are beating me :-) |
LGTM |
Persistent influxdb data to directory on local host.
I just wanted to mention that this change probably led to another issue: #13508. |
Fixed #10497
cc/ @saad-ali