Skip to content

Commit bdc9ffd

Browse files
committed
Disable migrateCheckpoint and provide an option to enable it
Signed-off-by: Dani Louca <[email protected]>
1 parent cee762c commit bdc9ffd

File tree

15 files changed

+26
-375
lines changed

15 files changed

+26
-375
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: breaking
3+
# The name of the component, or a single word describing the area of concern, (e.g. agent, clusterReceiver, gateway, operator, chart, other)
4+
component: logs
5+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
6+
note: Disable migrateCheckpoint by default and introduce a new option `migrateCheckpoint` to enable it if needed.
7+
# One or more tracking issues related to the change
8+
issues: [1757]
9+
# (Optional) One or more lines of additional information to render under the primary note.
10+
# These lines will be padded with 2 spaces and then inserted directly into the document.
11+
# Use pipe (|) for multiline entries.
12+
subtext:

examples/add-filter-processor/rendered_manifests/daemonset.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,40 +54,6 @@ spec:
5454
key: node-role.kubernetes.io/infra
5555
operator: Exists
5656
initContainers:
57-
- name: migrate-checkpoint
58-
image: quay.io/signalfx/splunk-otel-collector:0.122.0
59-
imagePullPolicy: IfNotPresent
60-
command: ["/migratecheckpoint"]
61-
securityContext:
62-
runAsUser: 0
63-
env:
64-
- name: CONTAINER_LOG_PATH_FLUENTD
65-
value: "/var/log/splunk-fluentd-containers.log.pos"
66-
- name: CONTAINER_LOG_PATH_OTEL
67-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
68-
- name: CUSTOM_LOG_PATH_FLUENTD
69-
value: "/var/log/splunk-fluentd-*.pos"
70-
- name: CUSTOM_LOG_PATH_OTEL
71-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
72-
- name: CUSTOM_LOG_CAPTURE_REGEX
73-
value: '\/var\/log\/splunk\-fluentd\-(?P<name>[\w0-9-_]+)\.pos'
74-
- name: JOURNALD_LOG_PATH_FLUENTD
75-
value: "/var/log/splunkd-fluentd-journald-*.pos.json"
76-
- name: JOURNALD_LOG_PATH_OTEL
77-
value: "/var/addon/splunk/otel_pos/receiver_journald_"
78-
- name: JOURNALD_LOG_CAPTURE_REGEX
79-
value: '\/splunkd\-fluentd\-journald\-(?P<name>[\w0-9-_]+)\.pos\.json'
80-
resources:
81-
limits:
82-
cpu: 200m
83-
memory: 500Mi
84-
volumeMounts:
85-
- name: checkpoint
86-
mountPath: /var/addon/splunk/otel_pos
87-
- name: varlog
88-
mountPath: /var/log
89-
- name: varlibdockercontainers
90-
mountPath: /var/lib/docker/containers
9157
containers:
9258
- name: otel-collector
9359
command:

examples/add-kafkametrics-receiver/rendered_manifests/daemonset.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,40 +54,6 @@ spec:
5454
key: node-role.kubernetes.io/infra
5555
operator: Exists
5656
initContainers:
57-
- name: migrate-checkpoint
58-
image: quay.io/signalfx/splunk-otel-collector:0.122.0
59-
imagePullPolicy: IfNotPresent
60-
command: ["/migratecheckpoint"]
61-
securityContext:
62-
runAsUser: 0
63-
env:
64-
- name: CONTAINER_LOG_PATH_FLUENTD
65-
value: "/var/log/splunk-fluentd-containers.log.pos"
66-
- name: CONTAINER_LOG_PATH_OTEL
67-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
68-
- name: CUSTOM_LOG_PATH_FLUENTD
69-
value: "/var/log/splunk-fluentd-*.pos"
70-
- name: CUSTOM_LOG_PATH_OTEL
71-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
72-
- name: CUSTOM_LOG_CAPTURE_REGEX
73-
value: '\/var\/log\/splunk\-fluentd\-(?P<name>[\w0-9-_]+)\.pos'
74-
- name: JOURNALD_LOG_PATH_FLUENTD
75-
value: "/var/log/splunkd-fluentd-journald-*.pos.json"
76-
- name: JOURNALD_LOG_PATH_OTEL
77-
value: "/var/addon/splunk/otel_pos/receiver_journald_"
78-
- name: JOURNALD_LOG_CAPTURE_REGEX
79-
value: '\/splunkd\-fluentd\-journald\-(?P<name>[\w0-9-_]+)\.pos\.json'
80-
resources:
81-
limits:
82-
cpu: 200m
83-
memory: 500Mi
84-
volumeMounts:
85-
- name: checkpoint
86-
mountPath: /var/addon/splunk/otel_pos
87-
- name: varlog
88-
mountPath: /var/log
89-
- name: varlibdockercontainers
90-
mountPath: /var/lib/docker/containers
9157
containers:
9258
- name: otel-collector
9359
command:

