coturn 5.6.0 release¶
For details, see the release notes on the wireapp/coturn repo.
Chart: coturn version 5.6.0, from oci://quay.io/wire/charts/stable/coturn.
Heads up¶
Coming from chart 4.6.2-federation-wireapp.55.
The image and the chart now share one version number.
The image now uses Debian bookworm and OpenSSL 3. It was Debian bullseye and OpenSSL 1.1. Test your TLS certificate and key with the new image before you upgrade production.
The chart needs Kubernetes 1.21 or later.
No values key is renamed or removed. No manual step is necessary for the StatefulSet.
What must change¶
Use the image of the same release (5.6.0). Do not pin image.tag to an older image. An older image ignores federation-CA-file and accepts federation peers without a check of their certificate.
If you use a private registry, mirror quay.io/wire/coturn:5.6.0. The other images of the chart do not change.
Changed defaults¶
- TURNS (
tls.enabled: true) no longer asks clients for a client certificate. The chart no longer rendersCA-fileinturnserver.conf. - The
ca.*values now apply only iffederate.enabledandfederate.dtls.enabledare bothtrue. The CA file is then rendered asfederation-CA-file. Without DTLS federation, Helm deletes thecoturn-ca-certificateSecret. If you useca.secretRef, your Secret stays, but the chart no longer mounts it. ca.enabledis deprecated.- With
federate.enabled: true: if you do not setcoturnFederationListeningIP, it now takes the value ofcoturnTurnListenIP. Before, it was__COTURN_EXT_IP__. If federation must listen on the external IP of the node, set:
- The
get-external-ipinit container and the ClusterRole and ClusterRoleBindingcoturn-wireare rendered only if a setting uses__COTURN_EXT_IP__. With the default values, nothing changes. If you set all IP settings to a literal IP,__COTURN_HOST_IP__or__COTURN_POD_IP__, Helm deletes them. - The default resources changed:
| Old | New | |
|---|---|---|
requests.cpu | none | 500m |
requests.memory | 512Mi | 256Mi |
limits.memory | 6.5Gi | none |
To keep the old values, set resources explicitly. The CPU request can change the scheduling on small nodes.
Rollout¶
All coturn pods restart, one at a time. TURN allocations on a restarted pod are lost. Calls that use this pod as relay drop or reconnect. With one replica, no new relayed calls are possible while the pod restarts. Do the upgrade in a maintenance window.
With coturnGracefulTermination: true, each pod keeps its allocations for up to coturnGracePeriodSeconds (default 12 hours) before it stops.