Skip to content

Latest commit

 

History

History
143 lines (113 loc) · 6.48 KB

CHANGELOG.md

File metadata and controls

143 lines (113 loc) · 6.48 KB

Change Log

This project adheres to Semantic Versioning.

This CHANGELOG follows the format listed here

5.0.2 - 2020-09-15

Fixed

  • Fixed frozen_string_literal setting in executables

5.0.1 - 2020-04-27

Changed

  • Fixed travis build

5.0.0 - 2020-04-27

Breaking Changes

  • Bump sensu-plugin dependency from ~> 2.7 to ~> 4.0
  • Bump activesupport dependancy to '< 7.0.0'
  • Bump kubeclient dependency to '>= 2.3', '< 5.0'

Added

  • Bonsai asset support

Changed

  • Updated rubocop dependency to '~> 0.81.0'
  • Remediated rubocop issues
  • Updated rake dependency to '~> 13.0'
  • Removed codeclimate-test-reporter

4.0.1 - 2020-03-18

Fixed

check-kube-pods-running.rb: when POD's status.phase == Pending use the creation time rather than the start time to determine the pod timestamp as it will be nil and cause a downstream type error (@ttarczynski)

4.0.0 - 2018-12-15

Security

Breaking Changes

  • drop suppport for ruby versions < 2.3 as they are EOL (@majormoses)
  • bumped dependency of sensu-plugin to 2.x you can read about it here (@majormoses)

Changed

  • appeased the cops (@majormoses)

3.3.0 - 2018-11-26

Changed

  • check-kube-pods-running.rb: Skip a POD which is in the not ready state for shorter time than the specified time. Otherwise, the check alerts if we get lots of new PODs which are spawned every second and get up or get terminated longer than a minute. (@sys-ops)

3.2.0 - 2018-11-21

Changed

  • check-kube-service-available.rb: Skip a service if its selector is empty. Otherwise all PODs in the cluster are listed with client.get_pods() call (including those that we do not want to monitor) (@sys-ops)

3.1.1 - 2018-11-01

Fixed

  • check-kube-nodes-ready.rb, check-kube-pods-pending.rb, check-kube-pods-restarting.rb, check-kube-pods-running.rb: fix exception when pod.spec.nodeName == nil (i.e. pod not assigned to a node) (@ttarczynski)

3.1.0 - 2018-10-29

Added

  • check-kube-nodes-ready.rb, check-kube-pods-pending.rb, check-kube-pods-restarting.rb, check-kube-pods-running.rb: added options --included-nodes and --excluded-nodes which support a comma separated list so you can filter nodes (@ttarczynski)

Fixed

  • check-kube-pods-running.rb no longer throws an exception when there are no 3 conditions in the status information. Issue #39 (@AgarFu)

3.0.0 - 2017-09-12

Breaking Change

  • check-kube-nodes-ready.rb no longer triggers an alert if an unschedulable node becomes NotReady (@tg90nor)

2.0.0 - 2017-08-28

Added

  • Add option to explicitly include specific namespaces (@simulalex)

Breaking Change

  • Drops support for Ruby-2.0, now requires Ruby >= 2.1.0 (@simulalex)

1.1.0 - 2017-08-11

Added

  • Ruby 2.4.1 testing (@thomasriley)
  • Add option to use kubeconfig file for auth and TLS (@jaxxstorm)

1.0.0 - 2017-03-21

Added

  • Add metrics-pods.rb that will output the number of running pods per service (@mickfeech)
  • Add check-kube-pods-running check (@nyxcharon)

Changed

  • Update kubeclient to 2.3.0 (@jackfengji)
  • Split check-kube-pods-pending into two checks; the original still checks for pending pods, the restart count portion has been split into it's own check, check-kube-pods-restarting. (@nyxcharon)

0.1.2 - 2016-08-07

Fixed

  • check-kube-service-available.rb: fixed error caused by misspelling of true boolean (@justinhammar)

Changed

  • check-kube-pods-pending.rb: Add namespace to output (@ajohnstone)
  • check-kube-service-available.rb: Add namespace to output (@ajohnstone)
  • pin activesupport to < 5.0.0 to maintain compatability with Ruby < 2.2 (@eheydrick)

0.1.1 - 2016-05-17

Fixed

  • cli.rb: Fixed typo in critical call

0.1.0 - 2016-05-15

Added

  • Added flag to ignore namespaces in check-kube-pods-pending
  • check-kube-service-available.rb: Will not mark a service as failed if any needed pod is running and ready
  • check-kube-service-available.rb: Added options to allow of pod pending for given time to be counted as valid
  • Factored all checks to share a common base class for connecting to Kubernetes
  • Added flags to specify certificate authority and Kubernetes bearer token
  • Added flags to specify client certificate/key and in-cluster support
  • Support for Ruby 2.3

Fixed

  • check-kube-service-available.rb: Fixed scope issue in main block that would cause a nil error

Changed

  • Update to Rubocop 0.40 and cleanup
  • Update to kubeclient 1.1.3

0.0.1 - 2016-03-03

Added

  • initial release