|
| 1 | +# Compatibility |
| 2 | + |
| 3 | +This document details compatibility guarantees the OpenTelemetry Operator offers for its dependencies and platforms. |
| 4 | + |
| 5 | +## Kubernetes |
| 6 | + |
| 7 | +As a rule, the operator tries to be compatible with as wide a range of Kubernetes versions as possible. |
| 8 | + |
| 9 | +We will *always* support all the versions maintained by the upstream Kubernetes project, as detailed on its [releases page][kubernetes_releases]. |
| 10 | + |
| 11 | +We will make every effort to support all Kubernetes versions maintained by popular distributions and hosted platforms. For example, you can realistically expect us to always support all versions offered by [OpenShift][openshift_support] and [AWS EKS][aws_support]. |
| 12 | + |
| 13 | +Whenever we do remove support for a Kubernetes version, we will give at least one month's notice beforehand. |
| 14 | + |
| 15 | +The [compatibility matrix](#compatibility-matrix) below precisely shows the supported Kubernetes versions for each operator release. |
| 16 | + |
| 17 | +## OpenTelemetry Operator vs. OpenTelemetry Collector |
| 18 | + |
| 19 | +The OpenTelemetry Operator follows the same versioning as the operand (OpenTelemetry Collector) up to the minor part of the version. For example, the OpenTelemetry Operator v0.18.1 tracks OpenTelemetry Collector 0.18.0. The patch part of the version indicates the patch level of the operator itself, not that of OpenTelemetry Collector. Whenever a new patch version is released for OpenTelemetry Collector, we'll release a new patch version of the operator. |
| 20 | + |
| 21 | +By default, the OpenTelemetry Operator ensures consistent versioning between itself and the managed `OpenTelemetryCollector` resources. That is, if the OpenTelemetry Operator is based on version `0.40.0`, it will create resources with an underlying OpenTelemetry Collector at version `0.40.0`. |
| 22 | + |
| 23 | +When a custom `Spec.Image` is used with an `OpenTelemetryCollector` resource, the OpenTelemetry Operator will not manage this versioning and upgrading. In this scenario, it is best practice that the OpenTelemetry Operator version should match the underlying core version. Given a `OpenTelemetryCollector` resource with a `Spec.Image` configured to a custom image based on underlying OpenTelemetry Collector at version `0.40.0`, it is recommended that the OpenTelemetry Operator is kept at version `0.40.0`. |
| 24 | + |
| 25 | +## Compatibility matrix |
| 26 | + |
| 27 | +We use `cert-manager` for some features of this operator and the third column shows the versions of the `cert-manager` that are known to work with this operator's versions. |
| 28 | + |
| 29 | +The Target Allocator supports prometheus-operator CRDs like ServiceMonitor, and it does so by using packages imported from prometheus-operator itself. The table shows which version is shipped with a given operator version. |
| 30 | +Generally speaking, these are backwards compatible, but specific features require the appropriate package versions. |
| 31 | + |
| 32 | +The OpenTelemetry Operator _might_ work on versions outside of the given range, but when opening new issues, please make sure to test your scenario on a supported version. |
| 33 | + |
| 34 | +| OpenTelemetry Operator | Kubernetes | Cert-Manager | Prometheus-Operator | |
| 35 | +|------------------------|----------------| ------------ |---------------------| |
| 36 | +| v0.111.0 | v1.23 to v1.31 | v1 | v0.76.0 | |
| 37 | +| v0.110.0 | v1.23 to v1.31 | v1 | v0.76.0 | |
| 38 | +| v0.109.0 | v1.23 to v1.31 | v1 | v0.76.0 | |
| 39 | +| v0.108.0 | v1.23 to v1.31 | v1 | v0.76.0 | |
| 40 | +| v0.107.0 | v1.23 to v1.30 | v1 | v0.75.0 | |
| 41 | +| v0.106.0 | v1.23 to v1.30 | v1 | v0.75.0 | |
| 42 | +| v0.105.0 | v1.23 to v1.30 | v1 | v0.74.0 | |
| 43 | +| v0.104.0 | v1.23 to v1.30 | v1 | v0.74.0 | |
| 44 | +| v0.103.0 | v1.23 to v1.30 | v1 | v0.74.0 | |
| 45 | +| v0.102.0 | v1.23 to v1.30 | v1 | v0.71.2 | |
| 46 | +| v0.101.0 | v1.23 to v1.30 | v1 | v0.71.2 | |
| 47 | +| v0.100.0 | v1.23 to v1.29 | v1 | v0.71.2 | |
| 48 | +| v0.99.0 | v1.23 to v1.29 | v1 | v0.71.2 | |
| 49 | +| v0.98.0 | v1.23 to v1.29 | v1 | v0.71.2 | |
| 50 | +| v0.97.0 | v1.23 to v1.29 | v1 | v0.71.2 | |
| 51 | +| v0.96.0 | v1.23 to v1.29 | v1 | v0.71.2 | |
| 52 | +| v0.95.0 | v1.23 to v1.29 | v1 | v0.71.2 | |
| 53 | +| v0.94.0 | v1.23 to v1.29 | v1 | v0.71.0 | |
| 54 | +| v0.93.0 | v1.23 to v1.29 | v1 | v0.71.0 | |
| 55 | +| v0.92.0 | v1.23 to v1.29 | v1 | v0.71.0 | |
| 56 | +| v0.91.0 | v1.23 to v1.29 | v1 | v0.70.0 | |
| 57 | +| v0.90.0 | v1.23 to v1.28 | v1 | v0.69.1 | |
| 58 | +| v0.89.0 | v1.23 to v1.28 | v1 | v0.69.1 | |
| 59 | +| v0.88.0 | v1.23 to v1.28 | v1 | v0.68.0 | |
| 60 | + |
| 61 | +[kubernetes_releases]: https://kubernetes.io/releases/ |
| 62 | +[openshift_support]: https://access.redhat.com/support/policy/updates/openshift |
| 63 | +[aws_support]: https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html |
0 commit comments