examples/autodetect-istio/rendered_manifests/daemonset.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -55,40 +55,6 @@ spec:
5555
key: node-role.kubernetes.io/infra
5656
operator: Exists
5757
initContainers:
58-
- name: migrate-checkpoint
59-
image: quay.io/signalfx/splunk-otel-collector:0.122.0
60-
imagePullPolicy: IfNotPresent
61-
command: ["/migratecheckpoint"]
62-
securityContext:
63-
runAsUser: 0
64-
env:
65-
- name: CONTAINER_LOG_PATH_FLUENTD
66-
value: "/var/log/splunk-fluentd-containers.log.pos"
67-
- name: CONTAINER_LOG_PATH_OTEL
68-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
69-
- name: CUSTOM_LOG_PATH_FLUENTD
70-
value: "/var/log/splunk-fluentd-*.pos"
71-
- name: CUSTOM_LOG_PATH_OTEL
72-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
73-
- name: CUSTOM_LOG_CAPTURE_REGEX
74-
value: '\/var\/log\/splunk\-fluentd\-(?P<name>[\w0-9-_]+)\.pos'
75-
- name: JOURNALD_LOG_PATH_FLUENTD
76-
value: "/var/log/splunkd-fluentd-journald-*.pos.json"
77-
- name: JOURNALD_LOG_PATH_OTEL
78-
value: "/var/addon/splunk/otel_pos/receiver_journald_"
79-
- name: JOURNALD_LOG_CAPTURE_REGEX
80-
value: '\/splunkd\-fluentd\-journald\-(?P<name>[\w0-9-_]+)\.pos\.json'
81-
resources:
82-
limits:
83-
cpu: 200m
84-
memory: 500Mi
85-
volumeMounts:
86-
- name: checkpoint
87-
mountPath: /var/addon/splunk/otel_pos
88-
- name: varlog
89-
mountPath: /var/log
90-
- name: varlibdockercontainers
91-
mountPath: /var/lib/docker/containers
9258
containers:
9359
- name: otel-collector
9460
command:

examples/disable-persistence-queue-traces/rendered_manifests/daemonset.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,40 +54,6 @@ spec:
5454
key: node-role.kubernetes.io/infra
5555
operator: Exists
5656
initContainers:
57-
- name: migrate-checkpoint
58-
image: quay.io/signalfx/splunk-otel-collector:0.122.0
59-
imagePullPolicy: IfNotPresent
60-
command: ["/migratecheckpoint"]
61-
securityContext:
62-
runAsUser: 0
63-
env:
64-
- name: CONTAINER_LOG_PATH_FLUENTD
65-
value: "/var/log/splunk-fluentd-containers.log.pos"
66-
- name: CONTAINER_LOG_PATH_OTEL
67-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
68-
- name: CUSTOM_LOG_PATH_FLUENTD
69-
value: "/var/log/splunk-fluentd-*.pos"
70-
- name: CUSTOM_LOG_PATH_OTEL
71-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
72-
- name: CUSTOM_LOG_CAPTURE_REGEX
73-
value: '\/var\/log\/splunk\-fluentd\-(?P<name>[\w0-9-_]+)\.pos'
74-
- name: JOURNALD_LOG_PATH_FLUENTD
75-
value: "/var/log/splunkd-fluentd-journald-*.pos.json"
76-
- name: JOURNALD_LOG_PATH_OTEL
77-
value: "/var/addon/splunk/otel_pos/receiver_journald_"
78-
- name: JOURNALD_LOG_CAPTURE_REGEX
79-
value: '\/splunkd\-fluentd\-journald\-(?P<name>[\w0-9-_]+)\.pos\.json'
80-
resources:
81-
limits:
82-
cpu: 200m
83-
memory: 500Mi
84-
volumeMounts:
85-
- name: checkpoint
86-
mountPath: /var/addon/splunk/otel_pos
87-
- name: varlog
88-
mountPath: /var/log
89-
- name: varlibdockercontainers
90-
mountPath: /var/lib/docker/containers
9157
containers:
9258
- name: otel-collector
9359
command:

