Cluster Rolling 재시작 사전 체크
    • PDF

    Cluster Rolling 재시작 사전 체크

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    설명

    Cloud Data Streaming Service의 Cluster 노드 전체를 순차적으로 재시작 전 가능 여부를 체크합니다.

    주의

    롤링 재시작 중 데이터 유실이나 간헐적인 순단이 발생할 수 있습니다.

    요청

    요청 URL

    POST https://fin-clouddatastreamingservice.apigw.fin-ntruss.com/api/v1/cluster/rollingRestartPreCheck
    

    요청 헤더

    헤더명설명
    x-ncp-apigw-timestamp- 1970년 1월 1일 00:00:00 협정 세계시(UTC)부터의 경과 시간을 밀리초(Millisecond)로 나타냄
    - API Gateway 서버와 시간 차가 5분 이상 나는 경우 유효하지 않은 요청으로 간주
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-iam-access-key네이버 클라우드 플랫폼 포털에서 발급받은 Access Key ID 값
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v2Access Key ID 값과 Secret Key로 암호화한 서명
    x-ncp-apigw-signature-v2:{API Gateway Signature}
    Content-TypeRequest body content type을 application/json으로 지정
    Content-Type: application/json

    요청 파라미터

    파라미터타입필수 여부설명
    serviceGroupInstanceNoIntegerY롤링을 재시작할 Cluster 번호

    요청 예시

    POST https://fin-clouddatastreamingservice.apigw.fin-ntruss.com/api/v1/cluster/rollingRestartPreCheck
    HOST: fin-clouddatastreamingservice.apigw.fin-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://fin-clouddatastreamingservice.apigw.fin-ntruss.com/api/v1/cluster/rollingRestartPreCheck' \
      -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
    }'
    

    응답 예시

    {
      "code": 0,
      "message": "SUCCESS",
      "result": true,
      "requestId": "ec3559a4-00c8-42c7-ac87-6a60ba4df08e"
    }
    

    오류 응답 예시

    {
      "code": 3,
      "message": "Invalid Service Group Instance No",
      "result": null,
      "requestId": "eaec909c-0ec0-435d-a4b4-7c1055ef695a"
    }
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.