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.trackedanduntouchedof an ImageAlternative or an ImageMirror, andkuik_routing_containersandkuik_routing_pods_tracked, count only the containers the resource can act on (an entry of itsalternatives, or for an ImageMirror an image outsideexcludeImagesand its own destination), sorewritten / trackedreads 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
ImageDeletionFailedand setsReadyFalsewith the new reasonRegistryDeleteUnauthorized, retried within 5 minutes, instead of an event per tag at every pass withReadyleftTrue; an ImageMirror whosemanagecredential may push but not delete now turns not ready, and alerts onkuik_resource_not_readyfire 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.missingSourceandimages.copy.driftedhold 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_unavailableandkuik_image_alternative_unavailablecarry astatelabel (running,standby,retained), so an alert can leave out the retained images; a query that reads them bare or aggregateswithoutsees 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_secondsexports therequestIntervalof each source host,0when its requests are not spaced (broken since 3.0.0). (#898, closes #870) - The new counter
kuik_registry_http_requests_totalcounts each HTTP request sent to a source host, bycode(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_totalcounts every copy window of a source host with what became of it:Copied,Failed,Busy(the previous copy still ran) orIdle(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, and0from start on every replica (broken since 3.0.0). (#915)