Add TCP socket health check example (#3977)

* Add TCP socket health check example

* Add test case for pod-with-tcp-socket-healthcheck
This commit is contained in:
tompizmor
2017-06-05 22:50:29 +02:00
committed by Andrew Chen
parent 8d20ed8580
commit 9f2ecee260
4 changed files with 32 additions and 9 deletions
+3
View File
@@ -216,6 +216,9 @@ Here is an example config for a Pod with an HTTP health check ([pod-with-http-he
{% include code.html language="yaml" file="pod-with-http-healthcheck.yaml" ghlink="/docs/user-guide/walkthrough/pod-with-http-healthcheck.yaml" %}
And here is an example config for a Pod with a TCP Socket health check ([pod-with-tcp-socket-healthcheck.yaml](/docs/user-guide/walkthrough/pod-with-tcp-socket-healthcheck.yaml)):
{% include code.html language="yaml" file="pod-with-tcp-socket-healthcheck.yaml" ghlink="/docs/user-guide/walkthrough/pod-with-tcp-socket-healthcheck.yaml" %}
For more information about health checking, see [Container Probes](/docs/user-guide/pod-states/#container-probes).