docs
api
UK8S Service(UK8S)
DelUK8SClusterNodeV2

Delete Node node - DelUK8SClusterNodeV2

Overview

Remove the Node node from the cluster, and make sure to evict the Pod in it before deletion.

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DelUK8SClusterNodeV2.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
ProjectIdstringProject ID. If not filled in, the default project will be used. Sub-accounts must fill in. Please refer to the GetProjectList interfaceNo
RegionstringRegion. See List of Regions and Availability Zones
Yes
ClusterIdstringUK8S Cluster ID. Can be obtained from the UK8S console.
Yes
NodeIdstringThe unique identifier of the Node in UK8S, such as uk8s-reewqe5-sdasadsda. Not the resource Id of UHost or physical UHostYes
ReleaseDataUDiskbooleanWhether to release the data disk when deleting a node. Enumeration value [true: release, false: do not release], the default is true.No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No

Example

Request Example

https://api.surfercloud.com/?Action=DelUK8SClusterNodeV2
&ProjectId=Mnrabzut
&Region=wvsgqKEY
&ClusterId=IJeDHQLE
&Name=cXwAudcP
&NodeId=phbIHHoH
&ReleaseDataUDisk=false

Response Example

{
  "Action": "DelUK8SClusterNodeV2Response",
  "Message": "MNTqlFPZ",
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved