Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-09 00:20:24 +00:00
parent 3be72c1548
commit 388ec4ec4c
73 changed files with 294 additions and 96 deletions

33
tldr/elasticsearch-node Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# elasticsearch-node
> Manage low-level Elasticsearch node operations such as shutdown, repurpose, or viewing info.
> More information: <https://www.elastic.co/docs/reference/elasticsearch/command-line-tools/node-tool>.
- Display information about the current node:
`elasticsearch-node info`
- Prepare the node for a full cluster restart (e.g., after upgrading):
`elasticsearch-node unsafe-bootstrap`
- Repurpose a node for a different role (e.g., from master to data node):
`elasticsearch-node repurpose`
- List the roles assigned to the node:
`elasticsearch-node roles`
- Show the installed JVM version, Elasticsearch home path, and other diagnostic information:
`elasticsearch-node diagnostics`
- Display help:
`elasticsearch-node {{[-h|--help]}}`