examples/enable-operator-and-auto-instrumentation/rendered_manifests/daemonset.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,40 +54,6 @@ spec:
5454
key: node-role.kubernetes.io/infra
5555
operator: Exists
5656
initContainers:
57-
- name: migrate-checkpoint
58-
image: quay.io/signalfx/splunk-otel-collector:0.122.0
59-
imagePullPolicy: IfNotPresent
60-
command: ["/migratecheckpoint"]
61-
securityContext:
62-
runAsUser: 0
63-
env:
64-
- name: CONTAINER_LOG_PATH_FLUENTD
65-
value: "/var/log/splunk-fluentd-containers.log.pos"
66-
- name: CONTAINER_LOG_PATH_OTEL
67-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
68-
- name: CUSTOM_LOG_PATH_FLUENTD
69-
value: "/var/log/splunk-fluentd-*.pos"
70-
- name: CUSTOM_LOG_PATH_OTEL
71-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
72-
- name: CUSTOM_LOG_CAPTURE_REGEX
73-
value: '\/var\/log\/splunk\-fluentd\-(?P<name>[\w0-9-_]+)\.pos'
74-
- name: JOURNALD_LOG_PATH_FLUENTD
75-
value: "/var/log/splunkd-fluentd-journald-*.pos.json"
76-
- name: JOURNALD_LOG_PATH_OTEL
77-
value: "/var/addon/splunk/otel_pos/receiver_journald_"
78-
- name: JOURNALD_LOG_CAPTURE_REGEX
79-
value: '\/splunkd\-fluentd\-journald\-(?P<name>[\w0-9-_]+)\.pos\.json'
80-
resources:
81-
limits:
82-
cpu: 200m
83-
memory: 500Mi
84-
volumeMounts:
85-
- name: checkpoint
86-
mountPath: /var/addon/splunk/otel_pos
87-
- name: varlog
88-
mountPath: /var/log
89-
- name: varlibdockercontainers
90-
mountPath: /var/lib/docker/containers
9157
containers:
9258
- name: otel-collector
9359
command:

examples/enable-persistence-queue/rendered_manifests/daemonset.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,40 +54,6 @@ spec:
5454
key: node-role.kubernetes.io/infra
5555
operator: Exists
5656
initContainers:
57-
- name: migrate-checkpoint
58-
image: quay.io/signalfx/splunk-otel-collector:0.122.0
59-
imagePullPolicy: IfNotPresent
60-
command: ["/migratecheckpoint"]
61-
securityContext:
62-
runAsUser: 0
63-
env:
64-
- name: CONTAINER_LOG_PATH_FLUENTD
65-
value: "/var/log/splunk-fluentd-containers.log.pos"
66-
- name: CONTAINER_LOG_PATH_OTEL
67-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
68-
- name: CUSTOM_LOG_PATH_FLUENTD
69-
value: "/var/log/splunk-fluentd-*.pos"
70-
- name: CUSTOM_LOG_PATH_OTEL
71-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
72-
- name: CUSTOM_LOG_CAPTURE_REGEX
73-
value: '\/var\/log\/splunk\-fluentd\-(?P<name>[\w0-9-_]+)\.pos'
74-
- name: JOURNALD_LOG_PATH_FLUENTD
75-
value: "/var/log/splunkd-fluentd-journald-*.pos.json"
76-
- name: JOURNALD_LOG_PATH_OTEL
77-
value: "/var/addon/splunk/otel_pos/receiver_journald_"
78-
- name: JOURNALD_LOG_CAPTURE_REGEX
79-
value: '\/splunkd\-fluentd\-journald\-(?P<name>[\w0-9-_]+)\.pos\.json'
80-
resources:
81-
limits:
82-
cpu: 200m
83-
memory: 500Mi
84-
volumeMounts:
85-
- name: checkpoint
86-
mountPath: /var/addon/splunk/otel_pos
87-
- name: varlog
88-
mountPath: /var/log
89-
- name: varlibdockercontainers
90-
mountPath: /var/lib/docker/containers
9157
containers:
9258
- name: otel-collector
9359
command:

examples/multi-metrics/rendered_manifests/daemonset.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,40 +54,6 @@ spec:
5454
key: node-role.kubernetes.io/infra
5555
operator: Exists
5656
initContainers:
57-
- name: migrate-checkpoint
58-
image: quay.io/signalfx/splunk-otel-collector:0.122.0
59-
imagePullPolicy: IfNotPresent
60-
command: ["/migratecheckpoint"]
61-
securityContext:
62-
runAsUser: 0
63-
env:
64-
- name: CONTAINER_LOG_PATH_FLUENTD
65-
value: "/var/log/splunk-fluentd-containers.log.pos"
66-
- name: CONTAINER_LOG_PATH_OTEL
67-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
68-
- name: CUSTOM_LOG_PATH_FLUENTD
69-
value: "/var/log/splunk-fluentd-*.pos"
70-
- name: CUSTOM_LOG_PATH_OTEL
71-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
72-
- name: CUSTOM_LOG_CAPTURE_REGEX
73-
value: '\/var\/log\/splunk\-fluentd\-(?P<name>[\w0-9-_]+)\.pos'
74-
- name: JOURNALD_LOG_PATH_FLUENTD
75-
value: "/var/log/splunkd-fluentd-journald-*.pos.json"
76-
- name: JOURNALD_LOG_PATH_OTEL
77-
value: "/var/addon/splunk/otel_pos/receiver_journald_"
78-
- name: JOURNALD_LOG_CAPTURE_REGEX
79-
value: '\/splunkd\-fluentd\-journald\-(?P<name>[\w0-9-_]+)\.pos\.json'
80-
resources:
81-
limits:
82-
cpu: 200m
83-
memory: 500Mi
84-
volumeMounts:
85-
- name: checkpoint
86-
mountPath: /var/addon/splunk/otel_pos
87-
- name: varlog
88-
mountPath: /var/log
89-
- name: varlibdockercontainers
90-
mountPath: /var/lib/docker/containers
9157
containers:
9258
- name: otel-collector
9359
command:

