高性能计算容器化平台

Kubernetes原生的高性能计算平台,结合传统(Slurm)和现代(Flux)批处理调度器,通过统一的模型上下文协议(MCP)服务器实现AI集成。

  • by kush-gupt
  • Python
  • 本地部署
  • 3 星标
  • 更新于
在 GitHub 查看 kush-gupt/sc25

使用说明

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.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
  • 当地播客: 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许可证-请参阅 许可证

参考文献与致谢

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