The Rook Krew plugin is a tool to help troubleshoot your Rook cluster. Here are a few of the operations that the plugin will assist with: - Health of the Rook pods - Health of the Ceph cluster - Create "debug" pods for mons and OSDs that are in need of special Ceph maintenance operations - Restart the operator - Purge an OSD - Run any
See the kubectl-rook-ceph documentation for more details.
- Install Krew
- Install Rook plugin
- Run any
kubectl rook-ceph ceph <args>. For example, get the Ceph status:
Reference: Ceph Status
Debug mode can be useful when a MON or OSD needs advanced maintenance operations that require the daemon to be stopped. Ceph tools such as
ceph-monstore-tool are commonly used in these scenarios. Debug mode will set up the MON or OSD so that these commands can be run.
Start the debug pod for mon b
Stop the debug pod for mon b
Reference: Debug Mode