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:
116116kubectl 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
124124Clean up when finished, like this:
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments