项目作者: dcos

项目描述 :
DC/OS Check Runner
高级语言: Go
项目地址: git://github.com/dcos/dcos-check-runner.git
创建时间: 2018-05-23T09:33:50Z
项目社区:https://github.com/dcos/dcos-check-runner

开源协议:Apache License 2.0

下载


dcos-check-runner License Jenkins Go Report Card

DC/OS Check Runner

The DC/OS check runner is a utility that executes checks against a DC/OS node or cluster. The check runner reads check definitions from its configuration file and executes them when requested. Checks come in three types:

  • node-prestart checks, which assert that a host has prerequisites necessary for DC/OS to start
  • node-poststart checks, which assert that a DC/OS node is healthy
  • cluster checks, which assert that a DC/OS cluster is healthy

Build

  1. make build
  2. ./build/dcos-check-runner --version

Test

  1. make test

Usage

  1. dcos-check-runner check <check-type> [flags]
  2. Flags:
  3. -h, --help help for check
  4. --list List runner
  5. Global Flags:
  6. --check-config string Path to check configuration file (default "/opt/mesosphere/etc/dcos-check-config.json")
  7. --config string config file (default is /opt/mesosphere/etc/dcos-check-runner.yaml)
  8. --role string Set node role
  9. --verbose Use verbose debug output.
  10. --version Print dcos-check-runner version
  1. dcos-check-runner http-server [flags]
  2. Flags:
  3. --base-uri string Server's base URI
  4. -h, --help help for http-server
  5. -a, --host string Server's host (default "0.0.0.0")
  6. -p, --port int Server's TCP port (default 8000)
  7. --systemd-socket Listen on systemd socket
  8. Global Flags:
  9. --check-config string Path to check configuration file (default "/opt/mesosphere/etc/dcos-check-config.json")
  10. --config string config file (default is /opt/mesosphere/etc/dcos-check-runner.yaml)
  11. --role string Set node role
  12. --verbose Use verbose debug output.
  13. --version Print dcos-check-runner version