forked from mckinsey/agents-at-scale-ark
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevspace.yaml
More file actions
140 lines (124 loc) · 3.69 KB
/
devspace.yaml
File metadata and controls
140 lines (124 loc) · 3.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# DevSpace configuration for local ARK services development
version: v2beta1
# Dependencies - include other DevSpace configurations
dependencies:
localhost-gateway:
path: ./services/localhost-gateway
ark:
path: ./ark
ark-broker:
path: ./services/ark-broker
ark-api:
path: ./services/ark-api
ark-dashboard:
path: ./services/ark-dashboard
argo-workflows:
path: ./services/argo-workflows
# ark-api-a2a:
# path: ./services/ark-api-a2a
# ark-mcp:
# path: ./services/ark-mcp
# mcp-filesystem:
# path: ./mcp/filesystem-mcp
# ark-evaluator:
# path: ./services/ark-evaluator
# executor-langchain:
# path: ./services/executor-langchain
# Observability services. Uncomment to enable locally. Only phoenix or langfuse is needed
# phoenix service for observability. phoenix has a hook to restart ark-controller to pick up its url
# phoenix:
# git: https://github.com/mckinsey/agents-at-scale-marketplace
# tag: phoenix-v0.1.5
# subPath: services/phoenix
# langfuse service for observability. langfuse has a hook to restart ark-controller to pick up its url
# langfuse:
# git: https://github.com/mckinsey/agents-at-scale-marketplace
# tag: langfuse-v0.1.4
# subPath: services/langfuse
# Vars - To disable, set environment variables before the devspace commands
# For example: ENABLE_CERT_MANAGER=false devspace dev
vars:
ENABLE_CERT_MANAGER:
source: env
default: true
ENABLE_GATEWAY_API_CRDS:
source: env
default: true
ENABLE_ARK_TENANT:
source: env
default: true
commands:
routes:
./services/localhost-gateway/scripts/show-routes.sh
profiles:
- name: enable-cert-manager
activation:
- vars:
ENABLE_CERT_MANAGER: true
patches:
- op: add
path: deployments
value:
cert-manager:
namespace: cert-manager
helm:
chart:
name: cert-manager
repo: https://charts.jetstack.io
releaseName: cert-manager
upgradeArgs: [ "--install" ]
values:
installCRDs: true
- name: enable-gateway-api
activation:
- vars:
ENABLE_GATEWAY_API_CRDS: true
patches:
- op: add
path: deployments
value:
gateway-api:
namespace: default
kubectl:
manifests:
- "https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.3.0/standard-install.yaml"
- name: enable-ark-tenant
activation:
- vars:
ENABLE_ARK_TENANT: true
patches:
- op: add
path: deployments
value:
ark-tenant:
namespace: default
helm:
chart:
path: ./charts/ark-tenant
releaseName: ark-tenant
upgradeArgs: [ "--install" ]
pipelines:
deploy: |-
if [ "${ENABLE_CERT_MANAGER}" == "true" ]; then
create_deployments cert-manager
fi
if [ "${ENABLE_GATEWAY_API_CRDS}" == "true" ]; then
create_deployments gateway-api
fi
run_dependency_pipelines ark --pipeline=deploy
if [ "${ENABLE_ARK_TENANT}" == "true" ]; then
create_deployments ark-tenant
fi
run_dependency_pipelines --all --exclude ark --pipeline=deploy
dev: |-
if [ "${ENABLE_CERT_MANAGER}" == "true" ]; then
create_deployments cert-manager
fi
if [ "${ENABLE_GATEWAY_API_CRDS}" == "true" ]; then
create_deployments gateway-api
fi
run_dependency_pipelines ark --pipeline=dev
if [ "${ENABLE_ARK_TENANT}" == "true" ]; then
create_deployments ark-tenant
fi
run_dependency_pipelines --all --exclude ark --pipeline=dev