Skip to content

Commit a67c592

Browse files
jezekra1JanPokorny
andauthored
chore(phoenix): switch to official helm chart (#926)
Co-authored-by: Jan Pokorný <[email protected]>
1 parent 430a3fb commit a67c592

File tree

16 files changed

+167
-143
lines changed

16 files changed

+167
-143
lines changed

apps/beeai-cli/src/beeai_cli/commands/platform.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,20 @@ async def start(
519519

520520
console.print("[green]BeeAI platform started successfully![/green]")
521521

522+
if any("phoenix.enabled=true" in value.lower() for value in set_values_list):
523+
console.print(
524+
textwrap.dedent("""\
525+
526+
License Notice:
527+
When you enable Phoenix, be aware that Arize Phoenix is licensed under the Elastic License v2 (ELv2),
528+
which has specific terms regarding commercial use and distribution. By enabling Phoenix, you acknowledge
529+
that you are responsible for ensuring compliance with the ELv2 license terms for your specific use case.
530+
Please review the Phoenix license (https://github.com/Arize-ai/phoenix/blob/main/LICENSE) before enabling
531+
this feature in production environments.
532+
"""),
533+
style="dim",
534+
)
535+
522536

523537
@app.command("stop")
524538
async def stop(

apps/beeai-server/src/beeai_server/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class VectorStoresConfiguration(BaseModel):
106106

107107

108108
class TelemetryConfiguration(BaseModel):
109-
collector_url: AnyUrl = AnyUrl("http://otel-collector-svc:8335")
109+
collector_url: AnyUrl = AnyUrl("http://otel-collector-svc:4318")
110110

111111

112112
class UIFeatureFlags(BaseModel):

apps/beeai-ui/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ NEXT_PUBLIC_APP_NAME=
88
# Default: '/bee.svg'
99
NEXT_PUBLIC_APP_FAVICON_SVG=
1010

11-
# Default: 'http://localhost:6006'
12-
NEXT_PUBLIC_PHOENIX_SERVER_TARGET='http://localhost:6006'
11+
# Default: 'http://localhost:31606'
12+
NEXT_PUBLIC_PHOENIX_SERVER_TARGET='http://localhost:31606'
1313

1414
# Custom navigation structure in JSON format
1515
# See ./src/modules/nav/schema.ts for the schema definition

apps/beeai-ui/src/utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const APP_NAME = process.env.NEXT_PUBLIC_APP_NAME ?? 'BeeAI';
99

1010
export const APP_FAVICON_SVG = process.env.NEXT_PUBLIC_APP_FAVICON_SVG ?? '/bee.svg';
1111

12-
export const PHOENIX_SERVER_TARGET = process.env.NEXT_PUBLIC_PHOENIX_SERVER_TARGET ?? 'http://localhost:6006';
12+
export const PHOENIX_SERVER_TARGET = process.env.NEXT_PUBLIC_PHOENIX_SERVER_TARGET ?? 'http://localhost:31606';
1313

1414
export const NAV_ITEMS = parseNav(process.env.NEXT_PUBLIC_NAV_ITEMS);
1515

docs/concepts/agents.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ AGENT_MAX_TOKENS=2000
526526
AGENT_TEMPERATURE=0.7
527527
528528
# Platform Integration
529-
OTEL_EXPORTER_OTLP_ENDPOINT=http://collector:8335
529+
OTEL_EXPORTER_OTLP_ENDPOINT=http://collector:4318
530530
PLATFORM_URL=http://beeai-platform:8333
531531
```
532532

docs/how-to/observe-agents.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ beeai platform start --set phoenix.enabled=true
6969
</Step>
7070
<Step title="Check if Phoenix is running">
7171
Spinning up phoenix can take a while, even after the `platform start` will report success.
72-
Go to [http://localhost:6006](http://localhost:6006) and check if it's running. If not, please wait a few
72+
Go to [http://localhost:31606](http://localhost:31606) and check if it's running. If not, please wait a few
7373
minutes or check your internet connection.
7474
</Step>
7575
<Step title="Run Agent with Phoenix Configuration">
@@ -82,7 +82,7 @@ beeai run chat "Hello"
8282

8383
</Step>
8484
<Step title="View Traces in Phoenix">
85-
Go to [http://localhost:6006](http://localhost:6006) in your browser and open the **default** project.
85+
Go to [http://localhost:31606](http://localhost:31606) in your browser and open the **default** project.
8686
</Step>
8787
</Steps>
8888

docs/observability/agents-traceability.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ beeai run chat "Hello"
3030

3131
</Step>
3232
<Step title="View traces in Phoenix GUI">
33-
Open http://localhost:6006 in your browser and navigate to the **default** project to explore the collected traces.
33+
Open http://localhost:31606 in your browser and navigate to the **default** project to explore the collected traces.
3434
</Step>
3535
</Steps>
3636

helm/Chart.lock

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ dependencies:
44
version: 2.31.3
55
- name: postgresql
66
repository: oci://registry-1.docker.io/bitnamicharts
7-
version: 16.7.12
7+
version: 16.7.18
88
- name: seaweedfs
99
repository: https://seaweedfs.github.io/seaweedfs/helm
10-
version: 4.0.391
11-
digest: sha256:97c422d16679a389494ec399dd4e4e57b1349a4f5360d50b8a06a17bac6cb69b
12-
generated: "2025-06-19T09:22:05.526278+02:00"
10+
version: 4.0.393
11+
- name: phoenix-helm
12+
repository: oci://registry-1.docker.io/arizephoenix
13+
version: 2.0.11
14+
digest: sha256:7de8af83f584265cddb1bbef3ed03d70e3a52b508745b3ebc1007bc0eb77f911
15+
generated: "2025-07-15T14:31:35.503506+02:00"

helm/Chart.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ dependencies:
1919
name: seaweedfs
2020
repository: https://seaweedfs.github.io/seaweedfs/helm
2121
version: 4.x.x
22+
- condition: phoenix.enabled
23+
name: phoenix-helm
24+
alias: phoenix
25+
repository: oci://registry-1.docker.io/arizephoenix
26+
version: 2.x.x
27+

helm/templates/NOTES.txt

Lines changed: 47 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,62 @@
1-
1. Get the application URL by running these commands:
1+
Getting started:
22
{{- if .Values.ingress.enabled }}
33
{{- range $host := .Values.ingress.hosts }}
44
{{- range .paths }}
55
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
66
{{- end }}
77
{{- end }}
88
{{- else if contains "NodePort" .Values.service.type }}
9+
910
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "beeai-platform.fullname" . }})
1011
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
1112
echo http://$NODE_IP:$NODE_PORT
1213
{{- else if contains "LoadBalancer" .Values.service.type }}
14+
1315
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
14-
You can watch its status by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "beeai-platform.fullname" . }}'
15-
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "beeai-platform.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
16+
You can watch its status by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w beeai-platform-svc'
17+
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} --beeai-platform-svc --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
1618
echo http://$SERVICE_IP:{{ .Values.service.port }}
1719
{{- else if contains "ClusterIP" .Values.service.type }}
18-
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "beeai-platform.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
19-
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
20-
echo "Visit http://127.0.0.1:8080 to use your application"
21-
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
20+
21+
# port-forward the API
22+
kubectl port-forward svc/beeai-platform-svc 8333:{{.Values.service.port}} &
23+
24+
# use the beeai CLI to setup the environment
25+
{{- if .Values.auth.enabled }}
26+
BEEAI__ADMIN_PASSWORD={{.Values.auth.admin_password}} beeai env setup
27+
{{- else}}
28+
beeai env setup
29+
{{- end}}
30+
{{- if .Values.ui.enabled }}
31+
32+
# port-forward the UI
33+
kubectl port-forward svc/beeai-platform-ui-svc 8334:{{.Values.service.port}} &
34+
35+
# Open the UI in the browser
36+
beeai ui
37+
{{- end }}
38+
{{- end }}
39+
40+
📄 See the documentation for more details and troubleshooting steps: https://docs.beeai.dev/deployment/kubernetes
41+
42+
Resources:
43+
44+
📚 Documentation: https://docs.beeai.dev
45+
🤖 Agent Catalog: https://beeai.dev/agents
46+
💬 Discord Community: https://discord.gg/NradeA6ZNF
47+
📝 GitHub Issues: https://github.com/i-am-bee/beeai-platform/issues
48+
49+
Upgrade platform:
50+
51+
helm upgrade {{ .Release.Name }} oci://ghcr.io/i-am-bee/beeai-platform/beeai-platform-chart/beeai-platform:<version>
52+
53+
{{- if .Values.phoenix.enabled }}
54+
55+
Important License Notice:
56+
57+
When you enable Phoenix, be aware that Arize Phoenix is licensed under the Elastic License v2 (ELv2), which has
58+
specific terms regarding commercial use and distribution. By enabling Phoenix, you acknowledge that you are
59+
responsible for ensuring compliance with the ELv2 license terms for your specific use case. Please review the
60+
Phoenix license (https://github.com/Arize-ai/phoenix/blob/main/LICENSE) before enabling this feature in
61+
production environments.
2262
{{- end }}

0 commit comments

Comments
 (0)