monitor-project-lifecycle

module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0

README

Project Lifecycle Monitoring Application

This app measures availability of the application creation workflow in OpenShift.

Running

To run out of cluster, make sure the KUBECONFIG environment variable is set and then:

$ monitor run --config /some/config.yaml

# verbose logging
$ monitor run --config /some/config.yaml --alsologtostderr --v 2

Here's an example config file:

listenAddress: "127.0.0.1:8080"
runInterval: 1m
availabilityTimeout: 5m
template:
  namespace: openshift
  name: django-psql-persistent
  availabilityRoute: django-psql-persistent
  parameters: # Empty, use template defaults

Building

To build the binary, run

$ make

To build the RPM and images with Docker, run

$ OS_BUILD_ENV_PRESERVE=_output/local/bin hack/env make build-images

Updating Go Tooling

See https://github.com/openshift/release/tree/master/tools/hack/golang for instructions on how to update the Go tooling used by this project.

Jump to

Keyboard shortcuts

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