|
1 | | -1. Get the application URL by running these commands: |
| 1 | +Getting started: |
2 | 2 | {{- if .Values.ingress.enabled }} |
3 | 3 | {{- range $host := .Values.ingress.hosts }} |
4 | 4 | {{- range .paths }} |
5 | 5 | http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }} |
6 | 6 | {{- end }} |
7 | 7 | {{- end }} |
8 | 8 | {{- else if contains "NodePort" .Values.service.type }} |
| 9 | + |
9 | 10 | export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "beeai-platform.fullname" . }}) |
10 | 11 | export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") |
11 | 12 | echo http://$NODE_IP:$NODE_PORT |
12 | 13 | {{- else if contains "LoadBalancer" .Values.service.type }} |
| 14 | + |
13 | 15 | 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 }}"}}") |
16 | 18 | echo http://$SERVICE_IP:{{ .Values.service.port }} |
17 | 19 | {{- 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. |
22 | 62 | {{- end }} |
0 commit comments