File tree Expand file tree Collapse file tree 6 files changed +25
-16
lines changed
Expand file tree Collapse file tree 6 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 6464
6565 - name : Run chart-testing kube-otel-state (install)
6666 if : steps.list-changed.outputs.changed == 'true'
67- run : ct install --config ct.yaml --charts ./charts/kube-otel-stack --namespace opentelemetry --debug
67+ run : ct install --config ct.yaml --charts ./charts/kube-otel-stack --helm-extra-set-args="--set=tracesCollector.enabled=true --set=logsCollector.enabled=true" -- namespace opentelemetry --debug
6868
6969 - name : Run chart-testing otel-cloud-stack (install)
7070 if : steps.list-changed.outputs.changed == 'true'
71- run : ct install --config ct.yaml --charts ./charts/otel-cloud-stack --namespace opentelemetry --debug
71+ run : ct install --config ct.yaml --charts ./charts/otel-cloud-stack --helm-extra-set-args="--set=tracesCollector.enabled=true --set=logsCollector.enabled=true" -- namespace opentelemetry --debug
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : kube-otel-stack
33description : Chart for sending Kubernetes metrics to Lightstep using the OpenTelemetry Operator.
44type : application
5- version : 0.3.2
5+ version : 0.3.3
66appVersion : 0.83.0
77dependencies :
88# cert manager must be manually installed because it has CRDs
Original file line number Diff line number Diff line change @@ -16,15 +16,17 @@ spec:
1616 mode : {{ $collector.mode }}
1717 image : {{ $collector.image }}
1818 replicas : {{ $collector.replicas | default 1 }}
19- {{- if and $collector.hpa $collector.hpa.enabled }}
19+ {{- with $collector.hpa }}
20+ {{- if .enabled }}
2021 autoscaler :
21- minReplicas : {{ $collector.hpa .minReplicas }}
22- maxReplicas : {{ $collector.hpa .maxReplicas }}
23- targetMemoryUtilization : {{ $collector.hpa .targetMemoryUtilization }}
24- {{- if $collector.hpa .targetCPUUtilization }}
25- targetCPUUtilization : {{ $collector.hpa .targetCPUUtilization }}
22+ minReplicas : {{ .minReplicas }}
23+ maxReplicas : {{ .maxReplicas }}
24+ targetMemoryUtilization : {{ .targetMemoryUtilization }}
25+ {{- if .targetCPUUtilization }}
26+ targetCPUUtilization : {{ .targetCPUUtilization }}
2627 {{- end }}
2728 {{- end }}
29+ {{- end }}
2830 {{- with $collector.podAnnotations }}
2931 podAnnotations :
3032 {{- toYaml . | nindent 4}}
Original file line number Diff line number Diff line change @@ -51,6 +51,11 @@ tracesCollector:
5151 image : otel/opentelemetry-collector-contrib:0.83.0
5252 mode : deployment
5353 replicas : 1
54+ hpa :
55+ enabled : false
56+ minReplicas : 3
57+ maxReplicas : 10
58+ targetMemoryUtilization : 70
5459 resources :
5560 limits :
5661 cpu : 250m
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : " 0.2.4 "
18+ version : " 0.2.5 "
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change @@ -27,15 +27,17 @@ spec:
2727 {{- if not (eq $collector.mode "daemonset") }}
2828 replicas : {{ $collector.replicas | default 1 }}
2929 {{- end }}
30- {{- if $collector.hpa }}
30+ {{- with $collector.hpa }}
31+ {{- if .enabled }}
3132 autoscaler :
32- minReplicas : {{ $collector.hpa .minReplicas }}
33- maxReplicas : {{ $collector.hpa .maxReplicas }}
34- targetMemoryUtilization : {{ $collector.hpa .targetMemoryUtilization }}
35- {{- if $collector.hpa .targetCPUUtilization }}
36- targetCPUUtilization : {{ $collector.hpa .targetCPUUtilization }}
33+ minReplicas : {{ .minReplicas }}
34+ maxReplicas : {{ .maxReplicas }}
35+ targetMemoryUtilization : {{ .targetMemoryUtilization }}
36+ {{- if .targetCPUUtilization }}
37+ targetCPUUtilization : {{ .targetCPUUtilization }}
3738 {{- end }}
3839 {{- end }}
40+ {{- end }}
3941 {{- with $collector.podAnnotations }}
4042 podAnnotations :
4143 {{- toYaml . | nindent 4}}
You can’t perform that action at this time.
0 commit comments