Skip to content

[Backport 8.x] [DOCS] Edit node lifecycle summaries #3325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 24 additions & 9 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions specification/shutdown/delete_node/ShutdownDeleteNodeRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,18 @@ import { NodeId } from '@_types/common'
import { TimeUnit } from '@_types/Time'

/**
* Cancel node shutdown preparations.
* Remove a node from the shutdown list so it can resume normal operations.
* You must explicitly clear the shutdown request when a node rejoins the cluster or when a node has permanently left the cluster.
* Shutdown requests are never removed automatically by Elasticsearch.
*
* NOTE: This feature is designed for indirect use by Elastic Cloud, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes.
* Direct use is not supported.
*
* If the operator privileges feature is enabled, you must be an operator to use this API.
* @rest_spec_name shutdown.delete_node
* @availability stack since=7.13.0 stability=stable
* @cluster_privileges manage
*/
export interface Request extends RequestBase {
path_parts: {
Expand Down
9 changes: 9 additions & 0 deletions specification/shutdown/get_node/ShutdownGetNodeRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,17 @@ import { NodeIds } from '@_types/common'
import { TimeUnit } from '@_types/Time'

/**
* Get the shutdown status.
*
* Get information about nodes that are ready to be shut down, have shut down preparations still in progress, or have stalled.
* The API returns status information for each part of the shut down process.
*
* NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
*
* If the operator privileges feature is enabled, you must be an operator to use this API.
* @rest_spec_name shutdown.get_node
* @availability stack since=7.13.0 stability=stable
* @cluster_privileges manage
*/
export interface Request extends RequestBase {
path_parts: {
Expand Down
15 changes: 15 additions & 0 deletions specification/shutdown/put_node/ShutdownPutNodeRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,23 @@ import { TimeUnit } from '@_types/Time'
import { Type } from '../_types/types'

/**
* Prepare a node to be shut down.
*
* NOTE: This feature is designed for indirect use by Elastic Cloud, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
*
* If the operator privileges feature is enabled, you must be an operator to use this API.
*
* The API migrates ongoing tasks and index shards to other nodes as needed to prepare a node to be restarted or shut down and removed from the cluster.
* This ensures that Elasticsearch can be stopped safely with minimal disruption to the cluster.
*
* You must specify the type of shutdown: `restart`, `remove`, or `replace`.
* If a node is already being prepared for shutdown, you can use this API to change the shutdown type.
*
* IMPORTANT: This API does NOT terminate the Elasticsearch process.
* Monitor the node shutdown status to determine when it is safe to stop Elasticsearch.
* @rest_spec_name shutdown.put_node
* @availability stack since=7.13.0 stability=stable
* @cluster_privileges manage
*/
export interface Request extends RequestBase {
path_parts: {
Expand Down
Loading