diff --git a/charts/opentelemetry-collector/CHANGELOG.md b/charts/opentelemetry-collector/CHANGELOG.md index 01360ab77..645d8b97d 100644 --- a/charts/opentelemetry-collector/CHANGELOG.md +++ b/charts/opentelemetry-collector/CHANGELOG.md @@ -2,6 +2,12 @@ ## OpenTelemetry Collector +### v0.98.5 / 2024-11-28 +- [Feat] Adding new configs to the Target Allocator. + +### v0.98.4 / 2024-11-28 +- [Fix] Make the metrics telemetry service listen on `0.0.0.0` instead of using shell var expansion to resolve the pod IP. + ### v0.98.3 / 2024-11-26 - [Feat] Add the new `errorTracking` preset. diff --git a/charts/opentelemetry-collector/Chart.yaml b/charts/opentelemetry-collector/Chart.yaml index 9a632b1e3..720b386cd 100644 --- a/charts/opentelemetry-collector/Chart.yaml +++ b/charts/opentelemetry-collector/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: opentelemetry-collector -version: 0.98.4 +version: 0.98.5 description: OpenTelemetry Collector Helm chart for Kubernetes type: application home: https://opentelemetry.io/ diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/clusterrole.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/clusterrole.yaml index fb77be82f..51404673e 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/clusterrole.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/clusterrole.yaml @@ -5,7 +5,7 @@ kind: ClusterRole metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/clusterrolebinding.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/clusterrolebinding.yaml index 82ee448ef..b7381b40d 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/clusterrolebinding.yaml @@ -5,7 +5,7 @@ kind: ClusterRoleBinding metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap-agent.yaml index 48e081168..892c6f1f5 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap-agent.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap.yaml index ea4285f29..8e75e6835 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/daemonset.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/daemonset.yaml index aa5be98a4..ebaa04a70 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/daemonset.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/daemonset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -23,7 +23,7 @@ spec: template: metadata: annotations: - checksum/config: bf7411017d485b5f0ae8a7498ab16bb9e9cd3b02bea06f89b1fedd163efed670 + checksum/config: 021ecf2111ea4ddc8fa7657d37b9ce7183c4ce3d0aefc05b2dc378b39b45b142 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/deployment.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/deployment.yaml index b57135627..0b22060e0 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/deployment.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -25,7 +25,7 @@ spec: template: metadata: annotations: - checksum/config: ab7275c25be440f3ddde9add0c42c07cc6dea7c60015b3a4a330191d5610bd22 + checksum/config: 3864356249851db8bead07d66f37644c3bcb276a1d8b32bc08bd83c2a6a8b341 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/service.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/service.yaml index 53ccfd80f..317fc61b2 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/configmap-agent.yaml index df3ce3513..6f46ca5b2 100644 --- a/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/configmap-agent.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/daemonset.yaml b/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/daemonset.yaml index e41ebc03c..2d5296035 100644 --- a/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/daemonset.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/daemonset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -23,7 +23,7 @@ spec: template: metadata: annotations: - checksum/config: 52e23e1f96e1f6cf2d31aed3c12a98930f79fcef4073ccdd80b00bc77664bc26 + checksum/config: 9f39a3665c976aca53f378e38496b2b8fdba582e1e6feea2543526e42b28f81b labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-hostmetrics/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/configmap-agent.yaml index ae9bdd664..8b6133685 100644 --- a/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/configmap-agent.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/daemonset.yaml b/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/daemonset.yaml index 91d7789a6..c9ec03c2c 100644 --- a/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/daemonset.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/daemonset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -23,7 +23,7 @@ spec: template: metadata: annotations: - checksum/config: 86b784e4c3902f3d0395fc06906a11a705c8b83561a5f7b8e0a728b68ff79b0b + checksum/config: 1482dd014887e59ae021507fd96eaccb44f56f43d7e4e6d4ab6bdd369fecaddc labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-lifecycle-hooks/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-only/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/daemonset-only/rendered/configmap-agent.yaml index ae9bdd664..8b6133685 100644 --- a/charts/opentelemetry-collector/examples/daemonset-only/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-only/rendered/configmap-agent.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-only/rendered/daemonset.yaml b/charts/opentelemetry-collector/examples/daemonset-only/rendered/daemonset.yaml index 88cd2415c..1a56e4394 100644 --- a/charts/opentelemetry-collector/examples/daemonset-only/rendered/daemonset.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-only/rendered/daemonset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -23,7 +23,7 @@ spec: template: metadata: annotations: - checksum/config: 86b784e4c3902f3d0395fc06906a11a705c8b83561a5f7b8e0a728b68ff79b0b + checksum/config: 1482dd014887e59ae021507fd96eaccb44f56f43d7e4e6d4ab6bdd369fecaddc labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/daemonset-only/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-only/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/daemonset-only/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/daemonset-only/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/daemonset-only/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/daemonset-only/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-only/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-presets/rendered/clusterrole.yaml b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/clusterrole.yaml index d187ecb65..8044a63fb 100644 --- a/charts/opentelemetry-collector/examples/daemonset-presets/rendered/clusterrole.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/clusterrole.yaml @@ -5,7 +5,7 @@ kind: ClusterRole metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-presets/rendered/clusterrolebinding.yaml b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/clusterrolebinding.yaml index 82ee448ef..b7381b40d 100644 --- a/charts/opentelemetry-collector/examples/daemonset-presets/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/clusterrolebinding.yaml @@ -5,7 +5,7 @@ kind: ClusterRoleBinding metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-presets/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/configmap-agent.yaml index 430c9eae3..3312bb623 100644 --- a/charts/opentelemetry-collector/examples/daemonset-presets/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/configmap-agent.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-presets/rendered/daemonset.yaml b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/daemonset.yaml index 262a8017b..085cc8446 100644 --- a/charts/opentelemetry-collector/examples/daemonset-presets/rendered/daemonset.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/daemonset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -23,7 +23,7 @@ spec: template: metadata: annotations: - checksum/config: 65a9175cc1bf3fb845062bb63ba8331d450744f0e3e4c0743c4b92089e68c4b0 + checksum/config: ec197d9ea2334b4605202db512062311cef29e553cb9bdb4701f040c1c0974e2 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/daemonset-presets/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/daemonset-presets/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/daemonset-presets/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-presets/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/clusterrole-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/clusterrole-targetallocator.yaml index f678e557f..5bc4fa2a7 100644 --- a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/clusterrole-targetallocator.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/clusterrole-targetallocator.yaml @@ -5,7 +5,7 @@ kind: ClusterRole metadata: name: example-opentelemetry-collector-targetallocator labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -42,6 +42,8 @@ rules: resources: - servicemonitors - podmonitors + - scrapeconfigs + - probes verbs: - '*' - apiGroups: [""] diff --git a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/clusterrolebinding-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/clusterrolebinding-targetallocator.yaml index 6f017ec7f..02d781146 100644 --- a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/clusterrolebinding-targetallocator.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/clusterrolebinding-targetallocator.yaml @@ -5,7 +5,7 @@ kind: ClusterRoleBinding metadata: name: example-opentelemetry-collector-targetallocator labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/configmap-agent.yaml index 67d1b5701..f0cab95c1 100644 --- a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/configmap-agent.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/configmap-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/configmap-targetallocator.yaml index 162a34a91..b83e4956b 100644 --- a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/configmap-targetallocator.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/configmap-targetallocator.yaml @@ -3,10 +3,10 @@ apiVersion: v1 kind: ConfigMap metadata: - name: example-opentelemetry-collector-targetallocator + name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector-target-allocator app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -26,6 +26,5 @@ data: matchlabels: app: example-app service_monitor_selector: {} - config: - scrape_configs: - null + service_monitor_namespace_selector: {} + pod_monitor_namespace_selector: {} diff --git a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/daemonset.yaml b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/daemonset.yaml index 10c30b45b..61c4f76c7 100644 --- a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/daemonset.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/daemonset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -23,7 +23,7 @@ spec: template: metadata: annotations: - checksum/config: d7686f8211adcc03aa03f9197aaf8c648dd837a97af654ac6845b080546205fb + checksum/config: c5f8ab6708ca9b2142f82775e32ac4fdf836ec60b748d3ba7cc5de580316f975 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/deployment-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/deployment-targetallocator.yaml index 76fcb34ce..dce2d756e 100644 --- a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/deployment-targetallocator.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/deployment-targetallocator.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-targetallocator namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -24,7 +24,7 @@ spec: template: metadata: annotations: - checksum/config: 5e500733a7b7a6c651e16a9d7d4e589527921106f84fe1871e3cfb2ce349f66f + checksum/config: e0958a92daca280a58bf2eeea1b93e98ad5fd23794acfb774d04df9c3bf57c37 labels: app.kubernetes.io/name: opentelemetry-collector-target-allocator @@ -50,6 +50,22 @@ spec: volumeMounts: - mountPath: /conf name: ta-internal + livenessProbe: + httpGet: + path: /livez + port: 8080 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /readyz + port: 8080 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3 volumes: - configMap: defaultMode: 420 diff --git a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/service-targetallocator.yaml index 2f6451700..5729b85bf 100644 --- a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/service-targetallocator.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/service-targetallocator.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-targetallocator namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector-target-allocator app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -17,6 +17,7 @@ spec: - name: targetallocation port: 80 targetPort: http + appProtocol: http selector: app.kubernetes.io/name: opentelemetry-collector-target-allocator app.kubernetes.io/instance: example diff --git a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/serviceaccount-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/serviceaccount-targetallocator.yaml index 2c4416c96..0074a19eb 100644 --- a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/serviceaccount-targetallocator.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/serviceaccount-targetallocator.yaml @@ -5,7 +5,7 @@ kind: ServiceAccount metadata: name: example-opentelemetry-collector-targetallocator labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector-target-allocator app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-targetallocator/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-windows/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/daemonset-windows/rendered/configmap-agent.yaml index f106548ab..830b7714b 100644 --- a/charts/opentelemetry-collector/examples/daemonset-windows/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-windows/rendered/configmap-agent.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-windows/rendered/daemonset.yaml b/charts/opentelemetry-collector/examples/daemonset-windows/rendered/daemonset.yaml index 9ef7c9da5..199066ea1 100644 --- a/charts/opentelemetry-collector/examples/daemonset-windows/rendered/daemonset.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-windows/rendered/daemonset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -23,7 +23,7 @@ spec: template: metadata: annotations: - checksum/config: 82af8bf1c147779c56519a6501afae74811e8051251a8c5dd4cb703c92cc0f6e + checksum/config: 50408e3366b5ec25b0a58409094f26d9755645b0d75488e018b5835d31afb21a labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/daemonset-windows/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/daemonset-windows/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/daemonset-windows/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/daemonset-windows/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/daemonset-windows/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/daemonset-windows/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-windows/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/deployment-only/rendered/configmap.yaml b/charts/opentelemetry-collector/examples/deployment-only/rendered/configmap.yaml index ccce73f53..c84d41983 100644 --- a/charts/opentelemetry-collector/examples/deployment-only/rendered/configmap.yaml +++ b/charts/opentelemetry-collector/examples/deployment-only/rendered/configmap.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/deployment-only/rendered/deployment.yaml b/charts/opentelemetry-collector/examples/deployment-only/rendered/deployment.yaml index e9f3769df..e1bd90a90 100644 --- a/charts/opentelemetry-collector/examples/deployment-only/rendered/deployment.yaml +++ b/charts/opentelemetry-collector/examples/deployment-only/rendered/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -25,7 +25,7 @@ spec: template: metadata: annotations: - checksum/config: 821863361149672ceaaf994db7163c7a381a48adb2f59f4fe7fcd81f009856e4 + checksum/config: e164dbf408c2f68eff90ac172d51f144ea522a6053597355ff34aff540ac7d93 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/deployment-only/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/deployment-only/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/deployment-only/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/deployment-only/rendered/service.yaml b/charts/opentelemetry-collector/examples/deployment-only/rendered/service.yaml index 53ccfd80f..317fc61b2 100644 --- a/charts/opentelemetry-collector/examples/deployment-only/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/deployment-only/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/deployment-only/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/deployment-only/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/deployment-only/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/deployment-only/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/configmap.yaml b/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/configmap.yaml index 69745e03b..3754465f3 100644 --- a/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/configmap.yaml +++ b/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/configmap.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/deployment.yaml b/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/deployment.yaml index 227fb2a06..69159ac87 100644 --- a/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/deployment.yaml +++ b/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -25,7 +25,7 @@ spec: template: metadata: annotations: - checksum/config: 7b62127e171ac23a08fbeaf9b76da50910512be2f3dd724ea4039dc959ecf4d1 + checksum/config: c80f45a026975b3aeaa61c7f1c2e2e144450253cdd234e81af96534ddf40a2a1 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/service.yaml b/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/service.yaml index 2fcb81a5d..cb7d62208 100644 --- a/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/deployment-otlp-traces/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/deployment.yaml b/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/deployment.yaml index 0b0ccc65b..17be1dcbc 100644 --- a/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/deployment.yaml +++ b/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/service.yaml b/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/service.yaml index 53ccfd80f..317fc61b2 100644 --- a/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/deployment-use-existing-configMap/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/clusterrole.yaml b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/clusterrole.yaml index fb77be82f..51404673e 100644 --- a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/clusterrole.yaml +++ b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/clusterrole.yaml @@ -5,7 +5,7 @@ kind: ClusterRole metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/clusterrolebinding.yaml b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/clusterrolebinding.yaml index 82ee448ef..b7381b40d 100644 --- a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/clusterrolebinding.yaml @@ -5,7 +5,7 @@ kind: ClusterRoleBinding metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/configmap-agent.yaml index 38496014f..55abb58f8 100644 --- a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/configmap-agent.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/daemonset.yaml b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/daemonset.yaml index e5c63c3e7..c17433ac4 100644 --- a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/daemonset.yaml +++ b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/daemonset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -23,7 +23,7 @@ spec: template: metadata: annotations: - checksum/config: fee7d754d7c0e82e7bff751de7ce4f2b352eba575e15e099934dfedd639fc7a8 + checksum/config: a18782c8676696076a7ce5754a852e90e0ce2b7bd4d6e37529bdeabf4a615408 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/service.yaml b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/service.yaml index dd89f6454..1924fbb3e 100644 --- a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/gke-autopilot/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/gke-autopilot/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/host-entity/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/host-entity/rendered/configmap-agent.yaml index 90652eb8d..8ccb3aba0 100644 --- a/charts/opentelemetry-collector/examples/host-entity/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/host-entity/rendered/configmap-agent.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/host-entity/rendered/daemonset.yaml b/charts/opentelemetry-collector/examples/host-entity/rendered/daemonset.yaml index 9db46560a..3aad28963 100644 --- a/charts/opentelemetry-collector/examples/host-entity/rendered/daemonset.yaml +++ b/charts/opentelemetry-collector/examples/host-entity/rendered/daemonset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -23,7 +23,7 @@ spec: template: metadata: annotations: - checksum/config: 5f5c101b49aa89b91cef483eca77aed9560d2d0cf82224f10296b3cdedcd38c9 + checksum/config: 99af98e5486e6a190fa04f4df71856034e09ebb218c8a132da338af383c9c209 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/host-entity/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/host-entity/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/host-entity/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/host-entity/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/host-entity/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/host-entity/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/host-entity/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/clusterrole.yaml b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/clusterrole.yaml index c282a210b..d2c8df75d 100644 --- a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/clusterrole.yaml +++ b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/clusterrole.yaml @@ -5,7 +5,7 @@ kind: ClusterRole metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/clusterrolebinding.yaml b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/clusterrolebinding.yaml index 82ee448ef..b7381b40d 100644 --- a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/clusterrolebinding.yaml @@ -5,7 +5,7 @@ kind: ClusterRoleBinding metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/configmap.yaml b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/configmap.yaml index 344b2c9d5..76d24c646 100644 --- a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/configmap.yaml +++ b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/configmap.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/deployment.yaml b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/deployment.yaml index 76cc57c95..7e5312d28 100644 --- a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/deployment.yaml +++ b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -25,7 +25,7 @@ spec: template: metadata: annotations: - checksum/config: ba83984a7812064719a0446ea1638c1298c3bbc08fd8996582e3bc66576855b8 + checksum/config: 023702cb603358f7fc3cfb4e26cde72bfd673717e56120d61692b4a843d451fd labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/service.yaml b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/service.yaml index 53ccfd80f..317fc61b2 100644 --- a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/kubernetesAttributes/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/loadbalancing/rendered/configmap.yaml b/charts/opentelemetry-collector/examples/loadbalancing/rendered/configmap.yaml index cd945fc31..590c54af1 100644 --- a/charts/opentelemetry-collector/examples/loadbalancing/rendered/configmap.yaml +++ b/charts/opentelemetry-collector/examples/loadbalancing/rendered/configmap.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/loadbalancing/rendered/deployment.yaml b/charts/opentelemetry-collector/examples/loadbalancing/rendered/deployment.yaml index 75c7a5d51..fdd4fbdac 100644 --- a/charts/opentelemetry-collector/examples/loadbalancing/rendered/deployment.yaml +++ b/charts/opentelemetry-collector/examples/loadbalancing/rendered/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -25,7 +25,7 @@ spec: template: metadata: annotations: - checksum/config: 98ee327a1e7e37adaaa59e423bd06322bd98a91f820516ae1c463b35db9290ea + checksum/config: 38cb45374904c772b4a6fbef8fc49ecf9f34bdfe43cd5c7bf4bb30ce2a2a0b95 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/loadbalancing/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/loadbalancing/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/loadbalancing/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/loadbalancing/rendered/service.yaml b/charts/opentelemetry-collector/examples/loadbalancing/rendered/service.yaml index 53ccfd80f..317fc61b2 100644 --- a/charts/opentelemetry-collector/examples/loadbalancing/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/loadbalancing/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/loadbalancing/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/loadbalancing/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/loadbalancing/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/loadbalancing/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/metadata/rendered/configmap.yaml b/charts/opentelemetry-collector/examples/metadata/rendered/configmap.yaml index 042468cd1..fec3bbc6d 100644 --- a/charts/opentelemetry-collector/examples/metadata/rendered/configmap.yaml +++ b/charts/opentelemetry-collector/examples/metadata/rendered/configmap.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/metadata/rendered/deployment.yaml b/charts/opentelemetry-collector/examples/metadata/rendered/deployment.yaml index 9198d1e79..ac24c2fcd 100644 --- a/charts/opentelemetry-collector/examples/metadata/rendered/deployment.yaml +++ b/charts/opentelemetry-collector/examples/metadata/rendered/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -25,7 +25,7 @@ spec: template: metadata: annotations: - checksum/config: 97d29fd42f8583fcc862bea004fe70518a1b10fdbc980e0aea48a6e5b51427e2 + checksum/config: d24e31dd840602bfb8110abdff07aa45da02ac1c7c5cdf5d16ed1a572c2853e9 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/metadata/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/metadata/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/metadata/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/metadata/rendered/service.yaml b/charts/opentelemetry-collector/examples/metadata/rendered/service.yaml index 53ccfd80f..317fc61b2 100644 --- a/charts/opentelemetry-collector/examples/metadata/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/metadata/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/metadata/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/metadata/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/metadata/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/metadata/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrole-targetallocator.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrole-targetallocator.yaml index f678e557f..5bc4fa2a7 100644 --- a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrole-targetallocator.yaml +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrole-targetallocator.yaml @@ -5,7 +5,7 @@ kind: ClusterRole metadata: name: example-opentelemetry-collector-targetallocator labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -42,6 +42,8 @@ rules: resources: - servicemonitors - podmonitors + - scrapeconfigs + - probes verbs: - '*' - apiGroups: [""] diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrole.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrole.yaml index c282a210b..d2c8df75d 100644 --- a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrole.yaml +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrole.yaml @@ -5,7 +5,7 @@ kind: ClusterRole metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrolebinding-targetallocator.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrolebinding-targetallocator.yaml index e04bac508..52d703861 100644 --- a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrolebinding-targetallocator.yaml +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrolebinding-targetallocator.yaml @@ -5,7 +5,7 @@ kind: ClusterRoleBinding metadata: name: example-opentelemetry-collector-targetallocator labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrolebinding.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrolebinding.yaml index a3e4aab86..2d91efafd 100644 --- a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/clusterrolebinding.yaml @@ -5,7 +5,7 @@ kind: ClusterRoleBinding metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/opentelemetrycollector.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/opentelemetrycollector.yaml index e5f718d65..8f3f668ba 100644 --- a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/opentelemetrycollector.yaml +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/opentelemetrycollector.yaml @@ -5,7 +5,7 @@ kind: OpenTelemetryCollector metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/serviceaccount-targetallocator.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/serviceaccount-targetallocator.yaml index 50817529b..5998963ee 100644 --- a/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/serviceaccount-targetallocator.yaml +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-crd/rendered/serviceaccount-targetallocator.yaml @@ -5,7 +5,7 @@ kind: ServiceAccount metadata: name: default-targetallocator labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector-target-allocator app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/clusterrole.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/clusterrole.yaml index 1314c7652..c8748e7cf 100644 --- a/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/clusterrole.yaml +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/clusterrole.yaml @@ -5,7 +5,7 @@ kind: ClusterRole metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/clusterrolebinding.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/clusterrolebinding.yaml index 41cfb12ad..f14090e79 100644 --- a/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/clusterrolebinding.yaml @@ -5,7 +5,7 @@ kind: ClusterRoleBinding metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/opentelemetrycollector.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/opentelemetrycollector.yaml index 4bb6cbb8f..72a2345b4 100644 --- a/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/opentelemetrycollector.yaml +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/opentelemetrycollector.yaml @@ -5,7 +5,7 @@ kind: OpenTelemetryCollector metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/serviceaccount.yaml index cacf95bca..48850695f 100644 --- a/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/opentelemetrycollector-daemonset-crd/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: otel-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/resource-catalog/rendered/clusterrole.yaml b/charts/opentelemetry-collector/examples/resource-catalog/rendered/clusterrole.yaml index 75b7d1121..1cfb90410 100644 --- a/charts/opentelemetry-collector/examples/resource-catalog/rendered/clusterrole.yaml +++ b/charts/opentelemetry-collector/examples/resource-catalog/rendered/clusterrole.yaml @@ -5,7 +5,7 @@ kind: ClusterRole metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/resource-catalog/rendered/clusterrolebinding.yaml b/charts/opentelemetry-collector/examples/resource-catalog/rendered/clusterrolebinding.yaml index 82ee448ef..b7381b40d 100644 --- a/charts/opentelemetry-collector/examples/resource-catalog/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-collector/examples/resource-catalog/rendered/clusterrolebinding.yaml @@ -5,7 +5,7 @@ kind: ClusterRoleBinding metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/resource-catalog/rendered/configmap.yaml b/charts/opentelemetry-collector/examples/resource-catalog/rendered/configmap.yaml index a7996a1c2..f381b14a9 100644 --- a/charts/opentelemetry-collector/examples/resource-catalog/rendered/configmap.yaml +++ b/charts/opentelemetry-collector/examples/resource-catalog/rendered/configmap.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/resource-catalog/rendered/deployment.yaml b/charts/opentelemetry-collector/examples/resource-catalog/rendered/deployment.yaml index e905b4158..ed0f34693 100644 --- a/charts/opentelemetry-collector/examples/resource-catalog/rendered/deployment.yaml +++ b/charts/opentelemetry-collector/examples/resource-catalog/rendered/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -25,7 +25,7 @@ spec: template: metadata: annotations: - checksum/config: 5e6d8eececb271424e71042b10ccacb67eb940f3d7ed0c9d39998567feda7e8a + checksum/config: df6a183d3e3312451b042222dfa07349a622005a53c3801745ec7316a1c4c547 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/resource-catalog/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/resource-catalog/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/resource-catalog/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/resource-catalog/rendered/service.yaml b/charts/opentelemetry-collector/examples/resource-catalog/rendered/service.yaml index 53ccfd80f..317fc61b2 100644 --- a/charts/opentelemetry-collector/examples/resource-catalog/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/resource-catalog/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/resource-catalog/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/resource-catalog/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/resource-catalog/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/resource-catalog/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/routing/rendered/clusterrole.yaml b/charts/opentelemetry-collector/examples/routing/rendered/clusterrole.yaml index c282a210b..d2c8df75d 100644 --- a/charts/opentelemetry-collector/examples/routing/rendered/clusterrole.yaml +++ b/charts/opentelemetry-collector/examples/routing/rendered/clusterrole.yaml @@ -5,7 +5,7 @@ kind: ClusterRole metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/routing/rendered/clusterrolebinding.yaml b/charts/opentelemetry-collector/examples/routing/rendered/clusterrolebinding.yaml index 82ee448ef..b7381b40d 100644 --- a/charts/opentelemetry-collector/examples/routing/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-collector/examples/routing/rendered/clusterrolebinding.yaml @@ -5,7 +5,7 @@ kind: ClusterRoleBinding metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/routing/rendered/configmap.yaml b/charts/opentelemetry-collector/examples/routing/rendered/configmap.yaml index b43265aa3..b7e8a711f 100644 --- a/charts/opentelemetry-collector/examples/routing/rendered/configmap.yaml +++ b/charts/opentelemetry-collector/examples/routing/rendered/configmap.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/routing/rendered/deployment.yaml b/charts/opentelemetry-collector/examples/routing/rendered/deployment.yaml index 2ff83d746..8c0618f2c 100644 --- a/charts/opentelemetry-collector/examples/routing/rendered/deployment.yaml +++ b/charts/opentelemetry-collector/examples/routing/rendered/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -25,7 +25,7 @@ spec: template: metadata: annotations: - checksum/config: 83ddef68950a03556d97885cf9a3613e770eec14e269cf3f07fd8434a72ad942 + checksum/config: 6ef00ab471e379582754638c4a08b4ac67b0b2c8b1b9fcac7ea4ed6cdb66e423 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/routing/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/routing/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/routing/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/routing/rendered/service.yaml b/charts/opentelemetry-collector/examples/routing/rendered/service.yaml index 53ccfd80f..317fc61b2 100644 --- a/charts/opentelemetry-collector/examples/routing/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/routing/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/routing/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/routing/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/routing/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/routing/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/configmap-agent.yaml index 3e99dd4f2..d77703cc6 100644 --- a/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/configmap-agent.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/daemonset.yaml b/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/daemonset.yaml index 637f3173f..64a4ed06a 100644 --- a/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/daemonset.yaml +++ b/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/daemonset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-agent namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -23,7 +23,7 @@ spec: template: metadata: annotations: - checksum/config: 39ee25a73f6987d2d790bb52be614ecac0585e8aa3c31674f2b6e549ab85c2ea + checksum/config: fccb8358d5dfb147cd3db66ed3f8d1fcd2b595924d9f8d62265206df1993094a labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/spanmetrics-multiple-preset/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/statefulset-only/rendered/configmap-statefulset.yaml b/charts/opentelemetry-collector/examples/statefulset-only/rendered/configmap-statefulset.yaml index 24eb9d263..2d3141c97 100644 --- a/charts/opentelemetry-collector/examples/statefulset-only/rendered/configmap-statefulset.yaml +++ b/charts/opentelemetry-collector/examples/statefulset-only/rendered/configmap-statefulset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector-statefulset namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/statefulset-only/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/statefulset-only/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/statefulset-only/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/statefulset-only/rendered/service.yaml b/charts/opentelemetry-collector/examples/statefulset-only/rendered/service.yaml index 2108b4c91..7b8d453e2 100644 --- a/charts/opentelemetry-collector/examples/statefulset-only/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/statefulset-only/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/statefulset-only/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/statefulset-only/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/statefulset-only/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/statefulset-only/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/statefulset-only/rendered/statefulset.yaml b/charts/opentelemetry-collector/examples/statefulset-only/rendered/statefulset.yaml index 18bd375af..bf008e089 100644 --- a/charts/opentelemetry-collector/examples/statefulset-only/rendered/statefulset.yaml +++ b/charts/opentelemetry-collector/examples/statefulset-only/rendered/statefulset.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -26,7 +26,7 @@ spec: template: metadata: annotations: - checksum/config: 8a56339d876f1d4cc863a448a2101de60eb26834ad8a72e5821c05e2dde8e994 + checksum/config: f7f07cfbbd937d8056676a8ee90d7aaae7971f49e9e7c2a078d03b6e0861a7c9 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/configmap.yaml b/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/configmap.yaml index ccce73f53..c84d41983 100644 --- a/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/configmap.yaml +++ b/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/configmap.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/deployment.yaml b/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/deployment.yaml index 1784c1837..80fdb7289 100644 --- a/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/deployment.yaml +++ b/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" @@ -25,7 +25,7 @@ spec: template: metadata: annotations: - checksum/config: 821863361149672ceaaf994db7163c7a381a48adb2f59f4fe7fcd81f009856e4 + checksum/config: e164dbf408c2f68eff90ac172d51f144ea522a6053597355ff34aff540ac7d93 labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/service-targetallocator.yaml b/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/service-targetallocator.yaml new file mode 100644 index 000000000..5729b85bf --- /dev/null +++ b/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/service-targetallocator.yaml @@ -0,0 +1,24 @@ +--- +# Source: opentelemetry-collector/templates/service-targetallocator.yaml +apiVersion: v1 +kind: Service +metadata: + name: example-opentelemetry-collector-targetallocator + namespace: default + labels: + helm.sh/chart: opentelemetry-collector-0.98.5 + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + app.kubernetes.io/version: "0.111.0" + app.kubernetes.io/managed-by: Helm + component: target-allocator +spec: + ports: + - name: targetallocation + port: 80 + targetPort: http + appProtocol: http + selector: + app.kubernetes.io/name: opentelemetry-collector-target-allocator + app.kubernetes.io/instance: example + component: target-allocator diff --git a/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/service.yaml b/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/service.yaml index 53ccfd80f..317fc61b2 100644 --- a/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/service.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/serviceaccount.yaml index eb40e03d3..ff9c6f07e 100644 --- a/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/using-GOMEMLIMIT/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: example-opentelemetry-collector namespace: default labels: - helm.sh/chart: opentelemetry-collector-0.98.4 + helm.sh/chart: opentelemetry-collector-0.98.5 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.111.0" diff --git a/charts/opentelemetry-collector/templates/_helpers.tpl b/charts/opentelemetry-collector/templates/_helpers.tpl index 1321b20f3..70ae26d60 100644 --- a/charts/opentelemetry-collector/templates/_helpers.tpl +++ b/charts/opentelemetry-collector/templates/_helpers.tpl @@ -147,6 +147,18 @@ Create the name of the priorityClass to use {{- end }} {{- end }} +{{- define "opentelemetry-target-allocator.serviceMonitorNamespaceSelector" -}} +{{- if .Values.targetAllocator.prometheusCR.serviceMonitorNamespaceSelector }} +{{- tpl (.Values.targetAllocator.prometheusCR.serviceMonitorNamespaceSelector | toYaml) . }} +{{- end }} +{{- end }} + +{{- define "opentelemetry-target-allocator.podMonitorNamespaceSelector" -}} +{{- if .Values.targetAllocator.prometheusCR.podMonitorNamespaceSelector }} +{{- tpl (.Values.targetAllocator.prometheusCR.podMonitorNamespaceSelector | toYaml) . }} +{{- end }} +{{- end }} + {{- define "opentelemetry-collector.additionalLabels" -}} {{- if .Values.additionalLabels }} {{- tpl (.Values.additionalLabels | toYaml) . }} diff --git a/charts/opentelemetry-collector/templates/clusterrole-targetallocator.yaml b/charts/opentelemetry-collector/templates/clusterrole-targetallocator.yaml index c1f767e28..e9d333ef3 100644 --- a/charts/opentelemetry-collector/templates/clusterrole-targetallocator.yaml +++ b/charts/opentelemetry-collector/templates/clusterrole-targetallocator.yaml @@ -37,6 +37,8 @@ rules: resources: - servicemonitors - podmonitors + - scrapeconfigs + - probes verbs: - '*' - apiGroups: [""] @@ -46,4 +48,5 @@ rules: resources: ["secrets"] verbs: ["get", "list"] {{- end}} + {{- end }} diff --git a/charts/opentelemetry-collector/templates/configmap-targetallocator.yaml b/charts/opentelemetry-collector/templates/configmap-targetallocator.yaml index f7016c293..0dc83c849 100644 --- a/charts/opentelemetry-collector/templates/configmap-targetallocator.yaml +++ b/charts/opentelemetry-collector/templates/configmap-targetallocator.yaml @@ -3,7 +3,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: {{ include "opentelemetry-collector.fullname" . }}-targetallocator + name: {{ include "opentelemetry-collector.fullname" . }} namespace: {{ template "opentelemetry-collector.namespace" . }} labels: {{- include "opentelemetry-target-allocator.labels" . | nindent 4 }} @@ -17,11 +17,7 @@ data: app.kubernetes.io/instance: {{ .Release.Name }} {{- if .Values.targetAllocator.prometheusCR.enabled }} prometheus_cr: - {{- if .Values.targetAllocator.prometheusCR.scrapeInterval }} - scrape_interval: {{ .Values.targetAllocator.prometheusCR.scrapeInterval }} - {{- else }} scrape_interval: {{ .Values.targetAllocator.prometheusCR.scrapeInterval | default "30s" }} - {{- end }} {{- if .Values.targetAllocator.prometheusCR.podMonitorSelector }} pod_monitor_selector: {{- include "opentelemetry-target-allocator.podMonitorSelector" . | nindent 8 }} @@ -34,8 +30,22 @@ data: {{- else }} service_monitor_selector: {} {{- end }} + {{- if .Values.targetAllocator.prometheusCR.serviceMonitorNamespaceSelector }} + service_monitor_namespace_selector: + {{- include "opentelemetry-target-allocator.serviceMonitorNamespaceSelector" . | nindent 8 }} + {{- else }} + service_monitor_namespace_selector: {} + {{- end }} + {{- if .Values.targetAllocator.prometheusCR.podMonitorNamespaceSelector }} + pod_monitor_namespace_selector: + {{- include "opentelemetry-target-allocator.podMonitorNamespaceSelector" . | nindent 8 }} + {{- else }} + pod_monitor_namespace_selector: {} + {{- end }} {{- end }} + {{- if .Values.targetAllocator.scrapeConfigs }} config: scrape_configs: {{ tpl (.Values.targetAllocator.scrapeConfigs | toYaml) . | nindent 8 }} + {{- end }} {{- end }} {{- end }} diff --git a/charts/opentelemetry-collector/templates/deployment-targetallocator.yaml b/charts/opentelemetry-collector/templates/deployment-targetallocator.yaml index 0e6698139..7e37464c6 100644 --- a/charts/opentelemetry-collector/templates/deployment-targetallocator.yaml +++ b/charts/opentelemetry-collector/templates/deployment-targetallocator.yaml @@ -15,6 +15,9 @@ metadata: {{- end }} spec: replicas: {{ .Values.targetAllocator.replicas }} + {{- if .Values.minReadySeconds }} + minReadySeconds: {{ .Values.targetAllocator.minReadySeconds }} + {{- end }} selector: matchLabels: {{- include "opentelemetry-target-allocator.selectorLabels" . | nindent 6 }} @@ -36,6 +39,14 @@ spec: {{- include "opentelemetry-target-allocator.selectorLabels" . | nindent 8 }} component: target-allocator spec: + {{- if .Values.targetAllocator.affinity }} + affinity: + {{- toYaml .Values.targetAllocator.affinity | nindent 8 }} + {{- end }} + {{- if .Values.targetAllocator.tolerations }} + tolerations: + {{- toYaml .Values.targetAllocator.tolerations | nindent 8 }} + {{- end }} containers: - name: {{ include "opentelemetry-collector.fullname" . }}-targetallocator {{- if .Values.targetAllocator.image.tag }} @@ -63,9 +74,31 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} volumeMounts: + {{- if .Values.targetAllocator.volumeMounts }} + {{- toYaml .Values.targetAllocator.volumeMounts | nindent 10 }} + {{- end }} - mountPath: /conf name: ta-internal + livenessProbe: + httpGet: + path: /livez + port: 8080 + initialDelaySeconds: {{ .Values.targetAllocator.livenessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.targetAllocator.livenessProbe.periodSeconds }} + timeoutSeconds: {{ .Values.targetAllocator.livenessProbe.timeoutSeconds }} + failureThreshold: {{ .Values.targetAllocator.livenessProbe.failureThreshold }} + readinessProbe: + httpGet: + path: /readyz + port: 8080 + initialDelaySeconds: {{ .Values.targetAllocator.livenessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.targetAllocator.livenessProbe.periodSeconds }} + timeoutSeconds: {{ .Values.targetAllocator.livenessProbe.timeoutSeconds }} + failureThreshold: {{ .Values.targetAllocator.livenessProbe.failureThreshold }} volumes: + {{- if .Values.targetAllocator.volumes }} + {{- toYaml .Values.targetAllocator.volumes | nindent 6 }} + {{- end }} - configMap: defaultMode: 420 items: diff --git a/charts/opentelemetry-collector/templates/pdb-targetallocator.yaml b/charts/opentelemetry-collector/templates/pdb-targetallocator.yaml new file mode 100644 index 000000000..68c86ba37 --- /dev/null +++ b/charts/opentelemetry-collector/templates/pdb-targetallocator.yaml @@ -0,0 +1,16 @@ +{{- if .Values.targetAllocator.pdb.create }} +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ include "opentelemetry-collector.fullname" . }}-targetallocator + namespace: {{ template "opentelemetry-collector.namespace" . }} + labels: + {{- include "opentelemetry-target-allocator.labels" . | nindent 4 }} + component: target-allocator +spec: + maxUnavailable: {{ .Values.targetAllocator.pdb.maxUnavailable }} + selector: + matchLabels: + {{- include "opentelemetry-target-allocator.selectorLabels" . | nindent 6 }} + component: target-allocator +{{- end }} diff --git a/charts/opentelemetry-collector/templates/service-targetallocator.yaml b/charts/opentelemetry-collector/templates/service-targetallocator.yaml index 654925f8f..27bb6672b 100644 --- a/charts/opentelemetry-collector/templates/service-targetallocator.yaml +++ b/charts/opentelemetry-collector/templates/service-targetallocator.yaml @@ -1,5 +1,3 @@ -{{- if not .Values.collectorCRD.generate -}} -{{- if .Values.targetAllocator.enabled -}} apiVersion: v1 kind: Service metadata: @@ -19,8 +17,7 @@ spec: - name: targetallocation port: 80 targetPort: http + appProtocol: http selector: {{- include "opentelemetry-target-allocator.selectorLabels" . | nindent 4 }} component: target-allocator -{{- end }} -{{- end }} diff --git a/charts/opentelemetry-collector/templates/servicemonitor-targetallocator.yaml b/charts/opentelemetry-collector/templates/servicemonitor-targetallocator.yaml new file mode 100644 index 000000000..76db57c5b --- /dev/null +++ b/charts/opentelemetry-collector/templates/servicemonitor-targetallocator.yaml @@ -0,0 +1,21 @@ +{{- if .Values.targetAllocator.serviceMonitor.enabled }} +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: {{ include "opentelemetry-collector.fullname" . }}-targetallocator + namespace: {{ template "opentelemetry-collector.namespace" . }} + labels: + {{- include "opentelemetry-target-allocator.labels" . | nindent 4 }} + component: target-allocator + {{- range $key, $value := .Values.targetAllocator.serviceMonitor.extraLabels }} + {{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }} + {{- end }} +spec: + endpoints: + - honorLabels: true + port: targetallocation + selector: + matchLabels: + {{- include "opentelemetry-target-allocator.selectorLabels" . | nindent 6 }} + component: target-allocator +{{- end }} diff --git a/charts/opentelemetry-collector/values.schema.json b/charts/opentelemetry-collector/values.schema.json index 17dfa8ed9..2ded168ab 100644 --- a/charts/opentelemetry-collector/values.schema.json +++ b/charts/opentelemetry-collector/values.schema.json @@ -54,6 +54,96 @@ "enabled": { "type": "boolean" }, + "tolerations": { + "type": "array", + "items": { + "type": "object" + } + }, + "affinity": { + "type": "object" + }, + "volumeMounts": { + "type": "array", + "items": { + "type": "object" + } + }, + "volumes": { + "type": "array", + "items": { + "type": "object" + } + }, + "serviceMonitor": { + "type": "object", + "additionalProperties": false, + "properties": { + "enabled": { + "type": "boolean" + }, + "extraLabels": { + "type": "object" + } + } + }, + "pdb": { + "type": "object", + "additionalProperties": false, + "properties": { + "create": { + "type": "boolean" + }, + "maxUnavailable": { + "type": "string" + } + } + }, + "livenessProbe": { + "type": "object", + "additionalProperties": false, + "properties": { + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + } + } + }, + "readinessProbe": { + "type": "object", + "additionalProperties": false, + "properties": { + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + } + } + }, + "minReadySeconds": { + "type": "integer" + }, "prometheusCR": { "type": "object", "additionalProperties": false, @@ -61,6 +151,12 @@ "enabled": { "type": "boolean" }, + "serviceMonitorNamespaceSelector": { + "type": "object" + }, + "podMonitorNamespaceSelector": { + "type": "object" + }, "podMonitorSelector": {}, "serviceMonitorSelector": {}, "scrapeInterval": { diff --git a/charts/opentelemetry-collector/values.yaml b/charts/opentelemetry-collector/values.yaml index 834f54acf..023442195 100644 --- a/charts/opentelemetry-collector/values.yaml +++ b/charts/opentelemetry-collector/values.yaml @@ -31,7 +31,12 @@ mode: "" targetAllocator: enabled: false replicas: 1 + tolerations: [] + affinity: {} + scrapeConfigs: [] prometheusCR: + serviceMonitorNamespaceSelector: {} + podMonitorNamespaceSelector: {} enabled: false podMonitorSelector: {} serviceMonitorSelector: {} @@ -50,6 +55,30 @@ targetAllocator: # will be created. serviceAccount: "" resources: {} + volumeMounts: [] + volumes: [] + + serviceMonitor: + enabled: false + extraLabels: {} + + pdb: + create: false + maxUnavailable: 25% + + livenessProbe: + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3 + + readinessProbe: + initialDelaySeconds: 5 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3 + + minReadySeconds: 60 # When using windows set this to true and make sure # to use collector image built for windows. @@ -197,7 +226,8 @@ presets: defaultHistogramBuckets: [] # collectionInterval: 30s # metricsExpiration: 5m - configs: [] + configs: + [] # - selector: route() where attributes["service.name"] == "one" # histogramBuckets: [] @@ -235,13 +265,13 @@ presets: # If you have multiple instance you'd like to collect, specify each instance in the list below. # If you have only one instance, you don't need to specify the labelSelectors. instances: - - username: "root" - password: ${env:MYSQL_PASSWORD} - port: 3306 - # collectionInterval: 30s - # labelSelectors: - # app.kubernetes.io/name: "mysql" - # app.kubernetes.io/instance: "mysql-logs" + - username: "root" + password: ${env:MYSQL_PASSWORD} + port: 3306 + # collectionInterval: 30s + # labelSelectors: + # app.kubernetes.io/name: "mysql" + # app.kubernetes.io/instance: "mysql-logs" # extraLogs enables collection of MySQL log files that are not out put to stdin / stderr. These include # for example general or slow query logs. # This configuration option is valid ONLY with the OpenTelemetry Operator, when collectorCRD.generate = true.