Skip to content

Commit

Permalink
Remove hostPort field from the liveness probe examples to align with …
Browse files Browse the repository at this point in the history
…Kubernetes best practices.
  • Loading branch information
adityasamant25 committed Jan 10, 2024
1 parent 9bf997a commit 05a4ab1
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -294,7 +294,6 @@ For example:
ports:
- name: liveness-port
containerPort: 8080
hostPort: 8080

livenessProbe:
httpGet:
Expand All @@ -318,7 +317,6 @@ So, the previous example would become:
ports:
- name: liveness-port
containerPort: 8080
hostPort: 8080

livenessProbe:
httpGet:
Expand Down Expand Up @@ -542,7 +540,6 @@ spec:
ports:
- name: liveness-port
containerPort: 8080
hostPort: 8080

livenessProbe:
httpGet:
Expand Down

0 comments on commit 05a4ab1

Please sign in to comment.