Skip to content

Commit

Permalink
Update helm chart to account for changes to loadgenerator (#330)
Browse files Browse the repository at this point in the history
* change otel-demo helm chart to account for latest changes to loadgenerator (exposing locust ui)

* correct typo for locust UI url in NOTES.txt

* bump chart version

Co-authored-by: Tyler Helmuth <[email protected]>
  • Loading branch information
Mwad22 and TylerHelmuth authored Aug 31, 2022
1 parent 175d24a commit a6ac672
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/opentelemetry-demo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
type: application
name: opentelemetry-demo
version: 0.2.3
version: 0.2.4
description: opentelemetry demo helm chart
home: https://opentelemetry.io/
sources:
Expand Down
4 changes: 4 additions & 0 deletions charts/opentelemetry-demo/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@
by running these commands:
kubectl port-forward svc/{{ include "otel-demo.name" . }}-jaeger 16686:16686
{{- end }}

- Locust UI: http://localhost:8089
by running these commands:
kubectl port-forward svc/{{ include "otel-demo.name" . }}-loadgenerator 8089:8089
11 changes: 10 additions & 1 deletion charts/opentelemetry-demo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,18 @@ components:

loadgenerator:
enabled: true
servicePort: 8089
env:
- name: USERS
- name: LOCUST_WEB_PORT
value: '8089'
- name: LOCUST_USERS
value: '10'
- name: LOCUST_HOST
value: http://${FRONTEND_ADDR}
- name: LOCUST_HEADLESS
value: 'false'
- name: LOCUST_AUTOSTART
value: 'true'
- name: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION
value: python
podAnnotations: {}
Expand Down

0 comments on commit a6ac672

Please sign in to comment.