diff --git a/charts/opentelemetry-kube-stack/Chart.lock b/charts/opentelemetry-kube-stack/Chart.lock index 8a853d65e..50fc8e8b6 100644 --- a/charts/opentelemetry-kube-stack/Chart.lock +++ b/charts/opentelemetry-kube-stack/Chart.lock @@ -4,12 +4,12 @@ dependencies: version: 0.0.0 - name: opentelemetry-operator repository: https://open-telemetry.github.io/opentelemetry-helm-charts - version: 0.64.1 + version: 0.64.4 - name: kube-state-metrics repository: https://prometheus-community.github.io/helm-charts version: 5.21.0 - name: prometheus-node-exporter repository: https://prometheus-community.github.io/helm-charts version: 4.37.1 -digest: sha256:3d7b990be46221305869c1fe33231ddb0c8ca40e489365aa8d2e2e290038c1f0 -generated: "2024-07-23T11:06:38.611807-04:00" +digest: sha256:ac372e72d03aa25c67b52085f12067edb308bdaf566cb57e1ea7819d1d2c5a64 +generated: "2024-07-30T14:10:37.453347-04:00" diff --git a/charts/opentelemetry-kube-stack/Chart.yaml b/charts/opentelemetry-kube-stack/Chart.yaml index 739ace003..837680a4c 100644 --- a/charts/opentelemetry-kube-stack/Chart.yaml +++ b/charts/opentelemetry-kube-stack/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: opentelemetry-kube-stack -version: 0.0.13 +version: 0.1.0 description: | OpenTelemetry Quickstart chart for Kubernetes. Installs an operator and collector for an easy way to get started with Kubernetes observability. @@ -15,14 +15,14 @@ maintainers: icon: https://raw.githubusercontent.com/cncf/artwork/a718fa97fffec1b9fd14147682e9e3ac0c8817cb/projects/opentelemetry/icon/color/opentelemetry-icon-color.png # the appVersion stays aligned with the operator's latest version. If the collector has a patch # release, the collector's latest patch will be manually overridden. -appVersion: 0.103.0 +appVersion: 0.105.0 dependencies: - name: crds version: "0.0.0" condition: crds.install - name: opentelemetry-operator repository: https://open-telemetry.github.io/opentelemetry-helm-charts - version: 0.64.1 + version: 0.64.4 condition: opentelemetry-operator.enabled - name: kube-state-metrics version: "5.21.*" diff --git a/charts/opentelemetry-kube-stack/README.md b/charts/opentelemetry-kube-stack/README.md index a56f3458f..d10ad1e55 100644 --- a/charts/opentelemetry-kube-stack/README.md +++ b/charts/opentelemetry-kube-stack/README.md @@ -1,8 +1,11 @@ # OpenTelemetry Kube Stack Helm Chart -> [!CAUTION] -> This chart is under active development and is not meant to be installed yet. -> Right now, nothing is included with this deployment. +| Status | | +| ------------- |-----------| +| Stability | [alpha] | +| Issues | [![Open issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-helm-charts?query=is%3Aissue+is%3Aopen+label%3Achart%3Akube-stack&label=open&color=orange&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-helm-charts/issues?q=is%3Aissue+is%3Aopen+label%3Achart%3Akube-stack) [![Closed issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-helm-charts?query=is%3Aissue%20is%3Aclosed%20label%3Achart%3Akube-stack%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-helm-charts/issues?q=is%3Aclosed+is%3Aissue+label%3Achart%3Akube-stack) | +| [Code Owners](https://github.com/open-telemetry/opentelemetry-helm-charts/blob/main/CONTRIBUTING.md) | [@jaronoff97](https://www.github.com/jaronoff97), [@TylerHelmuth](https://github.com/TylerHelmuth), [@dmitryax](https://github.com/dmitryax) | + This Helm chart serves as a quickstart for OpenTelemetry in a Kubernetes environment. The chart installs an [OpenTelemetry Operator](https://github.com/open-telemetry/opentelemetry-operator) and a suite of collectors that help you get started with OpenTelemetry metrics, traces, and logs. diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/bridge.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/bridge.yaml index 4e8d4427c..b029dd6f0 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/bridge.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/bridge.yaml @@ -5,8 +5,8 @@ kind: OpAMPBridge metadata: name: example labels: - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm spec: endpoint: http://opamp-server:8080 diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/collector.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/collector.yaml index 8e7597359..82b6be220 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/collector.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/collector.yaml @@ -6,8 +6,8 @@ metadata: name: example-cluster-stats namespace: default labels: - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm opentelemetry.io/opamp-reporting: "true" spec: @@ -189,8 +189,8 @@ metadata: name: example-daemon namespace: default labels: - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm opentelemetry.io/opamp-reporting: "true" spec: diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/instrumentation.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/instrumentation.yaml index 3252e42d5..60fe8f260 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/instrumentation.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/instrumentation.yaml @@ -5,8 +5,8 @@ kind: Instrumentation metadata: name: example labels: - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm spec: exporter: diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/admission-webhooks/operator-webhook-with-cert-manager.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/admission-webhooks/operator-webhook-with-cert-manager.yaml index 2c4bb77f1..479b23f0c 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/admission-webhooks/operator-webhook-with-cert-manager.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/admission-webhooks/operator-webhook-with-cert-manager.yaml @@ -6,7 +6,7 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -91,7 +91,7 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/certmanager.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/certmanager.yaml index 37bd37f04..5a057bf69 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/certmanager.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/certmanager.yaml @@ -4,7 +4,7 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -30,7 +30,7 @@ apiVersion: cert-manager.io/v1 kind: Issuer metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/clusterrole.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/clusterrole.yaml index e008753bf..ba4244f91 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/clusterrole.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/clusterrole.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -223,7 +223,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -242,7 +242,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/clusterrolebinding.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/clusterrolebinding.yaml index b91293bfc..b0a8fc3ab 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/clusterrolebinding.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/clusterrolebinding.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -26,7 +26,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/deployment.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/deployment.yaml index 69615f0e4..f8a1a9bb5 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/deployment.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/deployment.yaml @@ -4,7 +4,7 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/role.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/role.yaml index edfc41d92..b1e1e3412 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/role.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/role.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/rolebinding.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/rolebinding.yaml index 51fe281d1..92028d189 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/rolebinding.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/rolebinding.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/service.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/service.yaml index 6bcabdb7d..f6052f143 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/service.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/service.yaml @@ -4,7 +4,7 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -32,7 +32,7 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/serviceaccount.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/serviceaccount.yaml index ffa15a42c..1a24b17c8 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/serviceaccount.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: opentelemetry-operator namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/tests/test-certmanager-connection.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/tests/test-certmanager-connection.yaml index d61070fdb..36e6d8a8a 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/tests/test-certmanager-connection.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/tests/test-certmanager-connection.yaml @@ -6,7 +6,7 @@ metadata: name: "example-opentelemetry-operator-cert-manager" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/tests/test-service-connection.yaml b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/tests/test-service-connection.yaml index 6799db9ea..842d92ac1 100644 --- a/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/tests/test-service-connection.yaml +++ b/charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/opentelemetry-operator/tests/test-service-connection.yaml @@ -6,7 +6,7 @@ metadata: name: "example-opentelemetry-operator-metrics" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -44,7 +44,7 @@ metadata: name: "example-opentelemetry-operator-webhook" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/README.md b/charts/opentelemetry-kube-stack/examples/prometheus-otel/README.md similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/README.md rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/README.md diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/kubelet_scrape_configs.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/kubelet_scrape_configs.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/kubelet_scrape_configs.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/kubelet_scrape_configs.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/clusterrole.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/clusterrole.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/clusterrole.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/clusterrole.yaml diff --git a/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/collector.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/collector.yaml new file mode 100644 index 000000000..04bbcdd73 --- /dev/null +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/collector.yaml @@ -0,0 +1,126 @@ +--- +# Source: opentelemetry-kube-stack/templates/collector.yaml +apiVersion: opentelemetry.io/v1beta1 +kind: OpenTelemetryCollector +metadata: + name: example-daemon + namespace: default + labels: + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" + app.kubernetes.io/managed-by: Helm +spec: + managementState: managed + mode: daemonset + config: + exporters: + debug: {} + otlp: + endpoint: ingest.example.com:443 + headers: + access-token: ${ACCESS_TOKEN} + processors: + batch: + send_batch_max_size: 1500 + send_batch_size: 1000 + timeout: 1s + resourcedetection/env: + detectors: + - env + override: false + timeout: 2s + receivers: + otlp: + protocols: + grpc: + endpoint: 0.0.0.0:4317 + http: + endpoint: 0.0.0.0:4318 + prometheus: + config: + scrape_configs: [] + service: + pipelines: + logs: + exporters: + - debug + processors: + - resourcedetection/env + - batch + receivers: + - otlp + metrics: + exporters: + - debug + - otlp + processors: + - resourcedetection/env + - batch + receivers: + - prometheus + traces: + exporters: + - debug + processors: + - resourcedetection/env + - batch + receivers: + - otlp + image: "otel/opentelemetry-collector-k8s:0.103.1" + imagePullPolicy: IfNotPresent + upgradeStrategy: automatic + hostNetwork: false + shareProcessNamespace: false + terminationGracePeriodSeconds: 30 + resources: + limits: + cpu: 100m + memory: 250Mi + requests: + cpu: 100m + memory: 128Mi + securityContext: + {} + targetAllocator: + allocationStrategy: per-node + enabled: true + image: ghcr.io/open-telemetry/opentelemetry-operator/target-allocator:main + prometheusCR: + enabled: true + podMonitorSelector: {} + scrapeInterval: 30s + serviceMonitorSelector: {} + volumeMounts: + env: + - name: OTEL_K8S_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: OTEL_K8S_NODE_IP + valueFrom: + fieldRef: + fieldPath: status.hostIP + - name: OTEL_K8S_NAMESPACE + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + - name: OTEL_K8S_POD_NAME + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.name + - name: OTEL_K8S_POD_IP + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: status.podIP + - name: OTEL_RESOURCE_ATTRIBUTES + value: "k8s.cluster.name=demo" + + - name: ACCESS_TOKEN + valueFrom: + secretKeyRef: + key: access_token + name: otel-collector-secret + volumes: diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-api-server/servicemonitor.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-api-server/servicemonitor.yaml similarity index 91% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-api-server/servicemonitor.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-api-server/servicemonitor.yaml index b9809b1e9..39c8fbf9b 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-api-server/servicemonitor.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-api-server/servicemonitor.yaml @@ -7,8 +7,8 @@ metadata: namespace: default labels: app: opentelemetry-kube-stack-apiserver - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm spec: diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-controller-manager/service.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-controller-manager/service.yaml similarity index 85% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-controller-manager/service.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-controller-manager/service.yaml index a3f461c88..b85615701 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-controller-manager/service.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-controller-manager/service.yaml @@ -7,8 +7,8 @@ metadata: labels: app: opentelemetry-kube-stack-kube-controller-manager jobLabel: kube-controller-manager - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm namespace: kube-system spec: diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-controller-manager/servicemonitor.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-controller-manager/servicemonitor.yaml similarity index 89% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-controller-manager/servicemonitor.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-controller-manager/servicemonitor.yaml index 240ae32b3..baea0ed86 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-controller-manager/servicemonitor.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-controller-manager/servicemonitor.yaml @@ -7,8 +7,8 @@ metadata: namespace: default labels: app: opentelemetry-kube-stack-kube-controller-manager - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm spec: jobLabel: jobLabel diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-dns/service.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-dns/service.yaml similarity index 85% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-dns/service.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-dns/service.yaml index c3002f3a1..9024150a0 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-dns/service.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-dns/service.yaml @@ -7,8 +7,8 @@ metadata: labels: app: opentelemetry-kube-stack-kube-dns jobLabel: kube-dns - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm namespace: kube-system spec: diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-dns/servicemonitor.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-dns/servicemonitor.yaml similarity index 88% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-dns/servicemonitor.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-dns/servicemonitor.yaml index e093b8e18..ab40a294e 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-dns/servicemonitor.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-dns/servicemonitor.yaml @@ -7,8 +7,8 @@ metadata: namespace: default labels: app: opentelemetry-kube-stack-kube-dns - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm spec: jobLabel: jobLabel diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-etcd/service.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-etcd/service.yaml similarity index 83% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-etcd/service.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-etcd/service.yaml index 487ff9c04..d197db4d7 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-etcd/service.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-etcd/service.yaml @@ -7,8 +7,8 @@ metadata: labels: app: opentelemetry-kube-stack-kube-etcd jobLabel: kube-etcd - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm namespace: kube-system spec: diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-etcd/servicemonitor.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-etcd/servicemonitor.yaml similarity index 86% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-etcd/servicemonitor.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-etcd/servicemonitor.yaml index 0cba261bf..cfa1e7080 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-etcd/servicemonitor.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-etcd/servicemonitor.yaml @@ -7,8 +7,8 @@ metadata: namespace: default labels: app: opentelemetry-kube-stack-kube-etcd - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm spec: jobLabel: jobLabel diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-proxy/service.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-proxy/service.yaml similarity index 83% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-proxy/service.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-proxy/service.yaml index 0d290be91..4599bd6e1 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-proxy/service.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-proxy/service.yaml @@ -7,8 +7,8 @@ metadata: labels: app: opentelemetry-kube-stack-kube-proxy jobLabel: kube-proxy - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm namespace: kube-system spec: diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-proxy/servicemonitor.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-proxy/servicemonitor.yaml similarity index 86% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-proxy/servicemonitor.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-proxy/servicemonitor.yaml index 7efb59826..461e944d8 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-proxy/servicemonitor.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-proxy/servicemonitor.yaml @@ -7,8 +7,8 @@ metadata: namespace: default labels: app: opentelemetry-kube-stack-kube-proxy - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm spec: jobLabel: jobLabel diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-scheduler/service.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-scheduler/service.yaml similarity index 84% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-scheduler/service.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-scheduler/service.yaml index 2cde42dab..928f52421 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-scheduler/service.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-scheduler/service.yaml @@ -7,8 +7,8 @@ metadata: labels: app: opentelemetry-kube-stack-kube-scheduler jobLabel: kube-scheduler - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm namespace: kube-system spec: diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-scheduler/servicemonitor.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-scheduler/servicemonitor.yaml similarity index 89% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-scheduler/servicemonitor.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-scheduler/servicemonitor.yaml index 19910466e..efb3691a7 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/exporters/kube-scheduler/servicemonitor.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/exporters/kube-scheduler/servicemonitor.yaml @@ -7,8 +7,8 @@ metadata: namespace: default labels: app: opentelemetry-kube-stack-kube-scheduler - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" + helm.sh/chart: opentelemetry-kube-stack-0.1.0 + app.kubernetes.io/version: "0.105.0" app.kubernetes.io/managed-by: Helm spec: jobLabel: jobLabel diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/clusterrolebinding.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/clusterrolebinding.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/clusterrolebinding.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/clusterrolebinding.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/deployment.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/deployment.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/deployment.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/deployment.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/role.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/role.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/role.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/role.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/service.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/service.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/service.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/service.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/serviceaccount.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/serviceaccount.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/serviceaccount.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/serviceaccount.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/servicemonitor.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/servicemonitor.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/kube-state-metrics/servicemonitor.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/kube-state-metrics/servicemonitor.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/admission-webhooks/operator-webhook-with-cert-manager.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/admission-webhooks/operator-webhook-with-cert-manager.yaml similarity index 98% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/admission-webhooks/operator-webhook-with-cert-manager.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/admission-webhooks/operator-webhook-with-cert-manager.yaml index 2c4bb77f1..479b23f0c 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/admission-webhooks/operator-webhook-with-cert-manager.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/admission-webhooks/operator-webhook-with-cert-manager.yaml @@ -6,7 +6,7 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -91,7 +91,7 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/admission-webhooks/operator-webhook.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/admission-webhooks/operator-webhook.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/admission-webhooks/operator-webhook.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/admission-webhooks/operator-webhook.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/certmanager.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/certmanager.yaml similarity index 93% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/certmanager.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/certmanager.yaml index 37bd37f04..5a057bf69 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/certmanager.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/certmanager.yaml @@ -4,7 +4,7 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -30,7 +30,7 @@ apiVersion: cert-manager.io/v1 kind: Issuer metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/clusterrole.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/clusterrole.yaml similarity index 97% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/clusterrole.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/clusterrole.yaml index e008753bf..ba4244f91 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/clusterrole.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/clusterrole.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -223,7 +223,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -242,7 +242,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/clusterrolebinding.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/clusterrolebinding.yaml similarity index 93% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/clusterrolebinding.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/clusterrolebinding.yaml index b91293bfc..b0a8fc3ab 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/clusterrolebinding.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/clusterrolebinding.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -26,7 +26,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/deployment.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/deployment.yaml similarity index 98% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/deployment.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/deployment.yaml index 69615f0e4..f8a1a9bb5 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/deployment.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/deployment.yaml @@ -4,7 +4,7 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/role.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/role.yaml similarity index 94% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/role.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/role.yaml index edfc41d92..b1e1e3412 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/role.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/role.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/rolebinding.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/rolebinding.yaml similarity index 93% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/rolebinding.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/rolebinding.yaml index 51fe281d1..92028d189 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/rolebinding.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/rolebinding.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/service.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/service.yaml similarity index 93% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/service.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/service.yaml index 6bcabdb7d..f6052f143 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/service.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/service.yaml @@ -4,7 +4,7 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -32,7 +32,7 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/serviceaccount.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/serviceaccount.yaml similarity index 89% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/serviceaccount.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/serviceaccount.yaml index ffa15a42c..1a24b17c8 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/serviceaccount.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: opentelemetry-operator namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/tests/test-certmanager-connection.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/tests/test-certmanager-connection.yaml similarity index 96% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/tests/test-certmanager-connection.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/tests/test-certmanager-connection.yaml index d61070fdb..36e6d8a8a 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/tests/test-certmanager-connection.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/tests/test-certmanager-connection.yaml @@ -6,7 +6,7 @@ metadata: name: "example-opentelemetry-operator-cert-manager" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/tests/test-service-connection.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/tests/test-service-connection.yaml similarity index 96% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/tests/test-service-connection.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/tests/test-service-connection.yaml index 6799db9ea..842d92ac1 100644 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/opentelemetry-operator/tests/test-service-connection.yaml +++ b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/opentelemetry-operator/tests/test-service-connection.yaml @@ -6,7 +6,7 @@ metadata: name: "example-opentelemetry-operator-metrics" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm @@ -44,7 +44,7 @@ metadata: name: "example-opentelemetry-operator-webhook" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.64.1 + helm.sh/chart: opentelemetry-operator-0.64.4 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.103.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/prometheus-node-exporter/daemonset.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/prometheus-node-exporter/daemonset.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/prometheus-node-exporter/daemonset.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/prometheus-node-exporter/daemonset.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/prometheus-node-exporter/service.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/prometheus-node-exporter/service.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/prometheus-node-exporter/service.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/prometheus-node-exporter/service.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/prometheus-node-exporter/serviceaccount.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/prometheus-node-exporter/serviceaccount.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/prometheus-node-exporter/serviceaccount.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/prometheus-node-exporter/serviceaccount.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/prometheus-node-exporter/servicemonitor.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/prometheus-node-exporter/servicemonitor.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/prometheus-node-exporter/servicemonitor.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/rendered/prometheus-node-exporter/servicemonitor.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/values.yaml b/charts/opentelemetry-kube-stack/examples/prometheus-otel/values.yaml similarity index 100% rename from charts/opentelemetry-kube-stack/examples/targetallocator-prom/values.yaml rename to charts/opentelemetry-kube-stack/examples/prometheus-otel/values.yaml diff --git a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/collector.yaml b/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/collector.yaml deleted file mode 100644 index 17c0dc23e..000000000 --- a/charts/opentelemetry-kube-stack/examples/targetallocator-prom/rendered/collector.yaml +++ /dev/null @@ -1,350 +0,0 @@ ---- -# Source: opentelemetry-kube-stack/templates/collector.yaml -apiVersion: opentelemetry.io/v1beta1 -kind: OpenTelemetryCollector -metadata: - name: example-daemon - namespace: default - labels: - helm.sh/chart: opentelemetry-kube-stack-0.0.13 - app.kubernetes.io/version: "0.103.0" - app.kubernetes.io/managed-by: Helm -spec: - managementState: managed - mode: daemonset - config: - exporters: - debug: {} - otlp: - endpoint: ingest.example.com:443 - headers: - access-token: ${ACCESS_TOKEN} - processors: - batch: - send_batch_max_size: 1500 - send_batch_size: 1000 - timeout: 1s - resourcedetection/env: - detectors: - - env - override: false - timeout: 2s - receivers: - otlp: - protocols: - grpc: - endpoint: 0.0.0.0:4317 - http: - endpoint: 0.0.0.0:4318 - prometheus: - config: - scrape_configs: - - authorization: - credentials_file: /var/run/secrets/kubernetes.io/serviceaccount/token - type: Bearer - follow_redirects: true - honor_labels: true - honor_timestamps: true - job_name: serviceMonitor/default/opentelemetry-kube-stack-kubelet/0 - kubernetes_sd_configs: - - follow_redirects: true - kubeconfig_file: "" - role: node - metrics_path: /metrics - relabel_configs: - - action: replace - regex: (.*) - replacement: $1 - separator: ; - source_labels: - - job - target_label: __tmp_prometheus_job_name - - action: replace - replacement: kubelet - target_label: job - - action: replace - regex: (.*) - replacement: ${1} - separator: ; - source_labels: - - __meta_kubernetes_node_name - target_label: node - - action: replace - regex: (.*) - replacement: https-metrics - separator: ; - target_label: endpoint - - action: replace - regex: (.*) - replacement: $1 - separator: ; - source_labels: - - __metrics_path__ - target_label: metrics_path - - action: hashmod - modulus: 1 - regex: (.*) - replacement: $1 - separator: ; - source_labels: - - __address__ - target_label: __tmp_hash - - action: keep - regex: $(SHARD) - replacement: $1 - separator: ; - source_labels: - - __tmp_hash - scheme: https - scrape_interval: 30s - scrape_timeout: 10s - tls_config: - ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt - insecure_skip_verify: true - - authorization: - credentials_file: /var/run/secrets/kubernetes.io/serviceaccount/token - type: Bearer - follow_redirects: true - honor_labels: true - honor_timestamps: true - job_name: serviceMonitor/default/opentelemetry-kube-stack-kubelet/1 - kubernetes_sd_configs: - - follow_redirects: true - kubeconfig_file: "" - role: node - metric_relabel_configs: - - action: drop - regex: container_cpu_(cfs_throttled_seconds_total|load_average_10s|system_seconds_total|user_seconds_total) - replacement: $1 - separator: ; - source_labels: - - __name__ - - action: drop - regex: container_fs_(io_current|io_time_seconds_total|io_time_weighted_seconds_total|reads_merged_total|sector_reads_total|sector_writes_total|writes_merged_total) - replacement: $1 - separator: ; - source_labels: - - __name__ - - action: drop - regex: container_memory_(mapped_file|swap) - replacement: $1 - separator: ; - source_labels: - - __name__ - - action: drop - regex: container_(file_descriptors|tasks_state|threads_max) - replacement: $1 - separator: ; - source_labels: - - __name__ - - action: drop - regex: container_spec.* - replacement: $1 - separator: ; - source_labels: - - __name__ - - action: drop - regex: .+; - replacement: $1 - separator: ; - source_labels: - - id - - pod - metrics_path: /metrics/cadvisor - relabel_configs: - - action: replace - regex: (.*) - replacement: $1 - separator: ; - source_labels: - - job - target_label: __tmp_prometheus_job_name - - action: replace - replacement: kubelet - target_label: job - - action: replace - regex: (.*) - replacement: ${1} - separator: ; - source_labels: - - __meta_kubernetes_node_name - target_label: node - - action: replace - regex: (.*) - replacement: https-metrics - separator: ; - target_label: endpoint - - action: replace - regex: (.*) - replacement: $1 - separator: ; - source_labels: - - __metrics_path__ - target_label: metrics_path - - action: hashmod - modulus: 1 - regex: (.*) - replacement: $1 - separator: ; - source_labels: - - __address__ - target_label: __tmp_hash - - action: keep - regex: $(SHARD) - replacement: $1 - separator: ; - source_labels: - - __tmp_hash - scheme: https - scrape_interval: 30s - scrape_timeout: 10s - tls_config: - ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt - insecure_skip_verify: true - - authorization: - credentials_file: /var/run/secrets/kubernetes.io/serviceaccount/token - type: Bearer - follow_redirects: true - honor_labels: true - honor_timestamps: true - job_name: serviceMonitor/default/opentelemetry-kube-stack-kubelet/2 - kubernetes_sd_configs: - - follow_redirects: true - kubeconfig_file: "" - role: node - metrics_path: /metrics/probes - relabel_configs: - - action: replace - regex: (.*) - replacement: $1 - separator: ; - source_labels: - - job - target_label: __tmp_prometheus_job_name - - action: replace - replacement: kubelet - target_label: job - - action: replace - regex: (.*) - replacement: ${1} - separator: ; - source_labels: - - __meta_kubernetes_node_name - target_label: node - - action: replace - regex: (.*) - replacement: https-metrics - separator: ; - target_label: endpoint - - action: replace - regex: (.*) - replacement: $1 - separator: ; - source_labels: - - __metrics_path__ - target_label: metrics_path - - action: hashmod - modulus: 1 - regex: (.*) - replacement: $1 - separator: ; - source_labels: - - __address__ - target_label: __tmp_hash - - action: keep - regex: $(SHARD) - replacement: $1 - separator: ; - source_labels: - - __tmp_hash - scheme: https - scrape_interval: 30s - scrape_timeout: 10s - tls_config: - ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt - insecure_skip_verify: true - service: - pipelines: - logs: - exporters: - - debug - processors: - - resourcedetection/env - - batch - receivers: - - otlp - metrics: - exporters: - - debug - - otlp - processors: - - resourcedetection/env - - batch - receivers: - - prometheus - traces: - exporters: - - debug - processors: - - resourcedetection/env - - batch - receivers: - - otlp - image: "otel/opentelemetry-collector-k8s:0.103.1" - imagePullPolicy: IfNotPresent - upgradeStrategy: automatic - hostNetwork: false - shareProcessNamespace: false - terminationGracePeriodSeconds: 30 - resources: - limits: - cpu: 100m - memory: 250Mi - requests: - cpu: 100m - memory: 128Mi - securityContext: - {} - targetAllocator: - allocationStrategy: per-node - enabled: true - image: ghcr.io/open-telemetry/opentelemetry-operator/target-allocator:main - prometheusCR: - enabled: true - podMonitorSelector: {} - scrapeInterval: 30s - serviceMonitorSelector: {} - volumeMounts: - env: - - name: OTEL_K8S_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: OTEL_K8S_NODE_IP - valueFrom: - fieldRef: - fieldPath: status.hostIP - - name: OTEL_K8S_NAMESPACE - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: metadata.namespace - - name: OTEL_K8S_POD_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: metadata.name - - name: OTEL_K8S_POD_IP - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: status.podIP - - name: OTEL_RESOURCE_ATTRIBUTES - value: "k8s.cluster.name=demo" - - - name: ACCESS_TOKEN - valueFrom: - secretKeyRef: - key: access_token - name: otel-collector-secret - volumes: