]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/rook: bump prometheus-operator to v0.90.1 and use server-side apply
authorDavid Galloway <david.galloway@ibm.com>
Fri, 27 Mar 2026 01:17:20 +0000 (21:17 -0400)
committerDavid Galloway <david.galloway@ibm.com>
Fri, 27 Mar 2026 12:57:53 +0000 (08:57 -0400)
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 <david.galloway@ibm.com>
src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh

index b0c33cc0ad8869367ec3b4134a7945e3b974f2ae..a18f84d488232b3e34726cd5fd5987e1defb4680 100755 (executable)
@@ -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