Skip to content

Commit

Permalink
block
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
codefromthecrypt committed Feb 26, 2025
1 parent 5145b72 commit 74d3f31
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example-apps/chatbot-rag-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ to follow logs on this stage:
kubectl logs deployment.apps/chatbot-rag-app -c create-index -f
```

Next, forward the kibana port:
Next, forward the web UI port:
```bash
kubectl port-forward service/kibana 5601:5601 &
kubectl port-forward deployment.apps/chatbot-rag-app 4000:4000 &
```

Clean up when finished, like this:
Expand Down
9 changes: 9 additions & 0 deletions k8s/k8s-manifest-elastic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,15 @@ spec:
labels:
app: apm-server
spec:
initContainers:
- name: await-kibana
image: docker.elastic.co/elasticsearch/elasticsearch:8.17.2
command:
- bash
- -xc
- |
echo "Waiting for kibana to be available";
until curl -s http://kibana:5601/api/status | grep -q 'available'; do sleep 5; done;
containers:
- name: apm-server
image: docker.elastic.co/apm/apm-server:8.17.2
Expand Down

0 comments on commit 74d3f31

Please sign in to comment.