From 1f7a164bee7abf163ff9804ca238a5e2e08edfaf Mon Sep 17 00:00:00 2001 From: atsag Date: Fri, 29 Nov 2024 12:43:09 +0200 Subject: [PATCH] Exponential smoothing template improvement (#38) --- .../nebulous-exponential-smoothing-predictor/Chart.yaml | 2 +- .../templates/deployment.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/nebulous-exponential-smoothing-predictor/Chart.yaml b/charts/nebulous-exponential-smoothing-predictor/Chart.yaml index 7f64104..4421a77 100755 --- a/charts/nebulous-exponential-smoothing-predictor/Chart.yaml +++ b/charts/nebulous-exponential-smoothing-predictor/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/nebulous-exponential-smoothing-predictor/templates/deployment.yaml b/charts/nebulous-exponential-smoothing-predictor/templates/deployment.yaml index 7e60c50..5688adc 100755 --- a/charts/nebulous-exponential-smoothing-predictor/templates/deployment.yaml +++ b/charts/nebulous-exponential-smoothing-predictor/templates/deployment.yaml @@ -43,13 +43,13 @@ spec: - /bin/sh - -c - stat /home/r_predictions/is_alive.txt && rm /home/r_predictions/is_alive.txt - initialDelaySeconds: 60 - periodSeconds: 10 + initialDelaySeconds: 300 + periodSeconds: 60 readinessProbe: exec: command: - - ls - - /home + - stat + - /home/r_predictions/is_alive.txt resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }}