View Rolling Upgrade progress status
- Print
- PDF
View Rolling Upgrade progress status
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Description
View the cluster progress status during rolling upgrading of the Cloud Data Streaming Service.
Requests
Request URL
POST https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/rollingUpgradeProgressCheck [KR]
POST https://clouddatastreamingservice.apigw.ntruss.com/api/sgn-v1/cluster/rollingUpgradeProgressCheck [SGN]
POST https://clouddatastreamingservice.apigw.ntruss.com/api/jpn-v1/cluster/rollingUpgradeProgressCheck [JPN]
Request headers
Header name | Description |
---|---|
x-ncp-apigw-timestamp | - This is the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 (UTC) - If the time difference compared to the API Gateway server is more than 5 minutes, the request is considered invalid x-ncp-apigw-timestamp:{Timestamp} |
x-ncp-iam-access-key | Value of access key ID issued from NAVER Cloud Platform portalx-ncp-iam-access-key:{Account Access Key} |
x-ncp-apigw-signature-v2 | Signature encrypted with the access key ID value and secret keyx-ncp-apigw-signature-v2:{API Gateway Signature} |
Content-Type | Specify the request body content type as application/jsonContent-Type: application/json |
Request parameters
Parameter | Type | Required | Description |
---|---|---|---|
serviceGroupInstanceNo | Integer | Y | Cluster number to view the upgrade status |
Request examples
POST https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/rollingUpgradeProgressCheck
HOST: clouddatastreamingservice.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: fC/exK+2vx8RSdIWAOePNakOOCp3BO3qy8XHzso15gI=
x-ncp-apigw-timestamp: 1709716893293
x-ncp-iam-access-key: ANJNnR1jz1gUzaiS0aV2
{
"serviceGroupInstanceNo": 3432149
}
curl -X 'POST' \
'https://clouddatastreamingservice.beta-apigw.ntruss.com/api/v1/cluster/rollingUpgradeProgressCheck' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-ncp-iam-access-key: ANJNnR1jz1gUzaiS0aV2' \
-H 'x-ncp-apigw-timestamp: 1709716893293' \
-H 'x-ncp-apigw-signature-v2: fC/exK+2vx8RSdIWAOePNakOOCp3BO3qy8XHzso15gI=' \
-d '{
"serviceGroupInstanceNo": 3432149
}'
Responses
Response parameters
public class GetClusterStatusPerNodeResponseVo {
String clusterName;
Integer brokerNodeTotalNumber;
String brokerStatus;
List<ProcessStatusVo> brokerStatusPerNode;
Integer zookeeperTotalNumber;
String zookeeperStatus;
List<ProcessStatusVo> zookeeperStatusPerNode;
String cmakStatus;
}
public class ProcessStatusVo {
String hostname;
String status;
}
Field
Parameter name | Type | Description |
---|---|---|
clusterName | String | Cluster name |
brokerNodeTotalNumber | Integer | Total number of broker nodes |
brokerStatus | String | Overall status average of broker nodes |
brokerStatusPerNode | List<ProcessStatusVo> | Lists of broker nodes details |
zookeeperTotalNumber | Integer | Total number of zookeeper nodes |
zookeeperStatus | String | Overall status average of zookeeper nodes |
zookeeperStatusPerNode | List<ProcessStatusVo> | Lists of zookeeper nodes details |
cmakStatus | String | CMAK service status |
ProcessStatusVo<hostname> | String | Host name of nodes |
ProcessStatusVo<status> | String | Detailed status of nodes |
Response examples
{
"code": 0,
"message": "SUCCESS",
"result": {
"clusterName": "upgrade",
"brokerNodeTotalNumber": 3,
"brokerNumber": 0,
"brokerStatus": "green",
"brokerStatusPerNode": [
{
"hostname": "upgrade-b-1m11",
"status": "changing"
},
{
"hostname": "upgrade-b-1m12",
"status": "orange"
},
{
"hostname": "upgrade-b-1m13",
"status": "changing"
}
],
"zookeeperTotalNumber": 3,
"zookeeperNumber": 3,
"zookeeperStatus": "green",
"zookeeperStatusPerNode": [
{
"hostname": "upgrade-b-1m11",
"status": "green"
},
{
"hostname": "upgrade-b-1m12",
"status": "green"
},
{
"hostname": "upgrade-b-1m13",
"status": "green"
}
],
"cmakStatus": "green"
},
"requestId": "5c2d117d-8d3e-41a3-bb95-95a58d4caa0d"
}
Was this article helpful?