Skip to content

Commit c56190f

Browse files
polish
Signed-off-by: Adrian Cole <[email protected]>
1 parent ff7aa7c commit c56190f

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
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/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Elasticsearch, Kibana, and APM Server in an existing Kubernetes cluster.
66

77
Note: If you haven't checked out this repository, all you need is one file:
88
```bash
9-
wget https://raw.githubusercontent.com/elastic/elasticsearch-labs/refs/heads/main/docker/docker-compose-elastic.yml
9+
wget https://raw.githubusercontent.com/elastic/elasticsearch-labs/refs/heads/main/k8s/k8s-manifest-elastic.yml
1010
```
1111

1212
Before you begin, ensure you have free CPU and memory in your cluster. If you

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)