Repository navigation
feat(deploy): run joinly beside the broker on Kubernetes, as a sidecar - #596
Merged
Merged
Conversation
deploy/kubernetes/meetings/ patches the StatefulSet with joinly on the pod's localhost only (no Service, no port), as uid 1001 with a read-only root, no capabilities and /tmp writable, and a second patch mounts the pinned Zoom speaker-name fix from a ConfigMap. SWITCHBOARD_JOINLY_URL sets [meeting] joinly_url from the manifest. Verified on a kind cluster. Closes #591 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 5, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The maintainer asked how meetings (#573) run on their EKS setup, and approved running joinly as a sidecar (#591). Until now,
[meeting] joinly_urlcould be set only inconfig.tomlon the broker's volume, which a manifest (or Argo) can't write.What it does
SWITCHBOARD_JOINLY_URLsets[meeting] joinly_urlfrom the environment. A non-empty value wins over the file, asSWITCHBOARD_HUMAN_NAMEdoes. It goes through the same check as the key (http or https, 300 characters at most, no user name or password)./meetingoff without a word.deploy/kubernetes/meetings/joinly.yamlis a strategic-merge patch of the example StatefulSet that adds joinly as a second container in the broker's pod:JOINLY_SERVER_HOST=127.0.0.1, because the image defaults to0.0.0.0. It has nocontainerPortand no Service, so nothing in the cluster but the broker beside it reaches it. No NetworkPolicy is needed./tmpis writable (2 GiB), andXDG_CONFIG_HOME=/tmpgives PulseAudio somewhere to write. Each relaxation is commented with what failed without it./dev/shm.execwith the image's Python against/health, since a localhost-bound joinly can't be reached by anhttpGetprobe. There is no readinessProbe on purpose: a slow joinly must not take the broker out of its Service.kubectl.kubernetes.io/default-container: switchboard, sokubectl logsandexec(the one-time password,switchboard login) still reach the broker by default.deploy/kubernetes/meetings/joinly-zoom-fix.yaml, a second patch, mounts the pinned Zoom speaker-name fix (fix: zoom active speaker in the single-video layout, and the participants button joinly-ai/joinly#187) from a ConfigMap. It is a separate patch because asubPathmount of a missing ConfigMap fails the container even when markedoptional.kubectl patch --patch-file, or kustomize under Argo or Flux (resources: [switchboard.yaml],patches: [...], and aconfigMapGeneratorforzoom.py). The patches live inmeetings/so that a GitOps tool readingdeploy/kubernetes/doesn't take them for a second StatefulSet.Previews
Nothing visible changes in the web UI.
Verification
On a local kind cluster (kind v0.33.0, kubectl v1.37.2, with the maintainer's yes to install them). The cluster was deleted afterwards.
The test copy also set
enableServiceLinks: false. Without it the base manifest crash-loops on any cluster, which is #595, fixed in its own pull request.Tests:
tests/unit/test_config.py: the variable is used, beats the file, and fails startup on a bad value; an empty or unset one leaves the file's value.tests/unit/test_deploy_joinly.py: six guards on the patch (the localhost host, no port, exec probes, no readinessProbe, uid 1001, read-only root, a memory-backed shm, a pinned tag). The patch was mutated eight ways, and each mutation failed its guard.tests/integration/test_meetings.py: the hint.Docs
Searched
*.mdforjoinly_url,joinlyandKubernetes.changes/k8s-joinly.md.Closes #591
🤖 Generated with Claude Code