a-cloud-all/k8s/16-fms/README.md

45 lines
938 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 16-FMS 部署
## 说明
部署 FMS 飞行管理系统模块,提供飞行管理功能。
## 部署流程
1. **打包 FMS** - 执行 bin/package.sh tuoheng-fms
2. **复制 jar** - 复制 jar 文件到 docker/ruoyi/modules/fms/jar
3. **构建镜像** - 使用 docker-compose 构建 FMS 镜像
4. **导入镜像** - 如果是 Minikube 环境,自动导入镜像
5. **部署到 K8s** - 部署 Service 和 Deployment
6. **等待启动** - 等待 Pod 就绪
## 配置说明
- **Service 名称**: tuoheng-modules-fms
- **端口**: 9205
- **镜像**: tuoheng-modules-fms-runtime
- **依赖**: Redis, MySQL
## 文件说明
- `service.yaml` - FMS Service 配置ClusterIP
- `deployment.yaml` - FMS Deployment 配置
- `deploy.sh` - 一键部署脚本
## 部署步骤
```bash
# 进入目录
cd 16-fms
# 执行部署脚本
./deploy.sh
```
## 访问
```bash
# 集群内访问
tuoheng-modules-fms.ruoyi.svc.cluster.local:9205
```