Skip to main content
Glama
cleanup.sh506 B
#!/usr/bin/env bash # Wait for deployment to scale to 2 replicas with kubectl wait TIMEOUT="120s" if kubectl wait --for=condition=Available=True --timeout=$TIMEOUT deployment/web-app -n scale-test; then # Verify the replica count is exactly 2 if [ "$(kubectl get deployment web-app -n scale-test -o jsonpath='{.status.availableReplicas}')" = "2" ]; then exit 0 fi fi # If we get here, deployment didn't scale up correctly in time echo "Verification failed for scale-deployment" exit 1

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/containers/kubernetes-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server