|
1 | 1 | # Installation |
2 | 2 |
|
3 | | -## Gravity K8s CI/CD Agent |
| 3 | +## Matter AI Enterprise |
4 | 4 |
|
5 | 5 | 1. `helm repo add gravity https://gravitycloudai.github.io/helm` |
6 | 6 | 2. `helm repo update` |
7 | | -3. `helm upgrade --install gravity-ci-cd-agent gravity/gravity-ci-cd-agent -f values.yaml -n gravity-cloud --create-namespace` |
| 7 | +3. `helm upgrade --install matter-ai-enterprise gravity/matter-ai-enterprise -f matter-enterprise-values.yaml -n matterai --create-namespace` |
8 | 8 |
|
9 | | -## Matter AI Code Review Agent |
| 9 | +## Matter AI MCP Configuration |
10 | 10 |
|
11 | | -1. `helm repo add gravity https://gravitycloudai.github.io/helm` |
12 | | -2. `helm repo update` |
13 | | -3. `helm upgrade --install matter-ai gravity/gravity-matter -f matter-values.yaml -n matter-ai --create-namespace` |
| 11 | +The Matter AI MCP component is disabled by default. To enable it, set `matterMCP.enabled` to `true` in your values file: |
14 | 12 |
|
15 | | -## Matter AI Enterprise |
| 13 | +```yaml |
| 14 | +matterMCP: |
| 15 | + enabled: true |
| 16 | +``` |
16 | 17 |
|
17 | | -1. `helm repo add gravity https://gravitycloudai.github.io/helm` |
18 | | -2. `helm repo update` |
19 | | -3. `helm upgrade --install matter-ai-enterprise gravity/matter-ai-enterprise -f matter-enterprise-values.yaml -n matterai --create-namespace` |
| 18 | +### Deployment Configuration |
| 19 | +
|
| 20 | +The MCP deployment uses the `gravitycloud/matter-ai-mcp` image with the following default settings: |
| 21 | +- 1 replica |
| 22 | +- Image tag: latest |
| 23 | +- Resource requests: 256Mi memory, 250m CPU |
| 24 | +- Resource limits: 512Mi memory, 500m CPU |
| 25 | + |
| 26 | +You can customize these settings in your values file: |
| 27 | + |
| 28 | +```yaml |
| 29 | +matterMCP: |
| 30 | + enabled: true |
| 31 | + deployment: |
| 32 | + replicas: 2 |
| 33 | + image: |
| 34 | + repository: gravitycloud/matter-ai-mcp |
| 35 | + tag: v1.0.0 |
| 36 | + resources: |
| 37 | + requests: |
| 38 | + memory: "512Mi" |
| 39 | + cpu: "500m" |
| 40 | + limits: |
| 41 | + memory: "1Gi" |
| 42 | + cpu: "1000m" |
| 43 | +``` |
| 44 | + |
| 45 | +The MCP service will automatically connect to the Matter Backend service through a dynamically constructed endpoint. The `MATTER_API_ENDPOINT` environment variable is automatically set to `http://matter-backend-service.matterai.svc.cluster.local:8080` (or the appropriate service URL based on your configuration), so no manual configuration is required. |
| 46 | + |
| 47 | +### Service Configuration |
| 48 | + |
| 49 | +The MCP service is configured as a ClusterIP service on port 9000 by default: |
| 50 | + |
| 51 | +```yaml |
| 52 | +matterMCP: |
| 53 | + enabled: true |
| 54 | + service: |
| 55 | + name: matter-mcp-server-service |
| 56 | + type: ClusterIP |
| 57 | + port: 9000 |
| 58 | + targetPort: 9000 |
| 59 | +``` |
| 60 | + |
| 61 | +### Ingress Configuration |
| 62 | + |
| 63 | +To expose the MCP service externally, configure its ingress by setting `matterMCP.ingress.enabled` to `true`: |
| 64 | + |
| 65 | +```yaml |
| 66 | +matterMCP: |
| 67 | + enabled: true |
| 68 | + ingress: |
| 69 | + enabled: true |
| 70 | + className: "nginx" |
| 71 | + annotations: |
| 72 | + nginx.ingress.kubernetes.io/ssl-redirect: "true" |
| 73 | + hosts: |
| 74 | + - host: matterai-mcp.example.com |
| 75 | + paths: |
| 76 | + - path: / |
| 77 | + pathType: Prefix |
| 78 | + tls: |
| 79 | + - secretName: matterai-mcp-server-tls |
| 80 | + hosts: |
| 81 | + - matterai-mcp.example.com |
| 82 | +``` |
| 83 | + |
| 84 | +### Additional Configuration |
| 85 | + |
| 86 | +The MCP deployment uses a ConfigMap volume for runtime configuration: |
| 87 | + |
| 88 | +```yaml |
| 89 | +matterMCP: |
| 90 | + enabled: true |
| 91 | + deployment: |
| 92 | + volumes: |
| 93 | + - name: runtime-config |
| 94 | + configMap: |
| 95 | + name: matter-ai-mcp-config |
| 96 | +``` |
| 97 | + |
| 98 | +This ConfigMap is automatically created when the MCP component is enabled. |
0 commit comments