|
47 | 47 | # -- Enables the node-logs-metrics agent daemonset for collection of node logs and metrics. |
48 | 48 | # The nodes on which metrics and logs are collected can be configured via `affinity` in the `node-logs-metrics` section below. |
49 | 49 | # This should be set to false to disable the node-log-metrics daemonset when running in a serverless environment (ex: EKS Fargate). |
50 | | - enabled: true |
| 50 | + enabled: false |
| 51 | + fargateMode: false |
51 | 52 | # collects host level metrics from node |
52 | 53 | metrics: |
53 | 54 | enabled: true |
@@ -100,6 +101,7 @@ node: |
100 | 101 | # this resolves issues similar to https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/26481#issuecomment-1720797914 for `no such host` or `connection refused`. |
101 | 102 | useNodeIp: false |
102 | 103 | forwarder: |
| 104 | + mode: deployment |
103 | 105 | enabled: true |
104 | 106 | traces: |
105 | 107 | enabled: true |
@@ -229,6 +231,10 @@ agent: |
229 | 231 | # exporters: |
230 | 232 | # - otlphttp/extra |
231 | 233 | # - otlphttp/observe/forward/trace |
| 234 | + |
| 235 | + # -- Additional OTel collector config for fargate-sidecar-metrics custom resource |
| 236 | + fargateSidecarMetrics: |
| 237 | + # Put any OTel config overrides here. |
232 | 238 |
|
233 | 239 | # -- Additional OTel collector config for gateway deployment |
234 | 240 | gateway: |
@@ -951,7 +957,7 @@ monitor: |
951 | 957 | forwarder: |
952 | 958 | # -- The forwarder is run as a daemonset by default, but can be run as a deployment by setting mode to "deployment". Deployment mode |
953 | 959 | # must be used when running in a serverless environment (ex: EKS Fargate) where daemonsets are not supported. |
954 | | - mode: daemonset |
| 960 | + mode: deployment |
955 | 961 |
|
956 | 962 | # -- The `replicaCount` is only used when `mode` is set to "deployment". It is ignored when `mode` is set to "daemonset". |
957 | 963 | # In deployment mode, this sets the number of replicas (ie the number of forwarder pods to run). |
@@ -1245,3 +1251,27 @@ gateway: |
1245 | 1251 | - name: observe-agent-deployment-config |
1246 | 1252 | mountPath: /observe-agent-conf |
1247 | 1253 | # ----------------------------------------- # |
| 1254 | +image: |
| 1255 | + repository: "otel/opentelemetry-collector-k8s" |
| 1256 | + |
| 1257 | + |
| 1258 | +fargate-sidecar-injector: |
| 1259 | + |
| 1260 | + # -- This is an otel operator that will inject a sidecar container into all pods in the cluster. This is only needed when running |
| 1261 | + # in a serverless environment (ex: EKS Fargate) where daemonsets are not supported. |
| 1262 | + |
| 1263 | + replicaCount: 1 |
| 1264 | + |
| 1265 | + # ----------------------------------------- # |
| 1266 | + # Different for each deployment/daemonset # |
| 1267 | + nameOverride: "fargate-sidecar-injector" |
| 1268 | + # !!! IMPORTANT !!! This needs to have same value as namespaceOverride in cluster above |
| 1269 | + namespaceOverride: "observe" |
| 1270 | + # for now, use defaults for the rest of the values |
| 1271 | + # ----------------------------------------- # |
| 1272 | + manager: |
| 1273 | + collectorImage: |
| 1274 | + repository: observeinc/observe-agent |
| 1275 | + tag: 2.8.1 |
| 1276 | + |
| 1277 | + |
0 commit comments