Isaac Prior df93d31fe0 Moves monasca-thresh java.io.tmpdir to existing docker volume
This prevents the container's root filesystem from filling up.

Change-Id: Icc5a08c82312d6688edf2ef36562967ac94e8ac9
Depends-On: https://review.opendev.org/#/c/674779
Closes-Bug: #1839149
2019-08-06 14:18:30 +00:00

30 lines
994 B
Django/Jinja

{
"command": "/opt/storm/bin/storm jar /monasca-thresh-source/monasca-thresh-*/thresh/target/monasca-thresh-*-SNAPSHOT-shaded.jar -Djava.io.tmpdir=/var/lib/monasca-thresh/data monasca.thresh.ThresholdingEngine /etc/monasca/thresh-config.yml monasca-thresh local",
"config_files": [
{
"source": "{{ container_config_directory }}/thresh-config.yml",
"dest": "/etc/monasca/thresh-config.yml",
"owner": "monasca",
"perm": "0600"
},
{
"source": "/var/lib/kolla/config_files/storm.yml",
"dest": "/opt/storm/conf/storm.yaml",
"owner": "monasca",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/log/kolla/monasca",
"owner": "monasca:kolla",
"recurse": true
},
{
"path": "/var/lib/monasca-thresh",
"owner": "monasca:kolla",
"recurse": true
}
]
}