Skip to content

Commit 0ff9ac8

Browse files
committed
readiness change
1 parent 7bc4e6a commit 0ff9ac8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
- containerPort: 8080
2323
protocol: TCP
2424

25-
readinessProbe: # only needed if your pod has a service and listening port
25+
readinessProbe: # I always recommend using these, even if your app has no listening ports (this affects any rolling update)
2626
httpGet: # Lots of timeout values with defaults, be sure they are ideal for your workload
2727
path: /ready
2828
port: 8080

pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
- containerPort: 8080
2020
protocol: TCP
2121

22-
readinessProbe: # only needed if your pod has a service and listening port
22+
readinessProbe: # I always recommend using these, even if your app has no listening ports (this affects any rolling update)
2323
httpGet: # Lots of timeout values with defaults, be sure they are ideal for your workload
2424
path: /ready
2525
port: 8080

0 commit comments

Comments
 (0)