results-controller

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

README

results-controller CLI usage

The tool expects a set of input information to run:

  • kubeconfig: kubeconfig file. default: in-cluster configuration, Fallback $HOME/.kube/config
  • log-level: logging level (debug, info...)
  • resync: default synchronization period. (seconds)

These values can be provided as flags to the command:

As flags to the command

For eg, the following command can be used to run the cli in debug mode with a custom kubeconfig file.

$ results-controller  --log-level debug --kubeconfig kubeconfig
DEBU[0000] log level configured                          log-level=debug
DEBU[0000] Node event omitted
DEBU[0000] Node event omitted
DEBU[0000] Node event omitted
DEBU[0000] Node event omitted
DEBU[0000] Node event omitted
DEBU[0000] Node event omitted
DEBU[0000] Node event omitted

resync is optional and will get default 60 value:

prune subcommand

The prune subcommand is in charge of cleaning up older checkresult objects in the cluster. It will maintain only those checkresult whose spec.completedAt field is between the range specified in the keep flag and the current date.

results-controller prune --log-level debug --kubeconfig kubeconfig --keep 24h

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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