#!/usr/bin/env bash
set -euo pipefail

APP_NAME="adminer"

echo "=== [ $APP_NAME 資源狀態 ] ==="
echo ""

echo "--- Pods ---"
kubectl get pods -l "app=$APP_NAME" -o wide

echo ""

echo "--- Services ---"
kubectl get svc -l "app=$APP_NAME"

echo ""

echo "--- Access (Ingress) ---"
kubectl get ingress -l "app=$APP_NAME"
