5 Commits

Author SHA1 Message Date
Josh Soref
af19128573 fix spelling errors in testbench 2019-12-27 13:57:25 +01:00
Rainer Gerhards
ff4b3558cf
testbench: obtain python binary path via AM_PATH_PYTHON
see also https://github.com/rsyslog/rsyslog/issues/3853
2019-11-22 14:45:10 +01:00
Rainer Gerhards
d3a3db1d3e
testbench: remove debug settings from kubernetes test
This was likely a left-over from previous manual testing. Removed
the lines in question as they normally should come from diag.sh.

The generated file also caused a "make distcheck" failure.

see also https://github.com/rsyslog/rsyslog/pull/3685
2019-06-04 08:52:24 +02:00
Rich Megginson
de2b0c49f0 mmkubernetes - fix cache test python indentation
https://github.com/rsyslog/rsyslog/issues/3626
2019-04-29 07:52:33 -06:00
Rich Megginson
8b92ea1bd9 mmkubernetes - support for metadata cache expiration
New parameters for mmkubernetes (module and action):

* `cacheexpireinterval`
If `cacheexpireinterval` is -1, then do not check for cache expiration.
If `cacheexpireinterval` is 0, then check for cache expiration.
If `cacheexpireinterval` is greater than 0, check for cache expiration
if the last time we checked was more than this many seconds ago.

* `cacheentryttl` - maximum age in seconds for cache entries

New statistics counters:

* `podcachenumentries` - the number of entries in the pod metadata cache.
* `namespacecachenumentries` - the number of entries in the namespace
  metadata cache.
* `podcachehits` - the number of times a requested entry was found in the
  pod metadata cache.
* `namespacecachehits` - the number of times a requested entry was found
  in the namespace metadata cache.
* `podcachemisses` - the number of times a requested entry was not found
  in the pod metadata cache, and had to be requested from Kubernetes.
* `namespacecachemisses` - the number of times a requested entry was not
  found in the namespace metadata cache, and had to be requested from
  Kubernetes.
2019-04-01 11:53:29 -06:00