From 8e664a07706d3f3ebf355209c21f8d464c9f13f5 Mon Sep 17 00:00:00 2001 From: John Lambert Date: Tue, 5 Sep 2023 10:24:48 -0400 Subject: [PATCH] Mongo Readme help --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 742e7a61..6d3ded3d 100644 --- a/README.md +++ b/README.md @@ -90,4 +90,10 @@ There are 3 different environments that Serval is deployed to: ### Access S3 bucket -- to view files, run `aws s3 ls s3://aqua-ml-data/` \ No newline at end of file +- to view files, run `aws s3 ls s3://aqua-ml-data/` + +### Mongo investigation + +* First, get the pod name: `kubectl get pods -n serval` +* Then forward to local port, such as 28015: `kubectl port-forward 28015:27017 -n serval` +* Then open MongoDB Compass and connect to `mongodb://localhost:28015/?directConnection=true` \ No newline at end of file