Skip to content

Commit 85dd2b8

Browse files
authored
Rolling Updates: Implement readiness probe for backend deployment
The rollout is too fast to observe, let's slow it down a bit
1 parent e868f1c commit 85dd2b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rolling-updates/start/backend-deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ spec:
1717
containers:
1818
- image: ghcr.io/eficode-academy/quotes-flask-backend:release
1919
name: quotes-flask-backend
20+
readinessProbe:
21+
exec:
22+
command:
23+
- /bin/true
24+
initialDelaySeconds: 10
25+
periodSeconds: 10

0 commit comments

Comments
 (0)