Skip to content

Commit 408e014

Browse files
committed
Merge pull request #284 from helgi/remove_health_port
fix(health): remove documentation on unused HEALTHCHECK_PORT
2 parents a67c80b + 20ea192 commit 408e014

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

src/applications/managing-app-configuration.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Detachments can be performed with `deis config:unset`.
5656

5757
By default, Workflow only checks that your application containers start in
5858
their Pod. If you would like Kubernetes to respond to appliation health, you
59-
may add a health check by configuring URL, port, initial delay, and timeout
59+
may add a health check by configuring URL, initial delay, and timeout
6060
values.
6161

6262
The health checks are implemented as [Kubernetes container probes][kubernetes-probes]. Currently only HTTP GET is supported.
@@ -67,10 +67,6 @@ Available configuration options for health checks are the following, including d
6767

6868
Path in the application to use for health check, such as /healthz - This value needs to be set for any health check to happen. Needs to accept a HTTP GET request and return a HTTP status between 200-399.
6969

70-
**HEALTHCHCK_PORT**
71-
72-
TCP port to use for health check. Defaults to using same port as the application
73-
7470
**HEALTHCHECK_TIMEOUT**
7571

7672
Number of seconds after which the health check times out. Defaults to 50 seconds
@@ -110,13 +106,6 @@ $ deis config:set HEALTHCHECK_TIMEOUT=5
110106
HEALTHCHECK_TIMEOUT: 5
111107
HEALTHCHECK_INITIAL_DELAY: 5
112108
HEALTHCHECK_URL: /200.html
113-
$ deis config:set HEALTHCHECK_PORT=5000
114-
=== peachy-waxworks
115-
HEALTHCHECK_TIMEOUT: 5
116-
HEALTHCHECK_INITIAL_DELAY: 5
117-
HEALTHCHECK_URL: /200.html
118-
HEALTHCHECK_PORT: 5000
119-
```
120109
121110
If an application times out, or responds to a health check with a response code
122111
outside the 200-399 range, Kubernetes will stop sending requests to the

0 commit comments

Comments
 (0)