Skip to content

Commit 8aa58d1

Browse files
authored
GG-47285 Updated probes, and podManagementPolicy, added publishNotReadyAddresses (#25)
1 parent f4442ed commit 8aa58d1

3 files changed

Lines changed: 17 additions & 6 deletions

File tree

charts/gridgain9/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ type: application
3131
# This is the chart version. This version number should be incremented each time you make changes
3232
# to the chart and its templates, including the app version.
3333
# Versions are expected to follow Semantic Versioning (https://semver.org/)
34-
version: 1.1.8
34+
version: 1.1.9
3535

3636
# This is the version number of the application being deployed. This version number should be
3737
# incremented each time you make changes to the application. Versions are not expected to
3838
# follow Semantic Versioning. They should reflect the version the application is using.
3939
# It is recommended to use it with quotes.
40-
appVersion: "9.1.16"
40+
appVersion: "9.1.18"

charts/gridgain9/templates/service.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ spec:
4141
{{- if $value.sessionAffinity }}
4242
sessionAffinity: {{ $value.sessionAffinity }}
4343
{{- end }}
44+
{{- if $value.publishNotReadyAddresses }}
45+
publishNotReadyAddresses: {{ $value.publishNotReadyAddresses }}
46+
{{- end }}
4447
ports:
4548
{{- range $name, $port := $value.ports }}
4649
- name: {{ $name }}

charts/gridgain9/values.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ image:
3232
imagePullSecrets: []
3333

3434
# -- Optionally specify GridGain statefulset [podManagementPolicy](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies)
35-
podManagementPolicy: OrderedReady
35+
# -- Default value is Parallel so the StatefulSet controller doesn't wait the pod to become ready in order to start new one.
36+
podManagementPolicy: Parallel
3637
# -- The maximum number of revisions that will be maintained in the StatefulSet's [revision history](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#revision-history-limit)
3738
revisionHistoryLimit: 10
3839

@@ -188,7 +189,7 @@ livenessProbe:
188189
enabled: true
189190
# -- Path and port for probe
190191
httpGet:
191-
path: /management/v1/node/state
192+
path: /health/liveness
192193
port: 10300
193194
# -- Initial delay seconds for livenessProbe
194195
initialDelaySeconds: 5
@@ -208,7 +209,7 @@ readinessProbe:
208209
enabled: true
209210
# -- Path and port for probe
210211
httpGet:
211-
path: /management/v1/node/state
212+
path: /health/readiness
212213
port: 10300
213214
# -- Initial delay seconds for readinessProbe
214215
initialDelaySeconds: 30
@@ -225,7 +226,11 @@ readinessProbe:
225226
# @default -- Check defaults below
226227
startupProbe:
227228
# -- Enables startupProbe on GridGain container
228-
enabled: false
229+
enabled: true
230+
# -- Path and port for probe
231+
httpGet:
232+
path: /health/liveness
233+
port: 10300
229234
# -- Initial delay seconds for startupProbe
230235
initialDelaySeconds: 30
231236
# -- Period seconds for startupProbe
@@ -356,6 +361,9 @@ services:
356361
rest: 10800
357362
cluster: 3344
358363
sessionAffinity: None
364+
# Set to true so that the StatefulSet's Headless Service propagates SRV DNS records for its Pods for node discovery.
365+
# (https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/#ServiceSpec)
366+
publishNotReadyAddresses: true
359367
# thin:
360368
# type: LoadBalancer
361369
# -- Enable [client source IP preservation(https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip)

0 commit comments

Comments
 (0)