#!/bin/bash set -eu export KUBECONFIG=/root/.kube/config kubectl rollout status deployment/coredns -n kube-system --timeout=90s echo CORE_HEALTH curl -s -o /dev/null -m 5 -w 'newapi %{http_code}\n' http://127.0.0.1:3000/api/status curl -s -o /dev/null -m 5 -w 'vllm %{http_code}\n' http://127.0.0.1:8000/health curl -s -o /dev/null -m 5 -w 'dify %{http_code}\n' http://127.0.0.1:8088/ curl -s -o /dev/null -m 5 -w 'langfuse %{http_code}\n' http://127.0.0.1:3100/api/public/health nohup bash /usr/cluster/k8s/migrate.sh > /usr/cluster/k8s/migrate.log 2>&1 & echo MIGRATE_PID $! echo STARTED