File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
example-apps/chatbot-rag-app Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,9 @@ to follow logs on this stage:
116
116
kubectl logs deployment.apps/chatbot-rag-app -c create-index -f
117
117
```
118
118
119
- Next, forward the kibana port:
119
+ Next, forward the web UI port:
120
120
``` bash
121
- kubectl port-forward service/kibana 5601:5601 &
121
+ kubectl port-forward deployment.apps/chatbot-rag-app 4000:4000 &
122
122
```
123
123
124
124
Clean up when finished, like this:
Original file line number Diff line number Diff line change @@ -163,6 +163,15 @@ spec:
163
163
labels :
164
164
app : apm-server
165
165
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;
166
175
containers :
167
176
- name : apm-server
168
177
image : docker.elastic.co/apm/apm-server:8.17.2
You can’t perform that action at this time.
0 commit comments