examples/only-logs-otel/rendered_manifests/daemonset.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,40 +54,6 @@ spec:
5454
key: node-role.kubernetes.io/infra
5555
operator: Exists
5656
initContainers:
57-
- name: migrate-checkpoint
58-
image: quay.io/signalfx/splunk-otel-collector:0.122.0
59-
imagePullPolicy: IfNotPresent
60-
command: ["/migratecheckpoint"]
61-
securityContext:
62-
runAsUser: 0
63-
env:
64-
- name: CONTAINER_LOG_PATH_FLUENTD
65-
value: "/var/log/splunk-fluentd-containers.log.pos"
66-
- name: CONTAINER_LOG_PATH_OTEL
67-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
68-
- name: CUSTOM_LOG_PATH_FLUENTD
69-
value: "/var/log/splunk-fluentd-*.pos"
70-
- name: CUSTOM_LOG_PATH_OTEL
71-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
72-
- name: CUSTOM_LOG_CAPTURE_REGEX
73-
value: '\/var\/log\/splunk\-fluentd\-(?P<name>[\w0-9-_]+)\.pos'
74-
- name: JOURNALD_LOG_PATH_FLUENTD
75-
value: "/var/log/splunkd-fluentd-journald-*.pos.json"
76-
- name: JOURNALD_LOG_PATH_OTEL
77-
value: "/var/addon/splunk/otel_pos/receiver_journald_"
78-
- name: JOURNALD_LOG_CAPTURE_REGEX
79-
value: '\/splunkd\-fluentd\-journald\-(?P<name>[\w0-9-_]+)\.pos\.json'
80-
resources:
81-
limits:
82-
cpu: 200m
83-
memory: 500Mi
84-
volumeMounts:
85-
- name: checkpoint
86-
mountPath: /var/addon/splunk/otel_pos
87-
- name: varlog
88-
mountPath: /var/log
89-
- name: varlibdockercontainers
90-
mountPath: /var/lib/docker/containers
9157
containers:
9258
- name: otel-collector
9359
command:

examples/only-logs-with-extra-file-logs/rendered_manifests/daemonset.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,40 +54,6 @@ spec:
5454
key: node-role.kubernetes.io/infra
5555
operator: Exists
5656
initContainers:
57-
- name: migrate-checkpoint
58-
image: quay.io/signalfx/splunk-otel-collector:0.122.0
59-
imagePullPolicy: IfNotPresent
60-
command: ["/migratecheckpoint"]
61-
securityContext:
62-
runAsUser: 0
63-
env:
64-
- name: CONTAINER_LOG_PATH_FLUENTD
65-
value: "/var/log/splunk-fluentd-containers.log.pos"
66-
- name: CONTAINER_LOG_PATH_OTEL
67-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
68-
- name: CUSTOM_LOG_PATH_FLUENTD
69-
value: "/var/log/splunk-fluentd-*.pos"
70-
- name: CUSTOM_LOG_PATH_OTEL
71-
value: "/var/addon/splunk/otel_pos/receiver_filelog_"
72-
- name: CUSTOM_LOG_CAPTURE_REGEX
73-
value: '\/var\/log\/splunk\-fluentd\-(?P<name>[\w0-9-_]+)\.pos'
74-
- name: JOURNALD_LOG_PATH_FLUENTD
75-
value: "/var/log/splunkd-fluentd-journald-*.pos.json"
76-
- name: JOURNALD_LOG_PATH_OTEL
77-
value: "/var/addon/splunk/otel_pos/receiver_journald_"
78-
- name: JOURNALD_LOG_CAPTURE_REGEX
79-
value: '\/splunkd\-fluentd\-journald\-(?P<name>[\w0-9-_]+)\.pos\.json'
80-
resources:
81-
limits:
82-
cpu: 200m
83-
memory: 500Mi
84-
volumeMounts:
85-
- name: checkpoint
86-
mountPath: /var/addon/splunk/otel_pos
87-
- name: varlog
88-
mountPath: /var/log
89-
- name: varlibdockercontainers
90-
mountPath: /var/lib/docker/containers
9157
containers:
9258
- name: otel-collector
9359
command:

0 commit comments

Comments
 (0)