From 1212915951a2c3b2257d403449c3390854839782 Mon Sep 17 00:00:00 2001 From: Tim Olow Date: Wed, 6 Mar 2024 11:11:51 -0600 Subject: [PATCH] Update Create-Persistent-Storage.md for rook-ceph prometheus (#113) Add patch for prometheus and rook-ceph --- docs/Create-Persistent-Storage.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/Create-Persistent-Storage.md b/docs/Create-Persistent-Storage.md index dd1d21dd..dc109e96 100644 --- a/docs/Create-Persistent-Storage.md +++ b/docs/Create-Persistent-Storage.md @@ -50,7 +50,12 @@ Once the rook cluster is online with a HEALTH status of `HEALTH_OK`, deploy the ``` shell kubectl apply -k /opt/genestack/kustomize/rook-defaults ``` - +> [!IMPORTANT] +> If installing prometheus after rook-ceph is installed, you may patch a running rook-ceph cluster with the following command: +``` shell +kubectl -n rook-ceph patch CephCluster rook-ceph --type=merge -p "{\"spec\": {\"monitoring\": {\"enabled\": true}}}" +``` +Ensure you have 'servicemonitors' defined in the rook-ceph namespace. ## Cephadm/ceph-ansible/Rook (Ceph) - External