Skip to content

Commit f4ae0ad

Browse files
autogen files
1 parent 5c4d730 commit f4ae0ad

File tree

3 files changed

+41
-4
lines changed

3 files changed

+41
-4
lines changed

charts/nr-k8s-otel-collector/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ to export data to this connector which can then be connected to the New Relic ma
189189
| podSecurityContext | object | `{}` | Sets all security contexts (at pod level). Can be configured also with `global.securityContext.pod` |
190190
| priorityClassName | string | `""` | Sets pod's priorityClassName. Can be configured also with `global.priorityClassName` |
191191
| processors | string | `nil` | Define custom processors here. See: https://opentelemetry.io/docs/collector/configuration/#processors |
192-
| provider | string | `"GKE_AUTOPILOT"` | The provider that you are deploying your cluster into. Sets known config constraints for your specific provider. Currently supporting OpenShift and GKE autopilot. If set, provider must be one of "GKE_AUTOPILOT" or "OPEN_SHIFT" |
192+
| provider | string | `""` | The provider that you are deploying your cluster into. Sets known config constraints for your specific provider. Currently supporting OpenShift and GKE autopilot. If set, provider must be one of "GKE_AUTOPILOT" or "OPEN_SHIFT" |
193193
| proxy | string | `""` | Configures the Otel collector(s) to send all data through the specified proxy. |
194194
| rbac.create | bool | `true` | Specifies whether RBAC resources should be created |
195195
| receivers.collectorMetrics.enabled | bool | `false` | Specifies whether collector metrics are scraped from the deployment collector. Requires prometheus receiver to be enabled. |

charts/nr-k8s-otel-collector/examples/k8s/rendered/daemonset-configmap.yaml

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ data:
1717
1818
hostmetrics:
1919
# TODO (chris): this is a linux specific configuration
20+
root_path: /hostfs
2021
collection_interval: 1m
2122
scrapers:
2223
cpu:
@@ -69,8 +70,9 @@ data:
6970
7071
kubeletstats:
7172
collection_interval: 1m
72-
endpoint: "${KUBE_NODE_NAME}:10255"
73-
auth_type: "none"
73+
endpoint: "${KUBE_NODE_NAME}:10250"
74+
auth_type: "serviceAccount"
75+
insecure_skip_verify: true
7476
metrics:
7577
k8s.container.cpu_limit_utilization:
7678
enabled: true
@@ -829,3 +831,32 @@ data:
829831
- batch
830832
exporters:
831833
- otlphttp/newrelic
834+
835+
logs/ingress:
836+
receivers:
837+
- filelog
838+
processors:
839+
840+
exporters:
841+
- routing/nr_logs_pipelines
842+
843+
844+
logs/pipeline:
845+
receivers:
846+
- routing/nr_logs_pipelines
847+
processors:
848+
- memory_limiter
849+
- transform/truncate
850+
- resource/newrelic
851+
- k8sattributes/ksm
852+
exporters:
853+
- routing/logs_egress
854+
855+
logs/egress:
856+
receivers:
857+
- routing/logs_egress
858+
processors:
859+
860+
- batch
861+
exporters:
862+
- otlphttp/newrelic

charts/nr-k8s-otel-collector/examples/k8s/rendered/daemonset.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
app.kubernetes.io/name: nr-k8s-otel-collector
2525
component: daemonset
2626
annotations:
27-
checksum/config: 3a606c280f9580882850f3303a65ba5ea2c338717b303085962dcce43668cb14
27+
checksum/config: 77a7cce06c82557a2dd736d5097decdee255f98396c867accc2a38a2f3296a41
2828
spec:
2929
serviceAccountName: nr-k8s-otel-collector
3030
initContainers:
@@ -132,12 +132,18 @@ spec:
132132
name: nr-k8s-otel-collector-license
133133
key: licenseKey
134134
volumeMounts:
135+
- name: host-fs
136+
mountPath: /hostfs
137+
readOnly: true
135138
- name: varlogpods
136139
mountPath: /var/log/pods
137140
readOnly: true
138141
- name: final-daemonset-config
139142
mountPath: /config
140143
volumes:
144+
- name: host-fs
145+
hostPath:
146+
path: /
141147
- name: varlogpods
142148
hostPath:
143149
path: /var/log/pods

0 commit comments

Comments
 (0)