feat: add adminer and vaultwarden apps, integrated from k8s-manifests
This commit is contained in:
20
apps/adminer/status.sh
Executable file
20
apps/adminer/status.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/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" -o custom-columns=NAME:.metadata.name,HOSTS:.spec.rules[*].host
|
||||
Reference in New Issue
Block a user