Files
deployment/scripts/diagnose-deployment.sh
T
Cédric VerstraetenandCopilot 913706fe3f Deploy verified hardened Factory v2.0.13 with coordinated runtime settings
Pin the signed multiarchitecture digest, route unchanged external ports to HTTP 8080, enforce restricted security context and mount writable config/tmp volumes. Exercise a legacy upgrade and ConfigMap-backed settings after pod replacement on kind.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-04 17:16:29 +00:00

20 lines
687 B
Bash

#!/usr/bin/env bash
set -uo pipefail
kubectl get pods,pvc -A -o wide
kubectl get events -A --sort-by=.lastTimestamp
for namespace in garage mongodb rabbitmq vernemq kerberos-vault kerberos-agent kerberos-hub kerberos-factory; do
if ! pods="$(kubectl -n "$namespace" get pods -o name)"; then
echo "::warning::Could not list pods in $namespace."
continue
fi
for pod in $pods; do
if ! kubectl -n "$namespace" describe "$pod"; then
echo "::warning::Could not describe $namespace/$pod."
fi
if ! kubectl -n "$namespace" logs "$pod" --all-containers=true --tail=80 --prefix; then
echo "::warning::Logs unavailable for $namespace/$pod."
fi
done
done