dcos-check-runner

command module
v0.0.0-...-1c6ea91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

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

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

Test

make test

Usage

  dcos-check-runner check <check-type> [flags]

Flags:
  -h, --help   help for check
      --list   List runner

Global Flags:
      --check-config string   Path to check configuration file (default "/opt/mesosphere/etc/dcos-check-config.json")
      --config string         config file (default is /opt/mesosphere/etc/dcos-check-runner.yaml)
      --role string           Set node role
      --verbose               Use verbose debug output.
      --version               Print dcos-check-runner version
  dcos-check-runner http-server [flags]

Flags:
      --base-uri string   Server's base URI
  -h, --help              help for http-server
  -a, --host string       Server's host (default "0.0.0.0")
  -p, --port int          Server's TCP port (default 8000)
      --systemd-socket    Listen on systemd socket

Global Flags:
      --check-config string   Path to check configuration file (default "/opt/mesosphere/etc/dcos-check-config.json")
      --config string         config file (default is /opt/mesosphere/etc/dcos-check-runner.yaml)
      --role string           Set node role
      --verbose               Use verbose debug output.
      --version               Print dcos-check-runner version

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL