Skip to content

Commit 2f2f348

Browse files
authored
Implement liveness checks for Core Services (#93)
* Update Core charts to include liveness checks * Fix port in Iris livenessProbe
1 parent ba352f9 commit 2f2f348

File tree

18 files changed

+93
-24
lines changed

18 files changed

+93
-24
lines changed

neon_diana_utils/helm_charts/base/base-neon/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name: base-neon
33
description: Library chart for basic Neon Core Services
44

55
type: library
6-
version: 0.0.6
6+
version: 0.0.7
77
appVersion: "1.0.1a37"

neon_diana_utils/helm_charts/base/base-neon/templates/_deployment.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ spec:
2525
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
2626
imagePullPolicy: {{ .Values.image.pullPolicy }}
2727
name: {{ default .Chart.Name .Values.serviceName }}
28+
{{- if .Values.startupProbe }}
29+
startupProbe:
30+
{{- toYaml .Values.startupProbe | nindent 12 -}}
31+
{{- end }}
2832
{{- if .Values.livenessProbe }}
2933
livenessProbe:
3034
{{- toYaml .Values.livenessProbe | nindent 12 -}}

neon_diana_utils/helm_charts/neon/core/Chart.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,34 @@ name: neon-core
33
description: Deploy Neon Core Services
44

55
type: application
6-
version: 0.0.12
6+
version: 0.0.14
77
appVersion: "1.0.1a37"
88
dependencies:
99
- name: neon-messagebus
1010
alias: neon-messagebus
11-
version: 0.0.8
11+
version: 0.0.9
1212
repository: file://../neon-messagebus
1313
- name: neon-speech
1414
alias: neon-speech
15-
version: 0.0.8
15+
version: 0.0.9
1616
repository: file://../neon-speech
1717
- name: neon-skills
1818
alias: neon-skills
19-
version: 0.0.9
19+
version: 0.0.10
2020
repository: file://../neon-skills
2121
- name: neon-audio
2222
alias: neon-audio
23-
version: 0.0.9
23+
version: 0.0.10
2424
repository: file://../neon-audio
2525
- name: neon-enclosure
2626
alias: neon-enclosure
27-
version: 0.0.7
27+
version: 0.0.8
2828
repository: file://../neon-enclosure
2929
- name: neon-gui
3030
alias: neon-gui
31-
version: 0.0.7
31+
version: 0.0.8
3232
repository: file://../neon-gui
3333
- name: neon-iris
3434
alias: iris-gradio
35-
version: 0.0.7
35+
version: 0.0.9
3636
repository: file://../neon-iris

neon_diana_utils/helm_charts/neon/neon-audio/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: neon-audio
33
description: Deploy Neon Core Audio Service
44

55
type: application
6-
version: 0.0.9
6+
version: 0.0.10
77
appVersion: "1.0.1a37"
88

99
dependencies:
1010
- name: base-neon
11-
version: 0.0.6
11+
version: 0.0.7
1212
repository: file://../../base/base-neon

neon_diana_utils/helm_charts/neon/neon-audio/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,13 @@ livenessProbe:
1818
periodSeconds: 10
1919
successThreshold: 1
2020
timeoutSeconds: 1
21+
startupProbe:
22+
failureThreshold: 30
23+
httpGet:
24+
path: /status
25+
port: 8000
26+
scheme: HTTP
27+
periodSeconds: 15
28+
successThreshold: 1
29+
timeoutSeconds: 1
2130

neon_diana_utils/helm_charts/neon/neon-enclosure/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: neon-enclosure
33
description: Deploy Neon Core Enclosure Service
44

55
type: application
6-
version: 0.0.7
6+
version: 0.0.8
77
appVersion: "1.0.1a37"
88

99
dependencies:
1010
- name: base-neon
11-
version: 0.0.6
11+
version: 0.0.7
1212
repository: file://../../base/base-neon

neon_diana_utils/helm_charts/neon/neon-enclosure/values.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,13 @@ livenessProbe:
1818
periodSeconds: 10
1919
successThreshold: 1
2020
timeoutSeconds: 1
21+
startupProbe:
22+
failureThreshold: 30
23+
httpGet:
24+
path: /status
25+
port: 8000
26+
scheme: HTTP
27+
periodSeconds: 15
28+
successThreshold: 1
29+
timeoutSeconds: 1
30+

neon_diana_utils/helm_charts/neon/neon-gui/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: neon-gui
33
description: Deploy Neon Core GUI Service
44

55
type: application
6-
version: 0.0.7
6+
version: 0.0.8
77
appVersion: "1.0.1a37"
88

99
dependencies:
1010
- name: base-neon
11-
version: 0.0.6
11+
version: 0.0.7
1212
repository: file://../../base/base-neon

neon_diana_utils/helm_charts/neon/neon-gui/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,13 @@ livenessProbe:
2222
periodSeconds: 10
2323
successThreshold: 1
2424
timeoutSeconds: 1
25+
startupProbe:
26+
failureThreshold: 30
27+
httpGet:
28+
path: /status
29+
port: 8000
30+
scheme: HTTP
31+
periodSeconds: 15
32+
successThreshold: 1
33+
timeoutSeconds: 1
2534

neon_diana_utils/helm_charts/neon/neon-iris/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: neon-iris
33
description: Deploy Neon IRIS Web UI
44

55
type: application
6-
version: 0.0.7
6+
version: 0.0.9
77
appVersion: "1.0.1a37"
88

99
dependencies:
1010
- name: base-neon
11-
version: 0.0.6
11+
version: 0.0.7
1212
repository: file://../../base/base-neon

0 commit comments

Comments
 (0)