Skip to content

Conversation

gberche-orange
Copy link
Contributor

In cf cli manifest https://docs.cloudfoundry.org/devguide/deploy-apps/healthchecks.html#health_check_timeout only mentions the two keys below
yaml

    health-check-type: http
    health-check-http-endpoint: /actuator/health

See https://www.pivotaltracker.com/n/projects/966314/stories/157646582
and cloudfoundry/cloud_controller_ng@5550970

The following manifest keys ...

    timeout: 180
    health-check-type: http
    health-check-http-endpoint: /actuator/health
    health-check-timeout: 31
    health-check-invocation-timeout: 30

... result in the following output with capi-release 1.111.0

$ cf get-health-check osb-cmdb-broker-0
[...]
process   health check   endpoint (for http)   invocation timeout
web       http           /actuator/health      30

$ CF_TRACE=true cf get-health-check osb-cmdb-broker-0
[...]
      "health_check": {
        "data": {
          "endpoint": "/actuator/health",
          "invocation_timeout": 30,
          "timeout": 180
        },
        "type": "http"

Also some following properties are documented on the V3 api with manifest object on the process, http://v3-apidocs.cloudfoundry.org/version/3.110.0/index.html#the-manifest-schema

In cf cli manifest https://docs.cloudfoundry.org/devguide/deploy-apps/healthchecks.html#health_check_timeout only mentions the two keys below
yaml
```
    health-check-type: http
    health-check-http-endpoint: /actuator/health
```

The following manifest keys ...

```yaml
    timeout: 180
    health-check-type: http
    health-check-http-endpoint: /actuator/health
    health-check-timeout: 31
    health-check-invocation-timeout: 30
```

... result in the following output with capi-release 1.111.0
```
$ cf get-health-check osb-cmdb-broker-0
[...]
process   health check   endpoint (for http)   invocation timeout
web       http           /actuator/health      30

$ CF_TRACE=true cf get-health-check osb-cmdb-broker-0
[...]
      "health_check": {
        "data": {
          "endpoint": "/actuator/health",
          "invocation_timeout": 30,
          "timeout": 180
        },
        "type": "http"
```
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@mjgutermuth
Copy link
Contributor

Thanks @gberche-orange!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants