This repo contains a shell script designed to fetch CockroachDB node details
- CockroackDB Loadbalancer/Node URL along with user credentials
- Ensure you have
curl
installed on your system. You can check ifcurl
is installed by running:
curl --version
- Clone this repository to your local machine:
git clone https://github.com/vittalpai/fetch-crdb-deployment.git
- Navigate to the repository directory:
cd fetch-cluster-details
- Make the script executable:
chmod +x fetch_cluster_details.sh
- Run the script:
./fetch_cluster_details.sh
-
Follow the prompts to enter the base URL along with User credentials.
-
The script generates and saves the CRDB deployment information into
crdb_details.json
.