From 07a8aba44050ea7a0361c616b30a140a661800e2 Mon Sep 17 00:00:00 2001 From: Denis Lemire Date: Thu, 23 Oct 2025 11:40:35 -0600 Subject: [PATCH] Update repl connection instructions for data-retention.adoc - Server >= 4.8 no longer includes lein client in the front-end container - Need to use a port forward and docker container instead. --- .../modules/operator/pages/data-retention.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/server-admin-4.8/modules/operator/pages/data-retention.adoc b/docs/server-admin-4.8/modules/operator/pages/data-retention.adoc index 0792bac899..39fff31546 100644 --- a/docs/server-admin-4.8/modules/operator/pages/data-retention.adoc +++ b/docs/server-admin-4.8/modules/operator/pages/data-retention.adoc @@ -15,14 +15,15 @@ You can set up retention policies for both Mongo and PostgreSQL to clean up data + [source,bash] ---- -kubectl exec -it -- /bin/bash +kubectl port-forward $(kubectl get pods -l app=frontend -o jsonpath='{.items[0].metadata.name}' -n ) -n 16000:6005 & ---- + Then, connect to the REPL: + [source,bash] ---- -lein repl :connect 6005 +docker run --rm -it clojure bash +lein repl :connect host.docker.internal:16000 ---- . Once connected, the current setting can be verified using the following command: