返回市场
科学25

科学25

作者:kush-gupt2 星标更新:2025-11-20

项目介绍

集成AI的HPC容器化

基于Kubernetes的HPC平台,结合传统(Slurm)和现代(Flux)批处理调度器,并使用统一的模型上下文协议(MCP)服务器。

辅助工具:Cursor IDE

特性

  • 启动脚本,用于启动Slurm(Slinky)和Flux操作符,使用kind + Podman。
  • 统一的MCP服务器(hpc-mcp-server),提供5个Slurm和5个Flux MiniCluster工具。
  • 端到端的以Podman为主的容器工具(CI/CD、本地开发、GitOps)。

快速开始

# 1. 创建/刷新本地集群,包含两个操作符
./bootstrap/setup_local_cluster.sh

# 2. 构建并部署MCP服务器
cd mcp-servers
./build.sh --registry localhost --tag latest --builder podman
./build_and_deploy.sh

# 3. 在MCP服务器运行时进行烟雾测试
./tests/integration_test.sh

GitOps (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:443

MCP服务器

统一的FastMCP运行时,提供Slurm作业控制和Flux MiniCluster生命周期工具,共享安全控制。→ 文档

注册表

  • GitHub容器注册表:ghcr.io/kush-gupt/hpc-mcp-server:latest
  • 本地Podman:localhost/hpc-mcp-server:latest
# 本地构建
cd mcp-servers
./build.sh --registry localhost --tag latest --builder podman

# 或者拉取/推送统一镜像
podman pull ghcr.io/kush-gupt/hpc-mcp-server:latest

许可证

MIT许可证 - 查看LICENSE

参考资料及致谢

该项目利用了多种令人惊叹的开源技术: