Zum Inhalt

Polycrate CLI 0.29.12

Datum: 23. Januar 2026
Typ: Bugfix Release


Highlights

  • 🚀 Operator Startup Fix: Health-Probes werden früher registriert, Operator überlebt langsame Startups
  • 🔧 Loglevel Fix: V-Level Logging funktioniert jetzt korrekt (loglevel ⅔ zeigt Debug-Logs)

Bugfixes

Operator Startup Health-Probes Fix

Der Operator wurde bei langsamem Startup von Kubernetes gekillt, weil die Health-Probes erst nach der Controller-Registrierung aktiviert wurden.

Problem: - Controller-Setup kann bei vielen CRDs oder langsamer API mehrere Sekunden dauern - Liveness/Readiness-Probes schlugen fehl, weil Health-Endpoints noch nicht existierten - Kubernetes killte den Pod → CrashLoopBackOff

Fix: - Health-Checks werden jetzt direkt nach dem Manager-Setup registriert - Vor der Controller-Registrierung - Operator überlebt jetzt auch langsame Startups

Neue Log-Reihenfolge:

{"level":"info","msg":"Connected to Kubernetes cluster"...}
{"level":"info","msg":"Health probes registered"}  ← NEU: Früher!
{"level":"info","msg":"Prometheus metrics registered"...}
{"level":"info","msg":"Controller configured"...}

Operator Dokumentation

V-Level Logging Fix

Das Loglevel 2 (Debug) und 3 (Trace) zeigten keine zusätzlichen Informationen, weil die V-Levels in controller-runtime falsch gemappt wurden.

Problem: - Controller verwenden logger.V(1).Info(...) für Debug-Logs - V-Levels brauchen negative Zap-Levels (nicht zapcore.DebugLevel)

Fix - Neues Mapping:

Polycrate Loglevel Sichtbare Logs
1 (Info) Nur Info-Meldungen
2 (Debug) Info + Debug (V(1)) ✅
3+ (Trace) Info + Debug + Trace (V(2)) ✅

Konfiguration:

blocks:
  - name: polycrate-operator
    config:
      loglevel: 2  # Debug-Logs jetzt sichtbar!

Operator Konfiguration


polycrate-operator Block

Der polycrate-operator Block wurde auf Version 0.3.20 aktualisiert:

polycrate pull cargo.ayedo.cloud/ayedo/k8s/polycrate-operator
polycrate run polycrate-operator install

Änderungen: - Health-Probes werden vor Controller-Setup registriert - Operator überlebt langsame Startups - V-Level Logging funktioniert korrekt


Artefakte

Docker Images

# Standard-Image
docker pull cargo.ayedo.cloud/library/polycrate:0.29.12

# Rootless-Image (empfohlen für Operator)
docker pull cargo.ayedo.cloud/library/polycrate:0.29.12-rootless

CLI Downloads

Plattform Architektur Download
Linux amd64 Download
Linux arm64 Download
macOS amd64 Download
macOS arm64 Download

Installation & Update

polycrate update 0.29.12

Installationsanleitung


Abhängigkeiten

  • polycrate-api 0.11.21+: Erforderlich für Organizations/Workspaces UUID-Array Filter