Hi All, I have been working on detecting the idle containers in appcloud. I have installed Heapster on Kubernetes and Heapster Metric Model gives only up to 15 minutes of historical data for any Container.
I have tried adding the flag "-model_resolution" and making it more than 30s, but the flag can not be set as it gives errors when installing the replication controller of heapster. Then I have tried adding "start=X&end=Y" to the end of the API endpoint, but it gives the same response that gives without adding that part. AFAIU if the database of heapster, influxdb stores all the data from 30s to 30s, it needs a huge storage. Therefore it stores only up to 15 minutes of historical data at any moment. To find the idle containers of appcloud, the resource usage details of the containers have to be stored for a longer period than 15 minutes. One of the approaches would be to use another database and store the resource usage details of containers checking whether the container has been idle for a period of 5 days. I highly appreciate your suggestions on the approaches that can be taken regarding this. Thank you. -- Malmee Weerasinghe WSO2 Intern mobile : (+94)* 71 7601905* | email : <[email protected]> [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
