Skip to content

Commit 74d3f31

Browse files
block
Signed-off-by: Adrian Cole <[email protected]>
1 parent 5145b72 commit 74d3f31

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

example-apps/chatbot-rag-app/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ to follow logs on this stage:
116116
kubectl logs deployment.apps/chatbot-rag-app -c create-index -f
117117
```
118118

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

124124
Clean up when finished, like this:

k8s/k8s-manifest-elastic.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,15 @@ spec:
163163
labels:
164164
app: apm-server
165165
spec:
166+
initContainers:
167+
- name: await-kibana
168+
image: docker.elastic.co/elasticsearch/elasticsearch:8.17.2
169+
command:
170+
- bash
171+
- -xc
172+
- |
173+
echo "Waiting for kibana to be available";
174+
until curl -s http://kibana:5601/api/status | grep -q 'available'; do sleep 5; done;
166175
containers:
167176
- name: apm-server
168177
image: docker.elastic.co/apm/apm-server:8.17.2

0 commit comments

Comments
 (0)