github enix/kube-image-keeper v3.0.1-rc.2

pre-release33 minutes ago

Observability and status fixes: new series to follow the request pace of a source registry and the objects each controller fails to reconcile, a state label to leave retained images out of the unavailable-image alerts, routing counts limited to the containers a resource can act on, and ImageMirror statuses that stay right after a restart or a tag deletion the destination refuses.

Upgrade notes: 3 fixes change what dashboards and alerts read, not the configuration nor the resources: an ImageMirror whose credential may push but not delete now turns not ready and fires the kuik_resource_not_ready alerts (#906), a query that reads the unavailable-image series bare or aggregates them without must handle their new state label (#905), and the routing tracked counts drop to the containers each resource covers (#916).

No breaking change in this release.

📋 Changelog

Changes since 3.0.1-rc.1.

Features

None in this release.

Fixes

  • Routing: status.pods.tracked, status.containers.tracked and untouched of an ImageAlternative or an ImageMirror, and kuik_routing_containers and kuik_routing_pods_tracked, count only the containers the resource can act on (an entry of its alternatives, or for an ImageMirror an image outside excludeImages and its own destination), so rewritten / tracked reads the share of the covered containers; the numbers drop on upgrade (broken since 3.0.0). (#916, closes #864)

Mirroring

  • A tag deletion the destination refuses with 401 or 403 emits ImageDeletionFailed and sets Ready False with the new reason RegistryDeleteUnauthorized, retried within 5 minutes, instead of an event per tag at every pass with Ready left True; an ImageMirror whose manage credential may push but not delete now turns not ready, and alerts on kuik_resource_not_ready fire for it (broken since 3.0.0). (#906, closes #780)
  • An ImageMirror with more failing or drifted images than its list capacity no longer reports fewer of them after a reconciler restart; status.truncated, ListCapacityPressure, images.copy.missingSource and images.copy.drifted hold what the status counted until the images left out get a verdict again (broken since 3.0.0). (#878, closes #731)

Observability

  • kuik_image_origin_unavailable and kuik_image_alternative_unavailable carry a state label (running, standby, retained), so an alert can leave out the retained images; a query that reads them bare or aggregates without sees the new label, and a state change replaces the series (broken since 3.0.0). (#905, closes #865)
  • The new gauge kuik_registry_request_interval_seconds exports the requestInterval of each source host, 0 when its requests are not spaced (broken since 3.0.0). (#898, closes #870)
  • The new counter kuik_registry_http_requests_total counts each HTTP request sent to a source host, by code (2xx, 3xx, 4xx, 5xx, 429, error), redirects to a CDN left out; kuik_registry_requests_total, which counts attempts, is deprecated and will be removed in a later minor release (broken since 3.0.0). (#912)
  • The new counter kuik_registry_copy_windows_total counts every copy window of a source host with what became of it: Copied, Failed, Busy (the previous copy still ran) or Idle (nothing was ready to copy), so a dashboard can tell whether the copy budget of a host is the bottleneck (broken since 3.0.0). (#908, closes #877)
  • The new gauge kuik_reconcile_failing_items{controller} counts the objects whose last reconcile returned an error, per controller, cleared by a reconcile without error or the object's deletion, and 0 from start on every replica (broken since 3.0.0). (#915)

Don't miss a new kube-image-keeper release

NewReleases is sending notifications on new releases.