Skip to content

Commit

Permalink
bump minor version for kube-stack chart (#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaronoff97 authored Aug 1, 2024
1 parent b32c0b0 commit 40f65ff
Show file tree
Hide file tree
Showing 56 changed files with 204 additions and 425 deletions.
6 changes: 3 additions & 3 deletions charts/opentelemetry-kube-stack/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 3 additions & 3 deletions charts/opentelemetry-kube-stack/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.*"
Expand Down
9 changes: 6 additions & 3 deletions charts/opentelemetry-kube-stack/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
Loading

0 comments on commit 40f65ff

Please sign in to comment.