Renny ヘルス API
最終更新
curl http://localhost:8081/healthlivenessProbe:
httpGet:
path: /health
port: 8081
initialDelaySeconds: 30
periodSeconds: 10healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8081/health"]
interval: 30s
timeout: 10s
retries: 3#!/bin/bash
response=$(curl -s http://localhost:8081/health)
status=$(echo $response | jq -r '.status')
if [ "$status" != "ok" ]; then
echo "Renny health check failed"
exit 1
fi