cookbook 'cloudfoundry-health_manager', '~> 2.0.0'
cloudfoundry-health_manager (4) Versions 2.0.0 Follow2
Installs/Configures cloudfoundry-health_manager
cookbook 'cloudfoundry-health_manager', '~> 2.0.0', :supermarket
knife supermarket install cloudfoundry-health_manager
knife supermarket download cloudfoundry-health_manager
Description
Install the Cloud Foundry health_manager,
a mandatory component of a Cloud Foundry
installation.
Requirements
Platform
- Ubuntu
Tested on:
- Ubuntu 10.04
- Ubuntu 12.04
Cookbooks
- cloudfoundry
- rbenv
Usage
This cookbook will install the CloudFoundry Health Manager on the target
node along with the necessary configuration files and init scripts to
run it.
Attributes
-
node['cloudfoundry_health_manager']['install_path']
- Path to a directory that will hold the health_manager code. Defaults to/srv/cloudfoundry/health_manager
. -
node['cloudfoundry_health_manager']['repo']
- Source repository for the health_manager code. Defaults tohttps://github.com/cloudfoundry/health_manager.git
. -
node['cloudfoundry_health_manager']['reference']
- Git reference to use when fetching the health_manager code. Can be either a specific sha or a reference such asHEAD
ormaster
. Defaults to the latest version that was fully tested. -
node['cloudfoundry_health_manager']['log_level']
- The health_manager log level. Defaults toinfo"
. -
node['cloudfoundry_health_manager']['log_file']
- Where to write the health_manager logs. Defaults toFile.join(node['cloudfoundry']['log_dir'], "health_manager.log")
. -
node['cloudfoundry_health_manager']['pid_file']
- Where to write the health_manager pid file. Defaults toFile.join(node['cloudfoundry']['pid_dir'], "health_manager.pid")
.
You may also tune a few settings that control internal parameters of the
algorithm. This is only recommended if you understand what you are doing.
See the health_manager README
for more information:
-
node['cloudfoundry_health_manager']['interval']['expected_state_update']
- How often (in seconds) should the health_manager refresh its snapshot of the "expected state" of the system. Defaults to60
. -
node['cloudfoundry_health_manager']['interval']['droplet_lost']
- Time limit (in seconds) between heartbeats; if information on a droplet is not received, the droplet will be marked asmissing
. Defaults to30
. -
node['cloudfoundry_health_manager']['interval']['droplets_analysis']
- How often (in seconds) to run a complete ananlysis of all the running droplets. Defaults to20
. -
node['cloudfoundry_health_manager']['interval']['flapping_death']
- Limit number of crashes before marking an app asflapping
. Defaults to1
. -
node['cloudfoundry_health_manager']['interval']['flapping_timeout']
- Time limit (in seconds) between consecutive crashes for the purpose of flap detection. Defaults to180
. -
node['cloudfoundry_health_manager']['interval']['restart_timeout']
- TODO: Find out what this does. Defaults to20
. -
node['cloudfoundry_health_manager']['interval']['min_restart_delay']
- Minimum wait (in seconds) before restarting a flapping instance. Defaults to60
. -
node['cloudfoundry_health_manager']['interval']['max_restart_delay']
- Maximum wait (in seconds) before restarting a flapping instance. Defaults to480
. -
node['cloudfoundry_health_manager']['interval']['giveup_crash_number']
- Maximum number of restarts for a flapping instance before giving up and stopping it. Defaults to4
. -
node['cloudfoundry_health_manager']['interval']['stable_state']
- TODO: Find out what this does. Defaults to20
.
License and Author
- Author:: Andrea Campi (andrea.campi@zephirworks.com)
Author:: Trotter Cashion (cashion@gmail.com)
Copyright:: 2012-2013 ZephirWorks
Copyright:: 2012 Trotter Cashion
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
cloudfoundry ~> 1.3.0 |
rbenv >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
2.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
2.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: cloudfoundry-health_manager/metadata.rb:1
FC065: Ensure source_url is set in metadata: cloudfoundry-health_manager/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cloudfoundry-health_manager/metadata.rb:1
FC069: Ensure standardized license defined in metadata: cloudfoundry-health_manager/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
2.0.0 failed this metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
2.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: cloudfoundry-health_manager/metadata.rb:1
FC065: Ensure source_url is set in metadata: cloudfoundry-health_manager/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cloudfoundry-health_manager/metadata.rb:1
FC069: Ensure standardized license defined in metadata: cloudfoundry-health_manager/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
2.0.0 failed this metric
FC065: Ensure source_url is set in metadata: cloudfoundry-health_manager/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cloudfoundry-health_manager/metadata.rb:1
FC069: Ensure standardized license defined in metadata: cloudfoundry-health_manager/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.0.0 passed this metric
Testing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
2.0.0 failed this metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number