HPC容器化与AI集成
Kubernetes原生HPC平台将传统(Slurm)和现代(Flux)批处理调度器与统一的模型上下文协议(MCP)服务器相结合。
辅助:Cursor IDE
特性
- Bootstrap脚本,使用kind+Podman调用Slurm(Slinky)和Flux运算符。
- 统一MCP服务器(
hpc-mcp-server)暴露5个Slurm和5个Flux MiniCluster工具。 - Podman第一个端到端容器工具(CI/CD、本地开发、GitOps)。
快速开始
# 1. Create / refresh the local cluster with both operators
./bootstrap/setup_local_cluster.sh
# 2. Build + deploy the MCP server
cd mcp-servers
./build.sh --registry localhost --tag latest --builder podman
./build_and_deploy.sh
# 3. Smoke test the MCP server once it is running
./tests/integration_test.shGitOps(ArgoCD)
./bootstrap/setup_local_cluster.sh
cd mcp-servers && ./build.sh --registry localhost --tag latest --builder podman
podman save localhost/hpc-mcp-server:latest | kind load image-archive /dev/stdin --name hpc-local
kubectl apply -f ../argocd/root-app.yaml
kubectl port-forward svc/argocd-server -n argocd 8080:443MCP服务器
统一的FastMCP运行时,它公开了Slurm作业控件和Flux MiniCluster生命周期工具,并具有共享的安全控件。 → 文档
注册表
- GitHub容器注册表:
ghcr.io/kush-gupt/hpc-mcp-server:latest - 当地播客:
localhost/hpc-mcp-server:latest
# Build locally
cd mcp-servers
./build.sh --registry localhost --tag latest --builder podman
# Or pull/push unified image
podman pull ghcr.io/kush-gupt/hpc-mcp-server:latest许可证
MIT许可证-请参阅 许可证
参考文献与致谢
该项目利用了几种令人惊叹的开源技术:
