Skip to content

Commit

Permalink
Fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
matthi-g committed Oct 9, 2024
1 parent f632b66 commit 3cecd6e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ ENV kube_monitoring_period=5
ENV openfaas_monitoring_period=5
ENV region_monitoring_period=5
ENV aws_price_monitoring_period=86400
ENV file_cleanup_period=86400

ENTRYPOINT ["java", "-jar" ,"/app/rm-api.jar"]
4 changes: 4 additions & 0 deletions grafana/dashboards/k8spods.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,10 @@
{
"id": "custom.width",
"value": 169
},
{
"id": "unit",
"value": ""
}
]
},
Expand Down
4 changes: 4 additions & 0 deletions kubernetes/rm-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ spec:
# The time period between each monitoring update the aws price list api in minutes
- name: aws_price_monitoring_period
value: "86400"
# The time period between file clean ups of failed deployments.
- name: file_cleanup_period
value: "86400"

resources:
# The resource limits
limits:
Expand Down
12 changes: 8 additions & 4 deletions kubernetes/rm-configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2438,6 +2438,10 @@ data:
{
"id": "decimals",
"value": 0
},
{
"id": "unit",
"value": ""
}
]
},
Expand Down Expand Up @@ -4637,7 +4641,7 @@ data:
"source": "url",
"type": "csv",
"uql": "parse-csv",
"url": "http://victoria-metrics:8428/api/v1/export/csv",
"url": "http://rm-monitoring-vm:8889/api/v1/export/csv",
"url_options": {
"body_content_type": "text/plain",
"body_type": "raw",
Expand Down Expand Up @@ -4831,7 +4835,7 @@ data:
"source": "url",
"type": "csv",
"uql": "parse-csv",
"url": "http://victoria-metrics:8428/api/v1/export/csv",
"url": "http://rm-monitoring-vm:8889/api/v1/export/csv",
"url_options": {
"data": "",
"method": "GET",
Expand Down Expand Up @@ -5129,7 +5133,7 @@ data:
"source": "url",
"type": "csv",
"uql": "parse-csv",
"url": "http://victoria-metrics:8428/api/v1/export/csv",
"url": "http://rm-monitoring-vm:8889/api/v1/export/csv",
"url_options": {
"body_content_type": "text/plain",
"body_type": "raw",
Expand Down Expand Up @@ -5323,7 +5327,7 @@ data:
"source": "url",
"type": "csv",
"uql": "parse-csv",
"url": "http://victoria-metrics:8428/api/v1/export/csv",
"url": "http://rm-monitoring-vm:8889/api/v1/export/csv",
"url_options": {
"data": "",
"method": "GET",
Expand Down

0 comments on commit 3cecd6e

Please # to comment.