Check the Status of a Cluster
Use the check_cluster.py script to see if all processes in a cluster are running. Use the print_blade_stats.py script to check the state of all processes and return the related IP address.
Procedure
-
Check the status of the cluster. Replace
clusterId with the ID of the target cluster.
kubectl exec -it engine_pod_name -n matrixx -- bash --login -c
"check_cluster.py -e engineId -c clusterId"
-
Get statistics for the cluster:
kubectl exec -it engine_pod_name -n matrixx -- bash --login -c
"print_blade_stats.py - C"