#!/bin/bash # Lista todos os recursos do cluster de forma organizada echo "=== NODES ===" kubectl get nodes echo -e "\n=== NAMESPACES ===" kubectl get namespaces echo -e "\n=== PODS (todos os namespaces) ===" kubectl get pods -A echo -e "\n=== DEPLOYMENTS ===" kubectl get deployments -A echo -e "\n=== SERVICES ===" kubectl get services -A echo -e "\n=== INGRESS ===" kubectl get ingress -A echo -e "\n=== PERSISTENT VOLUMES ===" kubectl get pv echo -e "\n=== PERSISTENT VOLUME CLAIMS ===" kubectl get pvc -A echo -e "\n=== CONFIGMAPS ===" kubectl get configmaps -A echo -e "\n=== SECRETS ===" kubectl get secrets -A