Skip to content

Commit 3dccefd

Browse files
committed
Release notes.
1 parent b4c3627 commit 3dccefd

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ Please see the [project documentation](https://socketry.github.io/async-containe
2222

2323
Please see the [project releases](https://socketry.github.io/async-container/releases/index) for all releases.
2424

25+
### v0.23.0
26+
27+
- [Add support for `NOTIFY_LOG` for Kubernetes readiness probes.](https://socketry.github.io/async-container/releases/index#add-support-for-notify_log-for-kubernetes-readiness-probes.)
28+
2529
### v0.21.0
2630

2731
- Use `SIGKILL`/`Thread#kill` when the health check fails. In some cases, `SIGTERM` may not be sufficient to terminate a process because the signal can be ignored or the process may be in an uninterruptible state.

releases.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Releases
22

3+
## v0.23.0
4+
5+
### Add support for `NOTIFY_LOG` for Kubernetes readiness probes.
6+
7+
You may specify a `NOTIFY_LOG` environment variable to enable readiness logging to a log file. This can be used for Kubernetes readiness probes, e.g.
8+
9+
```yaml
10+
containers:
11+
- name: falcon
12+
env:
13+
- name: NOTIFY_LOG
14+
value: "/tmp/notify.log"
15+
command: ["falcon", "host"]
16+
readinessProbe:
17+
exec:
18+
command: ["sh", "-c", "grep -q '\"ready\":true' /tmp/notify.log"]
19+
initialDelaySeconds: 5
20+
periodSeconds: 5
21+
failureThreshold: 12
22+
```
23+
324
## v0.21.0
425

526
- Use `SIGKILL`/`Thread#kill` when the health check fails. In some cases, `SIGTERM` may not be sufficient to terminate a process because the signal can be ignored or the process may be in an uninterruptible state.

0 commit comments

Comments
 (0)