Skip to content

Commit

Permalink
Added daemonset e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
owais committed Aug 17, 2021
1 parent de358ff commit 515eb03
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/e2e/daemonset-features/00-assert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: daemonset-collector
spec:
template:
spec:
# hostNetwork: true
hostNetwork: false
containers:
- args:
- --config=/conf/collector.yaml
name: otc-container
status:
replicas: 1
readyReplicas: 1
21 changes: 21 additions & 0 deletions tests/e2e/daemonset-features/00-install.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: opentelemetry.io/v1alpha1
kind: OpenTelemetryCollector
metadata:
name: daemonset
spec:
mode: daemonset
hostNetwork: true
config: |
receivers:
jaeger:
protocols:
grpc:
processors:
exporters:
logging:
service:
pipelines:
traces:
receivers: [jaeger]
processors: []
exporters: [logging]

0 comments on commit 515eb03

Please sign in to comment.