vela_compare_application
Compare application configurations to diagnose config drift, checking latest vs cluster running state or a specific revision against running or latest.
Instructions
对比应用配置差异(诊断配置漂移)。三种模式:
仅传 env:最新配置 vs 该环境集群运行态
传 revision + compare_with=running:指定版本 vs 集群运行态
传 revision + compare_with=latest:指定版本 vs 最新配置
对应 API:POST /api/v1/applications/{app}/compare
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | 环境名。不传 revision 时必填:对比最新配置与该环境集群运行态 | |
| app_name | Yes | 应用名称 | |
| revision | No | 版本号。传入后以该版本为基准做对比 | |
| compare_with | No | revision 的对比对象:running(集群运行态)或 latest(最新配置) | running |
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |