Verify the Status of an In-Memory DB Instance
while [[ $(curl -sXGET "https://in-memory-db.de-txl.ionos.com/replicasets/${UUID}" -H "Authorization: Bearer ${TOKEN}" | jq -r .metadata.state) != "AVAILABLE" ]]; do
sleep 5
clear
echo -e "Cluster status:\n"
kg replicasets "${UUID}" -ojsonpath='{.status.conditions}' | yq -P
echo -e "\ncluster is not available yet, waiting 5 seconds..."
doneInitialize the In-Memory DB Instance
PreviousCreate an In-Memory DB InstanceNextConnect to an In-Memory DB Instance from the Kubernetes Cluster
Last updated
Was this helpful?