/clusters/{clusterName}/commands/restart
Mount Point: /api/v16/clusters/{clusterName}/commands/restart
POST
Restart all services in the cluster.
Services are stopped then started in the appropriate order given their dependencies. The command can optionally restart only stale services and their dependencies as well as redeploy client configuration on all services in the cluster.
Parameters
name | description | type | default |
---|---|---|---|
clusterName | The name of the cluster. | path |
Request Body
element: | restartClusterArgs |
arguments for the restart command.
Response Body
element: | command |
Information about the submitted command.
POST
Restart all services in the cluster.
Services are restarted in the appropriate order given their dependencies.
Parameters
name | description | type | default |
---|---|---|---|
clusterName | The name of the cluster. | path |
Response Body
element: | command |
Information about the submitted command.