Skip to content

Commit

Permalink
Add more ci scenarios (#147)
Browse files Browse the repository at this point in the history
* add more ci scenarios

* bump chart version

* removing agent and standalone for now

* added back both collectors

* testing only both collector values

* lowered resource limit

* unblocking other scenarios

* added metric example

* updated metrics examples

* blocking agent metrics for now

* Pivoted to only enabling metrics endpoint

* added clusterrole scenario

* updated examples

* added log scenario

* added another scenario

* added config override example

* remove metric scenario
  • Loading branch information
TylerHelmuth authored Mar 15, 2022
1 parent 249a2a0 commit 8820ae2
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/opentelemetry-collector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: opentelemetry-collector
version: 0.9.5
version: 0.9.6
description: OpenTelemetry Collector Helm chart for Kubernetes
type: application
home: https://opentelemetry.io/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
agentCollector:
enabled: true
containerLogs:
enabled: true
standaloneCollector:
enabled: false
4 changes: 4 additions & 0 deletions charts/opentelemetry-collector/ci/agent-collector-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
agentCollector:
enabled: true
standaloneCollector:
enabled: false
20 changes: 20 additions & 0 deletions charts/opentelemetry-collector/ci/clusterrole-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
clusterRole:
create: true
name: "testing-clusterrole"
rules:
- apiGroups:
- ''
resources:
- 'pods'
- 'nodes'
verbs:
- 'get'
- 'list'
- 'watch'
clusterRoleBinding:
name: "testing-clusterrolebinding"

agentCollector:
enabled: true
standaloneCollector:
enabled: false
16 changes: 16 additions & 0 deletions charts/opentelemetry-collector/ci/config-override-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
agentCollector:
enabled: true
configOverride:
receivers:
hostmetrics:
scrapers:
cpu:
disk:
filesystem:
service:
pipelines:
metrics:
receivers: [prometheus, hostmetrics]

standaloneCollector:
enabled: false
14 changes: 14 additions & 0 deletions charts/opentelemetry-collector/ci/disabling-protocols-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ports:
jaeger-compact:
enabled: false
jaeger-thrift:
enabled: false
jaeger-grpc:
enabled: false
zipkin:
enabled: false

agentCollector:
enabled: true
standaloneCollector:
enabled: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
agentCollector:
enabled: true
standaloneCollector:
enabled: true
# Needed to lower from default so that both can run in the Kind cluster
resources:
limits:
cpu: 256m

0 comments on commit 8820ae2

Please sign in to comment.