Skip to content

Commit

Permalink
modify live/readiness probes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshiste committed Jul 3, 2024
1 parent 6bf9ce3 commit 4ef9914
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 16 deletions.
2 changes: 1 addition & 1 deletion charts/steadybit-shopping-demo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: steadybit-shopping-demo
description: Steadybit shopping-demo application Helm chart for Kubernetes.
version: 1.0.7
version: 1.0.8
appVersion: latest
type: application
home: https://www.steadybit.com/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
apiVersion: v1
kind: List
items:

- apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,15 @@ spec:
path: /actuator/health/liveness
port: 8080
initialDelaySeconds: 60
timeoutSeconds: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8080
initialDelaySeconds: 60
timeoutSeconds: 5
periodSeconds: 10
volumeMounts:
- name: work-dir
mountPath: /work
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,16 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8082
initialDelaySeconds: 40
initialDelaySeconds: 60
timeoutSeconds: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8082
initialDelaySeconds: 40
initialDelaySeconds: 60
timeoutSeconds: 5
periodSeconds: 10
{{- with .Values.bestsellerFashion.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,17 @@ spec:
livenessProbe:
httpGet:
path: /actuator/health/liveness
port: 8081
initialDelaySeconds: 40
port: 8082
initialDelaySeconds: 60
timeoutSeconds: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8081
initialDelaySeconds: 40
port: 8082
initialDelaySeconds: 60
timeoutSeconds: 5
periodSeconds: 10
{{- with .Values.bestsellerToys.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,16 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8099
initialDelaySeconds: 40
initialDelaySeconds: 60
timeoutSeconds: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8099
initialDelaySeconds: 40
initialDelaySeconds: 60
timeoutSeconds: 3
periodSeconds: 10
resources: {{ toYaml .Values.hotDeals.resources | nindent 14 }}
- name: hot-deals-nginx
image: nginx:alpine
Expand All @@ -128,12 +132,16 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8083
initialDelaySeconds: 40
initialDelaySeconds: 60
timeoutSeconds: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8083
initialDelaySeconds: 40
initialDelaySeconds: 60
timeoutSeconds: 5
periodSeconds: 10
resources: {{ toYaml .Values.hotDeals.nginx.resources | nindent 14 }}
volumeMounts:
- name: nginx-proxy-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,16 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8084
initialDelaySeconds: 40
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8084
initialDelaySeconds: 40
initialDelaySeconds: 30
timeoutSeconds: 5
periodSeconds: 10
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ spec:
- curl -u admin:admin -H origin:localhost 'http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost,service=Health/CurrentStatus' | grep Good
initialDelaySeconds: 20
periodSeconds: 5
timeoutSeconds: 3
readinessProbe:
tcpSocket:
port: 61616
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 5
volumeMounts:
- name: "activemq-config"
mountPath: "/opt/activemq/conf/activemq.xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,15 @@ spec:
path: /actuator/health/liveness
port: 8085
initialDelaySeconds: 60
timeoutSeconds: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8085
initialDelaySeconds: 60
timeoutSeconds: 5
periodSeconds: 10
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,16 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8086
initialDelaySeconds: 40
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8086
initialDelaySeconds: 40
initialDelaySeconds: 30
timeoutSeconds: 5
periodSeconds: 10
imagePullPolicy: Always
name: orders
ports:
Expand Down

0 comments on commit 4ef9914

Please sign in to comment.