Skip to content

Commit 52aafa0

Browse files
committed
[id] Remove hostPort field from the liveness probe examples to align with Kubernetes best practices
1 parent f424d45 commit 52aafa0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

content/id/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
@@ -227,7 +227,6 @@ dengan nama untuk melakukan pemeriksaan _liveness_ HTTP atau TCP:
227227
ports:
228228
- name: liveness-port
229229
containerPort: 8080
230-
hostPort: 8080
231230

232231
livenessProbe:
233232
httpGet:
@@ -251,7 +250,6 @@ Sehingga, contoh sebelumnya menjadi:
251250
ports:
252251
- name: liveness-port
253252
containerPort: 8080
254-
hostPort: 8080
255253
256254
livenessProbe:
257255
httpGet:

0 commit comments

Comments
 (0)