This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Script { | |
process_incoming_request({ request }) { | |
console.log(request.content); | |
return { | |
content:{ | |
"text": request.content.message, | |
"attachments": [{ | |
"author_name": "Grafana", | |
"image_url": request.content.imageUrl, | |
"title": request.content.title |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lets assume you want to get rid of OSD.2, and none of the "nice" ways worked. | |
- Determine the node where the OSD daemon is running (`kubectl -n rook-ceph get pods -o wide|grep osd.2`) | |
- Enter the toolbox pod, run `ceph osd out 2` | |
- Wait for the cluster to migrate the data away (`ceph status -w`) | |
- Delete the Rook deployment for OSD 2. | |
- Enter the toolbox pod, run: | |
- ceph osd crush remove osd.2 | |
- ceph auth del osd.2 | |
- ceph osd rm 2 |
OlderNewer