Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add emptyDir agent and CR volume for SA receiver collectd config #839

Merged
merged 2 commits into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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