Changelog

5.1.0

Breaking changes

  • A release installed with 5.1.0 or later carries only the Kubernetes recommended labels. It has no app, release, component, chart or heritage label, so kubectl -l commands, NetworkPolicies, monitors and scripts written against those must use app.kubernetes.io/* instead. A release installed before 5.1.0 keeps them. See Upgrade.
  • Argo CD and other render-only tools must set labelStyle: legacy on releases installed before 5.1.0. These tools render the chart without cluster access, so the chart cannot see the existing Deployments and renders the labels of a new release. Kubernetes rejects the new Deployment selectors, while the Services switch to labels the running pods never get, so OAP and the UI become unreachable until the value is set. helm upgrade detects existing releases by itself and needs nothing.

Features

  • Kubernetes recommended labels. A new release labels everything with app.kubernetes.io/name (always the chart name), app.kubernetes.io/instance, app.kubernetes.io/component, app.kubernetes.io/managed-by and helm.sh/chart, and every selector matches on them: the Deployments, the Services, OAP cluster discovery and dynamic configuration, Satellite‘s OAP lookup and pod anti-affinity. A release installed before 5.1.0 keeps its old labels and selectors, because a Deployment’s selector is immutable, and gains the recommended labels next to them; a component enabled on it later gets the same style. The chart tells the two apart with lookup. labelStyle (auto, legacy, modern) overrides that, and is left out of the init Job's name hash, so changing it does not run init again. To move an older release to the new labels, delete its three Deployments and upgrade.
  • A new E2E cell, e2e-upgrade.yaml, installs the published 5.0.0 chart and upgrades it to the working tree with identical values, checking that the old labels and selectors are kept and the init Job is never broken by an immutable pod-template change. e2e-config-override.yaml now checks that a fresh install carries only the recommended labels and selects by them.
  • Separated receiver and query ports. Three opt-in keys under oap.ports move OAP traffic off grpc / rest, so each port can be exposed, firewalled and given TLS on its own: receiver-grpc (sets SW_RECEIVER_GRPC_PORT; Satellite forwards to it), receiver-rest (sets SW_RECEIVER_SHARING_REST_PORT) and query (sets SW_QUERY_SERVER_REST_PORT, needs OAP 11.2.0 or later; Horizon's queryUrl follows it). With none set, nothing changes. See OAP Endpoints.

Bugs

  • The Satellite Role and RoleBinding carried OAP's component label. They now carry Satellite's.
  • The source release tarball carried macOS metadata. The 5.0.0 source tarball was packed on macOS and holds an AppleDouble ._* file beside every file, with extended-attribute headers that GNU tar warns about. It is now packed with GNU tar on Linux.

Documentation

  • The Configure Horizon page names OTLP_VIRTUAL_GATEWAY among the layers Horizon hides by default. Horizon 1.2.0 hides it next to FAAS and VIRTUAL_GATEWAY, and the HORIZON_LAYERS_EXCLUDED example now lists it, so an install that copies the example to hide one more layer keeps the OTLP gateway layer hidden as well.