Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Latest commit

 

History

History
169 lines (134 loc) · 6.24 KB

CHANGELOG.md

File metadata and controls

169 lines (134 loc) · 6.24 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[4.2.0] - 2019-05-10

Changed

  • Allow to configure the username for slack notifications - @prabhu43

4.1.1 - 2019-02-11

Changed

  • Log library from bunyan to winston
  • Bump dependencies to fix #50

4.0.1 - 2019-01-03

Fixed

  • Repeated recovered pod alert when pod with the same container name exist across namespace

4.0.0 - 2018-12-11

Added

  • New monitor for pod metrics (cpu/memory utilization). - @blandman
  • Alerts and recovery messages when metrics go above specified threshold. - @blandman

Changed

  • Ported to TypeScript

3.7.1 - 2018-12-08

Fixed

  • Typo in 3.7.0

3.7.0 - 2018-12-08

Added

  • RECOVERY_ALERT flag. Set to false to disable pod recovery alert

Fixed

  • Fixed pod in different namespace mixup (#45) - @blandman

3.6.0 - 2018-10-18

Added

  • New messages now inform when alerts have recovered for both long ready and not ready pods (#41). - @blandman

3.5.0 - 2018-08-21

Added

  • KUBE_NAMESPACES_ONLY option (#40). Ability add watch multiple explicit namespaces.
  • Start watching right after start of the app instead of waiting for initial interval to expire.
  • Added prettier script to package.json and devDependency

Removed

  • KUBE_NAMESPACE_ONLY support (was broken since 3.4.0 anyways. Now superseded by KUBE_NAMESPACES_ONLY)

3.4.0 - 2018-06-15

Added

  • SLACK_CHANNEL option (#36)
  • Bunyan compatible logging (#32, thanks @phillipj)
  • SLACK_PROXY option (#34)

Changed

  • Upgraded node to 10
  • Removed bluebird

3.3.0 - 2018-04-09

Added

  • Pods can be notified to a specific channel with kube-slack/slack-channel annotation on pod.

3.2.3 - 2018-03-10

Changed

  • Disabled ContainersNotReady status notification (#27)
  • Added a fallback message when pod are not ready but no reason is set

3.2.2 - 2018-02-13

Changed

  • More fix to #19 (#22, #24 fixed by @chribsen)

3.2.1 - 2018-02-11

Changed

  • Fixed regression caused by #19 (#21, #22 reported by @omerozery, fixed by @chribsen)

3.2.0 - 2018-01-24

Added

  • Pods can be ignored now with kube-slack/ignore-pod: "true" annotation on pod (#19, thanks @chribsen)

3.1.1 - 2018-01-16

Changed

  • No longer notify pods in status PodCompleted (#16 #17, thanks @jstriebel)
  • Updated copyright year

3.1.0 - 2017-11-22

Added

  • KUBE_NAMESPACE_ONLY option to monitor only current namespace (#15, thanks @Eddman)

3.0.4 - 2017-11-08

Changed

  • No longer notify pods in status PodInitializing

3.0.3 - 2017-10-27

Changed

  • Pod errors are now grouped by owner (usually replica sets) rather than by pod.
    • This is because usually when a deployment gone bad, all pods would crash as well resulting in flooding chat messages.

3.0.2 - 2017-10-19

Fixed

  • Fixed an issue that occur when a pod has no condition (#12, thanks @PanJ)

3.0.1 - 2017-08-30

Added

  • Show pod's namespace

3.0.0 - 2017-08-30

There are breaking changes in this release. If you are using the more advanced features (including logging URL) please read the chagelog carefully.

Added

  • Check for unready pods. Minimum time for pod to be not ready is controlled by NOT_READY_MIN_TIME (defaults to 60000 or 60s)

Changed

  • Rewritten. Now use kubernetes-client instead of kubectl.
    • Flood filter expiration is now controlled by FLOOD_EXPIRE (in milliseconds) rather than tick count
  • Can now support multiple monitoring conditions and notification systems
    • Notification format changed for future use
  • Now default to all namespaces
  • Configuration now are read using node-config
  • Updated example to use Deployment (#6)

Removed

  • LOGGING_URL support

2.1.1 - 2016-12-16

Removed

  • Unimportant console.log

2.1.0 - 2016-12-10

Added

  • --all-namespaces argument (#8, thanks to @dylannlaw)

2.0.0 - 2016-12-20

Changed

  • Breaking Replaced KIBANA_URL with LOGGING_URL. Use LOGGING_URL=https://example.com/app/kibana#/discover?_g=()&_a=(columns:!(log,stream),index:'logstash-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'kubernetes.pod:%20%POD%%20%26%26%20kubernetes.container_name:%20%CONTAINER%')),sort:!('@timestamp',desc)) for Kibana.

1.1.0 - 2016-12-17

Changed

  • Optimized Dockerfile