Skip to content

Commit

Permalink
Add Prometheus CRDs to otel-kube-stack (#1264)
Browse files Browse the repository at this point in the history
* add prometheus CRDs for installation

* add prometheus CRDs for installation

* add update instructions
  • Loading branch information
jaronoff97 authored Jul 19, 2024
1 parent a7477af commit 8103d40
Show file tree
Hide file tree
Showing 8 changed files with 1,844 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 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.9
version: 0.0.10
description: |
OpenTelemetry Quickstart chart for Kubernetes.
Installs an operator and collector for an easy way to get started with Kubernetes observability.
Expand Down
7 changes: 6 additions & 1 deletion charts/opentelemetry-kube-stack/charts/crds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ This approach is inspired by the kube-prometheus-stack approach which you can se

Right now, upgrades are NOT handled by this chart, however that could change in the future. This is what is run to bring in the CRDs today.

> [!NOTE]
> The prometheus operator version should be equal to what is documented in the opentelemetry operator's compatability matrix [here](https://github.com/open-telemetry/opentelemetry-operator?tab=readme-ov-file#opentelemetry-operator-vs-kubernetes-vs-cert-manager-vs-prometheus-operator)
```bash
wget https://raw.githubusercontent.com/open-telemetry/opentelemetry-operator/main/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml
wget https://raw.githubusercontent.com/open-telemetry/opentelemetry-operator/main/config/crd/bases/opentelemetry.io_opampbridges.yaml
wget https://raw.githubusercontent.com/open-telemetry/opentelemetry-operator/main/config/crd/bases/opentelemetry.io_instrumentations.yaml\n
wget https://raw.githubusercontent.com/open-telemetry/opentelemetry-operator/main/config/crd/bases/opentelemetry.io_instrumentations.yaml
wget https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.74.0/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml
wget https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.74.0/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
```

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: OpAMPBridge
metadata:
name: example
labels:
helm.sh/chart: opentelemetry-kube-stack-0.0.9
helm.sh/chart: opentelemetry-kube-stack-0.0.10
app.kubernetes.io/version: "0.103.0"
app.kubernetes.io/managed-by: Helm
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-cluster-stats
namespace: default
labels:
helm.sh/chart: opentelemetry-kube-stack-0.0.9
helm.sh/chart: opentelemetry-kube-stack-0.0.10
app.kubernetes.io/version: "0.103.0"
app.kubernetes.io/managed-by: Helm
opentelemetry.io/opamp-reporting: "true"
Expand Down Expand Up @@ -189,7 +189,7 @@ metadata:
name: example-daemon
namespace: default
labels:
helm.sh/chart: opentelemetry-kube-stack-0.0.9
helm.sh/chart: opentelemetry-kube-stack-0.0.10
app.kubernetes.io/version: "0.103.0"
app.kubernetes.io/managed-by: Helm
opentelemetry.io/opamp-reporting: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Instrumentation
metadata:
name: example
labels:
helm.sh/chart: opentelemetry-kube-stack-0.0.9
helm.sh/chart: opentelemetry-kube-stack-0.0.10
app.kubernetes.io/version: "0.103.0"
app.kubernetes.io/managed-by: Helm
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-daemon
namespace: default
labels:
helm.sh/chart: opentelemetry-kube-stack-0.0.9
helm.sh/chart: opentelemetry-kube-stack-0.0.10
app.kubernetes.io/version: "0.103.0"
app.kubernetes.io/managed-by: Helm
spec:
Expand Down

0 comments on commit 8103d40

Please sign in to comment.