From: David Galloway Date: Fri, 27 Mar 2026 01:17:20 +0000 (-0400) Subject: mgr/rook: bump prometheus-operator to v0.90.1 and use server-side apply X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7674258190f24636d980bb9b6f54464e8656f3ba;p=ceph.git mgr/rook: bump prometheus-operator to v0.90.1 and use server-side apply v0.40.0 was too old and its pod failed to become ready in time. v0.90.1 CRDs exceed kubectl's 262144-byte annotation limit for client-side apply, so switch to --server-side. Signed-off-by: David Galloway --- diff --git a/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh b/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh index b0c33cc0ad88..a18f84d48823 100755 --- a/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh +++ b/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh @@ -190,7 +190,7 @@ enable_rook_orchestrator() { enable_monitoring() { echo "Enabling monitoring" - $KUBECTL apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/v0.40.0/bundle.yaml + $KUBECTL apply --server-side -f https://raw.githubusercontent.com/coreos/prometheus-operator/v0.90.1/bundle.yaml $KUBECTL wait --for=condition=ready pod -l app.kubernetes.io/name=prometheus-operator --timeout=90s $KUBECTL apply -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/monitoring/rbac.yaml $KUBECTL apply -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/monitoring/service-monitor.yaml