Skip to content

Commit 5dadf1d

Browse files
committed
[ru] Remove hostPort field from the liveness probe examples to align with Kubernetes best practices
1 parent d0be5c2 commit 5dadf1d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ kubectl describe pod goproxy
213213
ports:
214214
- name: liveness-port
215215
containerPort: 8080
216-
hostPort: 8080
217216

218217
livenessProbe:
219218
httpGet:
@@ -234,8 +233,7 @@ livenessProbe:
234233
ports:
235234
- name: liveness-port
236235
containerPort: 8080
237-
hostPort: 8080
238-
236+
239237
livenessProbe:
240238
httpGet:
241239
path: /healthz

0 commit comments

Comments
 (0)