Skip to content

Commit

Permalink
add emptyDir agent and CR volumes for SA receiver collectd config (#839)
Browse files Browse the repository at this point in the history
Co-authored-by: jvoravong <[email protected]>
  • Loading branch information
rmfitzpatrick and jvoravong authored Jul 18, 2023
1 parent 0312ea3 commit 9a28a6d
Show file tree
Hide file tree
Showing 53 changed files with 313 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed

- Set cluster_name for host logs too if renameFieldsSck is enabled [#837](https://github.com/signalfx/splunk-otel-collector-chart/pull/837)
- Fix `smartagent` collectd based monitors on read-only filesystems [#839](https://github.com/signalfx/splunk-otel-collector-chart/pull/839)

### Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: varlog
hostPath:
path: /var/log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ spec:
volumeMounts:
- mountPath: /conf
name: collector-configmap
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -94,3 +97,6 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: host-dev
hostPath:
path: /dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ spec:
volumeMounts:
- mountPath: /conf
name: collector-configmap
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -94,3 +97,6 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
6 changes: 6 additions & 0 deletions examples/add-sampler/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: host-dev
hostPath:
path: /dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ spec:
volumeMounts:
- mountPath: /conf
name: collector-configmap
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -94,3 +97,6 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
6 changes: 6 additions & 0 deletions examples/autodetect-istio/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: varlog
hostPath:
path: /var/log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ spec:
volumeMounts:
- mountPath: /conf
name: collector-configmap
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -95,3 +98,6 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: host-dev
hostPath:
path: /dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: host-dev
hostPath:
path: /dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ spec:
volumeMounts:
- mountPath: /conf
name: collector-configmap
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -94,3 +97,6 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ spec:
volumeMounts:
- mountPath: /conf
name: collector-configmap
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -94,3 +97,6 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
6 changes: 6 additions & 0 deletions examples/crio-logging/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: host-dev
hostPath:
path: /dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ spec:
volumeMounts:
- mountPath: /conf
name: collector-configmap
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -94,3 +97,6 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
6 changes: 6 additions & 0 deletions examples/default/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: host-dev
hostPath:
path: /dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ spec:
volumeMounts:
- mountPath: /conf
name: collector-configmap
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -94,3 +97,6 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
6 changes: 6 additions & 0 deletions examples/distribution-aks/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: host-dev
hostPath:
path: /dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ spec:
volumeMounts:
- mountPath: /conf
name: collector-configmap
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -94,3 +97,6 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ spec:
name: collector-configmap
- mountPath: /splunk-messages
name: messages
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -129,6 +132,9 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: init-eks-fargate-cluster-receiver-script
configMap:
name: default-splunk-otel-collector-cr-node-discoverer-script
Expand Down
6 changes: 6 additions & 0 deletions examples/distribution-eks/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: host-dev
hostPath:
path: /dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ spec:
volumeMounts:
- mountPath: /conf
name: collector-configmap
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -94,3 +97,6 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: host-dev
hostPath:
path: /dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ spec:
volumeMounts:
- mountPath: /conf
name: collector-configmap
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: collector-configmap
Expand All @@ -94,3 +97,6 @@ spec:
items:
- key: relay
path: relay.yaml
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
6 changes: 6 additions & 0 deletions examples/distribution-gke/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,14 @@ spec:
- mountPath: /hostfs/var/run/utmp
name: host-var-run-utmp
readOnly: true
- mountPath: /usr/lib/splunk-otel-collector/agent-bundle/run/collectd
name: run-collectd
readOnly: false
terminationGracePeriodSeconds: 600
volumes:
- name: run-collectd
emptyDir:
sizeLimit: 25Mi
- name: host-dev
hostPath:
path: /dev
Expand Down
Loading

0 comments on commit 9a28a6d

Please sign in to comment.