Skip to content

Releases: soketi/network-watcher

3.0.0

28 May 06:17
c21bc63
Compare
Choose a tag to compare

The minimum Echo Server version is 5.3+. From this version, you will no longer need to enable the Prometheus metrics endpoint on the server.

2.1.0

27 May 20:22
4da0cff
Compare
Choose a tag to compare
  • Added SIGTERM/SIGINT termination handler for new connections' rejection handling (#21)
  • Emit Kubernetes events when updating the pod (#23)

2.0.1

23 May 16:09
Compare
Choose a tag to compare
  • Added the getLabel() macro (6b17a31)
  • Ensure to initialize the label on pods if they don't have the label set (284bd68)

2.0.0

23 May 15:40
b77b751
Compare
Choose a tag to compare

Ensured compatibility with Echo Server 5.0.1+, since the probes API got removed. #19

The probes API served as a good way to not allow new traffic to already existent connections by failing the readiness of the pod. Since this can cause issues (and it caused), the watcher now attaches an echo.soketi.app/accepts-new-connections label (echo.soketi.app/rejects-new-connections label is the old one and it is no longer set).

The label name was changed to permit the services to monitor and attach to the given pods that will use the echo.soketi.app/accepts-new-connections labels, instead of the ones that reject connections.

To make sure the service can redirect new connections to a given pod, simply add to the service label selector the new label that network watcher will control:

spec:
  type: LoadBalancer
  ports:
    - port: 6001
      targetPort: 6001
      protocol: TCP
      name: echo
  selector:
    ...
    echo.soketi.app/accepts-new-connections: "yes"

This way, in the case that Echo Server, from a certain pod, reaches the given threshold, it will flip the label into no and the service will no longer redirect new connections to that pod.

1.1.0

01 May 19:28
8e0e4d7
Compare
Choose a tag to compare

1.0.5

21 Apr 14:09
e6e2a22
Compare
Choose a tag to compare
  • Extra Dockerfile cleanup (e6e2a22)

1.0.4

26 Mar 22:48
Compare
Choose a tag to compare
--no-dev on release tag

1.0.3

24 Mar 12:25
Compare
Choose a tag to compare
Updated verbosity and logic attempts.

1.0.2

24 Mar 09:56
Compare
Choose a tag to compare
Fixed in-cluster issues

1.0.1

24 Mar 08:26
Compare
Choose a tag to compare
Fixed rejection checks