修复:添加libyaml-dev依赖和管理脚本

This commit is contained in:
2026-02-04 23:22:22 +08:00
parent 6ce4957abe
commit 4cd82543e3
4 changed files with 496 additions and 27 deletions

6
check-logs.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
# 查看Rails应用完整日志
echo "📝 Rails应用完整日志:"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
sshpass -p '1' ssh fei@149.13.91.216 "export KUBECONFIG=/etc/rancher/k3s/k3s.yaml && kubectl logs -n rails-app -l app=rails-app -f"