https://github.com/dcos/dcos-check-runner
DC/OS Check Runner
https://github.com/dcos/dcos-check-runner
dcos dcos-ux-guild
Last synced: 4 days ago
JSON representation
DC/OS Check Runner
- Host: GitHub
- URL: https://github.com/dcos/dcos-check-runner
- Owner: dcos
- License: apache-2.0
- Created: 2018-05-23T09:33:50.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-28T22:21:58.000Z (about 5 years ago)
- Last Synced: 2025-02-24T09:45:10.758Z (over 1 year ago)
- Topics: dcos, dcos-ux-guild
- Language: Go
- Homepage:
- Size: 1.99 MB
- Stars: 0
- Watchers: 38
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dcos-check-runner [](https://opensource.org/licenses/Apache-2.0) [](https://jenkins.mesosphere.com/service/jenkins/job/public-dcos-cluster-ops/job/dcos-check-runner/job/dcos-check-runner-master/) [](https://goreportcard.com/report/github.com/dcos/dcos-check-runner)
## 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 [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
```