Skip to content

Commit c87da6d

Browse files
author
Alan Christie
committed
ci: Use of tcpSocket rather than httpGet on probes
1 parent 9eb4ad0 commit c87da6d

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

ansible/roles/app/templates/deployment.yaml.j2

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,21 +83,18 @@ spec:
8383
- name: CICD_TRIGGER_ID
8484
value: '{{ ansible_date_time.iso8601_micro }}'
8585
startupProbe:
86-
httpGet:
87-
path: /event-stream
88-
port: internal
86+
tcpSocket:
87+
port: 8081
8988
failureThreshold: 60
9089
periodSeconds: 5
9190
readinessProbe:
92-
httpGet:
93-
path: /event-stream
94-
port: internal
91+
tcpSocket:
92+
port: 8081
9593
initialDelaySeconds: 5
9694
periodSeconds: 5
9795
livenessProbe:
98-
httpGet:
99-
path: /event-stream
100-
port: internal
96+
tcpSocket:
97+
port: 8081
10198
initialDelaySeconds: 5
10299
periodSeconds: 5
103100
resources:

0 commit comments

Comments
 (0)