Skip to content

Conversation

@mdelillo
Copy link
Contributor

@mdelillo mdelillo commented Oct 3, 2016

  • The default TTL value of 3 seconds results in a poll interval for 1.5 seconds for consul healthchecks.
    with all the diego components behaving this way, the consul in PCF Dev gets overloaded and goes unresponsive.
    PCF Dev needs this value to be increased/configurable.

This became necessary when these services switch from using dns_health_check to the TTL method. When the dns_health_check does not succeed within the TTL, consul will still respond to DNS queries for that service. Using the new TTL method, consul will unregister the service from it's DNS registry if it fails to update it's healthcheck status within the TTL.

This depends on:
cloudfoundry/cc-uploader#1
cloudfoundry-attic/nsync#12
cloudfoundry-attic/cloud-controller-stager#13
cloudfoundry/tps#7

Signed-off-by: Anthony Emengo [email protected]
Signed-off-by: Mark DeLillo [email protected]

  • [ x] I have viewed signed and have submitted the Contributor License Agreement
  • [ x] I have made this pull request to the master branch
  • [ x] I have run CF Acceptance Tests on bosh lite

@cfdreddbot
Copy link

Hey mdelillo!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@sclevine
Copy link

sclevine commented Dec 1, 2016

@SocalNick We determined that the optimal value for the TTL to support a fully-colocated deployment is 20s. Would you like us to submit new PRs that change the values to that, instead of making it configurable?
(See the related Diego PR: cloudfoundry/diego-release#204)

@SocalNick
Copy link
Contributor

@sclevine new hardcoded default is fine by me as long as there aren't any negative side effects.

@mdelillo
Copy link
Contributor Author

mdelillo commented Dec 7, 2016

@mdelillo mdelillo closed this Dec 7, 2016
@sclevine
Copy link

sclevine commented Dec 7, 2016

@SocalNick related discussion for the equivalent Diego PRs: cloudfoundry/diego-release#204

capi-bot added a commit that referenced this pull request May 29, 2018
Bump src/cloud_controller_ng
  Tim Downey:
     Fix manifest route ordering issues in spec
  Jeff Pak:
     do not crash the deployment updater when diego's unavailable
Bump src/code.cloudfoundry.org/bbs
  Stephane Jolicoeur:
     ActualLRPGroup.Resolve now returns an error rather than panicking
  Eric Malm:
     Merge pull request #29 from dtimm/patch-1
  David Timm:
     fix typo
capi-bot added a commit that referenced this pull request Jul 7, 2023
Bump src/code.cloudfoundry.org/tps
  M. Oleske:
     add github actions dependabot bumping (#29)
capi-bot added a commit that referenced this pull request Dec 9, 2023
Bump src/code.cloudfoundry.org/cc-uploader
  dependabot[bot]:
     Bump actions/setup-go from 4 to 5 (#29)
     Bump code.cloudfoundry.org/lager/v3 from 3.0.2 to 3.0.3 (#30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants