|
1
|
--- |
|
2
|
# ClusterIP for the REST API — internal access. |
|
3
|
# Expose externally via an Ingress or change type to LoadBalancer. |
|
4
|
apiVersion: v1 |
|
5
|
kind: Service |
|
6
|
metadata: |
|
7
|
name: scuttlebot-api |
|
8
|
labels: |
|
9
|
app: scuttlebot |
|
10
|
spec: |
|
11
|
type: ClusterIP |
|
12
|
selector: |
|
13
|
app: scuttlebot |
|
14
|
ports: |
|
15
|
- name: api |
|
16
|
port: 8080 |
|
17
|
targetPort: 8080 |
|
18
|
--- |
|
19
|
# ClusterIP for the MCP server — internal access for AI agent tooling. |
|
20
|
apiVersion: v1 |
|
21
|
kind: Service |
|
22
|
metadata: |
|
23
|
name: scuttlebot-mcp |
|
24
|
labels: |
|
25
|
app: scuttlebot |
|
26
|
spec: |
|
27
|
type: ClusterIP |
|
28
|
selector: |
|
29
|
app: scuttlebot |
|
30
|
ports: |
|
31
|
- name: mcp |
|
32
|
port: 8081 |
|
33
|
targetPort: 8081 |
|
34
|
|