Skip to content

Commit 886214b

Browse files
committed
[fr] Remove hostPort field from the liveness probe examples to align with Kubernetes best practices
1 parent d0be5c2 commit 886214b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

content/fr/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ Vous pouvez utiliser un [ContainerPort](/docs/reference/generated/kubernetes-api
180180
ports:
181181
- name: liveness-port
182182
containerPort: 8080
183-
hostPort: 8080
184183
185184
livenessProbe:
186185
httpGet:
@@ -200,7 +199,6 @@ Ainsi, l'exemple précédent deviendrait :
200199
ports:
201200
- name: liveness-port
202201
containerPort: 8080
203-
hostPort: 8080
204202
205203
livenessProbe:
206204
httpGet:

0 commit comments

Comments
 (0)