This commit is contained in:
k00kzaAntonovaIra
2026-11-06 13:57:29 +03:00
parent ec540a1a72
commit 8d001712fe
194 changed files with 13448 additions and 203 deletions
+11
View File
@@ -0,0 +1,11 @@
"""Liveness of the private MinIO service; no credentials in process arguments."""
import sys
from urllib.request import urlopen
try:
with urlopen("http://127.0.0.1:9000/minio/health/live", timeout=2) as response:
sys.exit(0 if response.status == 200 else 1)
except OSError:
sys.exit(1)