esunar / health-check.sh
0 beğeniler
0 çatallar
1 dosyalar
Son aktivite
| 1 | #!/usr/bin/env bash |
| 2 | set -euo pipefail |
| 3 | # k8s-health.sh — single-context Kubernetes health report (Markdown) |
| 4 | # Focus: core cluster + Calico + Istio + common apps (Redis, RabbitMQ, MinIO) |
| 5 | # Deps: kubectl, jq, awk, sed, grep, base64, openssl; (optional) gdate |
| 6 | # ----------------------------- CLI & Globals ----------------------------- |
| 7 | OUT_DIR="" |
| 8 | REQUEST_TIMEOUT="${REQUEST_TIMEOUT:-8s}" |
| 9 | DNS_TEST="${DNS_TEST:-true}" # set false to skip ephemeral DNS test |
| 10 | TLS_WARN_DAYS="${TLS_WARN_DAYS:-14}" |
Daha yeni
Daha eski