[fr] Remove hostPort field from the liveness probe examples to align with Kubernetes best practices

pull/45528/head
Arhell 2024-03-13 00:51:45 +02:00
parent d0be5c2ae1
commit 886214b3f4
1 changed files with 0 additions and 2 deletions

View File

@ -180,7 +180,6 @@ Vous pouvez utiliser un [ContainerPort](/docs/reference/generated/kubernetes-api
ports:
- name: liveness-port
containerPort: 8080
hostPort: 8080
livenessProbe:
httpGet:
@ -200,7 +199,6 @@ Ainsi, l'exemple précédent deviendrait :
ports:
- name: liveness-port
containerPort: 8080
hostPort: 8080
livenessProbe:
httpGet: