From afe70711ef52272616d1b5afa07113d07bb9594d Mon Sep 17 00:00:00 2001 From: Mx-Bx Date: Mon, 16 Sep 2024 03:40:03 +0000 Subject: [PATCH] Add the sharding script --- init-sharding.sh | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 init-sharding.sh diff --git a/init-sharding.sh b/init-sharding.sh new file mode 100755 index 0000000..ea869af --- /dev/null +++ b/init-sharding.sh @@ -0,0 +1,44 @@ +#!/bin/bash + +kubectl exec -it config-server-0 -- mongosh --port 27201 <