Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,6 @@ jobs:
--set genai.image.tag=${{ steps.vars.outputs.image_tag }} \
--set genai.logosKey="${{ secrets.LOGOS_KEY }}" \
--set genai.openaiApiKey="${{ secrets.OPENAI_API_KEY }}" \
--set userDb.password="${{ secrets.USER_DB_PASSWORD }}" \
--set groceryDb.password="${{ secrets.GROCERY_DB_PASSWORD }}" \
--atomic
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,8 @@ The UI includes the User Service, Grocery Service, and Gen AI Service OpenAPI de
Requires Docker Desktop running.

```powershell
$env:LOGOS_KEY="..."
$env:OPENAI_API_KEY="sk-..." # optional, only needed for the OpenAI switch
docker compose up --build
docker compose down # To take down later
```

Open http://localhost:8081
Expand All @@ -139,8 +138,17 @@ Drop `--build` on subsequent starts if nothing has changed. To stop: `docker com
### Kubernetes

#### Local Kubernetes Deployment
...

Requires a local Kubernetes cluster running via Docker Desktop.

```powershell
kubectl config use-context docker-desktop
kubectl create namespace team-bytebite
helm upgrade --install bytebite ./helm/bytebite -f ./helm/bytebite/values-local.yaml --namespace team-bytebite --set genai.openaiApiKey="sk-..." --atomic
helm uninstall bytebite --namespace team-bytebite # To take down later
```

Open http://localhost:80

#### Kubernetes Deployment to the AET cluster

Expand All @@ -156,11 +164,9 @@ Alternatively, you can do manual deployment with Helm:
(Requires `helm` and a valid kubeconfig)

```bash
helm upgrade --install bytebite ./helm/bytebite \
--namespace team-bytebite \
--set genai.logosKey="..." \
--set genai.openaiApiKey="sk-..." \
--atomic
kubectl config use-context stud
helm upgrade --install bytebite ./helm/bytebite --namespace team-bytebite --set genai.openaiApiKey="sk-..." --atomic
helm uninstall bytebite --namespace team-bytebite # To take down later
```

The app is available at https://team-bytebite.stud.k8s.aet.cit.tum.de
Loading
Loading