@alicloud/cs20151215 7.2.0 → 7.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +274 -276
- package/dist/client.js +277 -316
- package/dist/client.js.map +1 -1
- package/dist/models/Addon.d.ts +4 -4
- package/dist/models/AttachInstancesRequest.d.ts +18 -17
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +3 -3
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +1 -1
- package/dist/models/CheckServiceRoleResponseBody.d.ts +2 -2
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -0
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +9 -9
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +31 -31
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +3 -3
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +65 -60
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +414 -180
- package/dist/models/CreateClusterRequest.js +2 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +7 -8
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +5 -8
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +43 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +9 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +6 -6
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- package/dist/models/DeleteAlertContactGroupRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactGroupResponse.d.ts +5 -5
- package/dist/models/DeleteAlertContactGroupShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +2 -2
- package/dist/models/DeleteClusterNodesRequest.d.ts +8 -8
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +11 -11
- package/dist/models/DeleteClusterShrinkRequest.d.ts +7 -7
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +20 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +9 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -1
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +20 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +3 -3
- package/dist/models/DescribeAddonRequest.d.ts +16 -6
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +3 -1
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +2 -2
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +14 -14
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +7 -7
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +15 -15
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +92 -95
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +9 -1
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +29 -25
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +5 -5
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +234 -282
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +99 -99
- package/dist/models/DescribeClusterNodesRequest.d.ts +17 -8
- package/dist/models/DescribeClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +34 -41
- package/dist/models/DescribeClusterNodesResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +2 -2
- package/dist/models/DescribeClusterResourcesResponse.d.ts +37 -37
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +6 -15
- package/dist/models/DescribeClusterVulsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +6 -6
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +11 -11
- package/dist/models/DescribeClustersRequest.d.ts +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +20 -23
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +56 -58
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +10 -2
- package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +6 -2
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +21 -21
- package/dist/models/DescribeEventsResponseBody.d.ts +23 -23
- package/dist/models/DescribeExternalAgentRequest.d.ts +7 -6
- package/dist/models/DescribeExternalAgentRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +18 -18
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +11 -11
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +2 -2
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +8 -8
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +34 -31
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesResponse.d.ts +19 -19
- package/dist/models/DescribePolicyInstancesStatusResponseBody.d.ts +4 -4
- package/dist/models/DescribeRegionsRequest.d.ts +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionRequest.d.ts +4 -4
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +3 -3
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +1 -2
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.js.map +1 -1
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +21 -17
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +2 -2
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +15 -15
- package/dist/models/DescribeTemplatesRequest.d.ts +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +9 -9
- package/dist/models/DescribeTriggerResponse.d.ts +12 -12
- package/dist/models/DescribeUserPermissionResponse.d.ts +21 -21
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/DiskInit.d.ts +22 -0
- package/dist/models/DiskInit.js.map +1 -1
- package/dist/models/FixNodePoolVulsRequest.d.ts +2 -1
- package/dist/models/FixNodePoolVulsRequest.js.map +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +7 -7
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +1 -1
- package/dist/models/GetClusterCheckResponseBody.d.ts +1 -1
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +6 -6
- package/dist/models/GetClusterInspectReportDetailRequest.d.ts +8 -8
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +19 -19
- package/dist/models/GetKubernetesTriggerRequest.d.ts +5 -11
- package/dist/models/GetKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/GetKubernetesTriggerResponse.d.ts +4 -8
- package/dist/models/GetKubernetesTriggerResponse.js.map +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +8 -8
- package/dist/models/GrantPermissionsRequest.d.ts +4 -5
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +8 -8
- package/dist/models/InstanceMetadataOptions.d.ts +7 -7
- package/dist/models/KubeletConfig.d.ts +39 -33
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ListAddonsRequest.d.ts +2 -2
- package/dist/models/ListAddonsResponseBody.d.ts +2 -2
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +17 -17
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +3 -3
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +2 -2
- package/dist/models/ListClusterChecksRequest.d.ts +5 -5
- package/dist/models/ListClusterChecksResponseBody.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsRequest.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsResponseBody.d.ts +6 -6
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +10 -8
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +24 -24
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +15 -0
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +40 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +15 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +6 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +39 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentsRequest.d.ts +21 -0
- package/dist/models/ListNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +19 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +21 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +3 -3
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +6 -6
- package/dist/models/ListOperationPlansResponseBody.d.ts +4 -4
- package/dist/models/ListTagResourcesRequest.d.ts +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +1 -1
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +3 -3
- package/dist/models/MaintenanceWindow.d.ts +69 -15
- package/dist/models/MaintenanceWindow.js +33 -1
- package/dist/models/MaintenanceWindow.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +8 -8
- package/dist/models/ModifyAutoRepairPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +255 -80
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +62 -62
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +5 -5
- package/dist/models/Nodepool.d.ts +176 -175
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/QuotasValue.d.ts +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +2 -2
- package/dist/models/RepairClusterNodePoolRequest.d.ts +9 -9
- package/dist/models/RunClusterCheckRequest.d.ts +1 -1
- package/dist/models/RunNodeOperationRequest.d.ts +6 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -1
- package/dist/models/RunNodeOperationResponseBody.d.ts +9 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -1
- package/dist/models/Runtime.d.ts +7 -9
- package/dist/models/Runtime.js.map +1 -1
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +6 -6
- package/dist/models/StopAlertResponseBody.d.ts +2 -1
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/Tag.d.ts +2 -2
- package/dist/models/TagResourcesRequest.d.ts +1 -1
- package/dist/models/Taint.d.ts +7 -5
- package/dist/models/Taint.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +2 -2
- package/dist/models/UntagResourcesShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +1 -1
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +2 -2
- package/dist/models/UpdateKmsencryptionRequest.d.ts +4 -4
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +43 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +9 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +6 -6
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +1 -1
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +8 -8
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +4 -4
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +5 -5
- package/dist/models/UpgradeClusterRequest.d.ts +7 -6
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +18 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +278 -316
- package/src/models/Addon.ts +4 -4
- package/src/models/AttachInstancesRequest.ts +18 -17
- package/src/models/AttachInstancesToNodePoolRequest.ts +3 -3
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +1 -1
- package/src/models/CheckServiceRoleResponseBody.ts +2 -2
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -0
- package/src/models/CreateAutoRepairPolicyRequest.ts +9 -9
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +1 -1
- package/src/models/CreateAutoscalingConfigRequest.ts +31 -31
- package/src/models/CreateClusterDiagnosisRequest.ts +3 -3
- package/src/models/CreateClusterInspectConfigRequest.ts +1 -1
- package/src/models/CreateClusterNodePoolRequest.ts +65 -60
- package/src/models/CreateClusterRequest.ts +416 -180
- package/src/models/CreateKubernetesTriggerRequest.ts +7 -8
- package/src/models/CreateKubernetesTriggerResponseBody.ts +5 -8
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +43 -0
- package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +9 -0
- package/src/models/CreateTemplateRequest.ts +6 -6
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/DeleteAlertContactGroupRequest.ts +1 -1
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteAlertContactGroupShrinkRequest.ts +1 -1
- package/src/models/DeleteClusterNodepoolRequest.ts +2 -2
- package/src/models/DeleteClusterNodesRequest.ts +8 -8
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +11 -11
- package/src/models/DeleteClusterShrinkRequest.ts +7 -7
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +20 -0
- package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +9 -0
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +20 -0
- package/src/models/DeployPolicyInstanceRequest.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +16 -6
- package/src/models/DescribeAddonsRequest.ts +3 -1
- package/src/models/DescribeAddonsResponseBody.ts +2 -2
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +14 -14
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +7 -7
- package/src/models/DescribeClusterAttachScriptsRequest.ts +15 -15
- package/src/models/DescribeClusterDetailResponseBody.ts +92 -95
- package/src/models/DescribeClusterEventsRequest.ts +9 -1
- package/src/models/DescribeClusterEventsResponseBody.ts +29 -25
- package/src/models/DescribeClusterLogsResponse.ts +5 -5
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +234 -282
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +99 -99
- package/src/models/DescribeClusterNodesRequest.ts +17 -8
- package/src/models/DescribeClusterNodesResponseBody.ts +34 -41
- package/src/models/DescribeClusterResourcesRequest.ts +2 -2
- package/src/models/DescribeClusterResourcesResponse.ts +37 -37
- package/src/models/DescribeClusterVulsResponseBody.ts +6 -15
- package/src/models/DescribeClustersForRegionRequest.ts +6 -6
- package/src/models/DescribeClustersForRegionResponseBody.ts +11 -11
- package/src/models/DescribeClustersRequest.ts +1 -1
- package/src/models/DescribeClustersV1request.ts +20 -23
- package/src/models/DescribeClustersV1responseBody.ts +56 -58
- package/src/models/DescribeEventsForRegionRequest.ts +10 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +6 -2
- package/src/models/DescribeEventsRequest.ts +21 -21
- package/src/models/DescribeEventsResponseBody.ts +23 -23
- package/src/models/DescribeExternalAgentRequest.ts +7 -6
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +18 -18
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +11 -11
- package/src/models/DescribeNodePoolVulsRequest.ts +2 -2
- package/src/models/DescribeNodePoolVulsResponseBody.ts +1 -1
- package/src/models/DescribePolicyDetailsResponseBody.ts +8 -8
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +34 -31
- package/src/models/DescribePolicyInstancesResponse.ts +19 -19
- package/src/models/DescribePolicyInstancesStatusResponseBody.ts +4 -4
- package/src/models/DescribeRegionsRequest.ts +1 -1
- package/src/models/DescribeRegionsResponseBody.ts +1 -1
- package/src/models/DescribeResourcesDeleteProtectionRequest.ts +4 -4
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +3 -3
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +1 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +21 -17
- package/src/models/DescribeTemplateAttributeRequest.ts +2 -2
- package/src/models/DescribeTemplateAttributeResponse.ts +15 -15
- package/src/models/DescribeTemplatesRequest.ts +1 -1
- package/src/models/DescribeTemplatesResponseBody.ts +9 -9
- package/src/models/DescribeTriggerResponse.ts +12 -12
- package/src/models/DescribeUserPermissionResponse.ts +21 -21
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/DiskInit.ts +22 -0
- package/src/models/FixNodePoolVulsRequest.ts +2 -1
- package/src/models/GetClusterAddonInstanceResponseBody.ts +7 -7
- package/src/models/GetClusterAuditProjectResponseBody.ts +1 -1
- package/src/models/GetClusterCheckResponseBody.ts +1 -1
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +6 -6
- package/src/models/GetClusterInspectReportDetailRequest.ts +8 -8
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +19 -19
- package/src/models/GetKubernetesTriggerRequest.ts +5 -11
- package/src/models/GetKubernetesTriggerResponse.ts +4 -8
- package/src/models/GetUpgradeStatusResponseBody.ts +8 -8
- package/src/models/GrantPermissionsRequest.ts +4 -5
- package/src/models/InstallNodePoolComponentsRequest.ts +8 -8
- package/src/models/InstanceMetadataOptions.ts +9 -9
- package/src/models/KubeletConfig.ts +39 -33
- package/src/models/ListAddonsRequest.ts +2 -2
- package/src/models/ListAddonsResponseBody.ts +2 -2
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +17 -17
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +3 -3
- package/src/models/ListClusterAddonInstancesResponseBody.ts +2 -2
- package/src/models/ListClusterChecksRequest.ts +5 -5
- package/src/models/ListClusterChecksResponseBody.ts +1 -1
- package/src/models/ListClusterInspectReportsRequest.ts +1 -1
- package/src/models/ListClusterInspectReportsResponseBody.ts +6 -6
- package/src/models/ListClusterKubeconfigStatesRequest.ts +10 -8
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +24 -24
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +15 -0
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +40 -0
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +15 -0
- package/src/models/ListNodePoolComponentInstancesRequest.ts +6 -0
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +39 -0
- package/src/models/ListNodePoolComponentsRequest.ts +21 -0
- package/src/models/ListNodePoolComponentsResponseBody.ts +19 -0
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +21 -0
- package/src/models/ListOperationPlansForRegionRequest.ts +3 -3
- package/src/models/ListOperationPlansForRegionResponseBody.ts +6 -6
- package/src/models/ListOperationPlansResponseBody.ts +4 -4
- package/src/models/ListTagResourcesRequest.ts +1 -1
- package/src/models/ListTagResourcesResponseBody.ts +1 -1
- package/src/models/ListTagResourcesShrinkRequest.ts +1 -1
- package/src/models/ListUserKubeConfigStatesRequest.ts +1 -1
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +3 -3
- package/src/models/MaintenanceWindow.ts +92 -15
- package/src/models/ModifyAutoRepairPolicyRequest.ts +8 -8
- package/src/models/ModifyAutoRepairPolicyResponseBody.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +255 -80
- package/src/models/ModifyClusterRequest.ts +62 -62
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +1 -1
- package/src/models/ModifyPolicyInstanceRequest.ts +5 -5
- package/src/models/Nodepool.ts +176 -175
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/QuotasValue.ts +1 -1
- package/src/models/RemoveNodePoolNodesRequest.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +2 -2
- package/src/models/RepairClusterNodePoolRequest.ts +9 -9
- package/src/models/RunClusterCheckRequest.ts +1 -1
- package/src/models/RunNodeOperationRequest.ts +6 -0
- package/src/models/RunNodeOperationResponseBody.ts +9 -0
- package/src/models/Runtime.ts +7 -9
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/StandardComponentsValue.ts +6 -6
- package/src/models/StopAlertResponseBody.ts +2 -1
- package/src/models/Tag.ts +2 -2
- package/src/models/TagResourcesRequest.ts +1 -1
- package/src/models/Taint.ts +7 -5
- package/src/models/UntagResourcesRequest.ts +2 -2
- package/src/models/UntagResourcesShrinkRequest.ts +2 -2
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +1 -1
- package/src/models/UpdateControlPlaneLogRequest.ts +1 -1
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +2 -2
- package/src/models/UpdateKmsencryptionRequest.ts +4 -4
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +43 -0
- package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +9 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +6 -6
- package/src/models/UpdateNodePoolComponentResponseBody.ts +1 -1
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +1 -1
- package/src/models/UpdateUserPermissionsRequest.ts +8 -8
- package/src/models/UpgradeClusterAddonsRequest.ts +4 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +5 -5
- package/src/models/UpgradeClusterRequest.ts +7 -6
- package/src/models/model.ts +1 -0
package/src/models/Addon.ts
CHANGED
|
@@ -13,10 +13,10 @@ export class Addon extends $dara.Model {
|
|
|
13
13
|
config?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Specifies whether to disable
|
|
16
|
+
* Specifies whether to disable default installation. When a cluster is created, required components and additional components such as log components are installed by default. You can disable this default behavior and install these components later by calling the component installation API or by using the console. Valid values:
|
|
17
17
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* - `true`: Disables default installation.
|
|
19
|
+
* - `false`: Allows default installation.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* false
|
|
@@ -24,7 +24,7 @@ export class Addon extends $dara.Model {
|
|
|
24
24
|
disabled?: boolean;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The component
|
|
27
|
+
* The name of the component.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* nginx-ingress-controller
|
|
@@ -7,7 +7,7 @@ import { Tag } from "./Tag";
|
|
|
7
7
|
export class AttachInstancesRequest extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The CPU management policy of the node. The following policies are supported for clusters
|
|
10
|
+
* The CPU management policy of the node. The following policies are supported for clusters running version 1.12.6 or later:
|
|
11
11
|
*
|
|
12
12
|
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
13
13
|
* - `none`: Uses the existing default CPU affinity scheme.
|
|
@@ -33,9 +33,9 @@ export class AttachInstancesRequest extends $dara.Model {
|
|
|
33
33
|
*
|
|
34
34
|
* Data cloud disk mounting rules:
|
|
35
35
|
*
|
|
36
|
-
* - If the ECS instance has data cloud disks
|
|
37
|
-
* - If the ECS instance
|
|
38
|
-
* > If you choose to store data on a data cloud disk and the ECS instance already has data cloud disks
|
|
36
|
+
* - If the ECS instance has data cloud disks attached and the file system of the last data cloud disk is not initialized, the system automatically formats the data cloud disk to EXT4. The data cloud disk is then used to store the content of /var/lib/docker and /var/lib/kubelet, which are the default data directories for the Docker container runtime and the kubelet component, respectively.
|
|
37
|
+
* - If the ECS instance does not have data cloud disks attached, no new data cloud disk is mounted.
|
|
38
|
+
* > If you choose to store data on a data cloud disk and the ECS instance already has data cloud disks attached, the existing data on the data cloud disk will be lost. Back up your data in advance.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* false
|
|
@@ -64,7 +64,7 @@ export class AttachInstancesRequest extends $dara.Model {
|
|
|
64
64
|
instances?: string[];
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Specifies whether the node to be added is an edge node,
|
|
67
|
+
* Specifies whether the node to be added is an edge node, which is an Edge Node Service (ENS) node. Valid values:
|
|
68
68
|
*
|
|
69
69
|
* - `true`: The node to be added is an edge node.
|
|
70
70
|
*
|
|
@@ -94,7 +94,8 @@ export class AttachInstancesRequest extends $dara.Model {
|
|
|
94
94
|
keepInstanceName?: boolean;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The name of the key pair for the instances to be added.
|
|
97
|
+
* The name of the key pair for the instances to be added.
|
|
98
|
+
* You need to specify only one of key_pair and password, or you can leave both parameters empty.
|
|
98
99
|
* > After you specify `nodepool_id`, this parameter is not supported.
|
|
99
100
|
*
|
|
100
101
|
* @example
|
|
@@ -111,14 +112,14 @@ export class AttachInstancesRequest extends $dara.Model {
|
|
|
111
112
|
nodepoolId?: string;
|
|
112
113
|
/**
|
|
113
114
|
* @remarks
|
|
114
|
-
* The SSH logon password for the instances to be added.
|
|
115
|
+
* The SSH logon password for the instances to be added. You need to specify only one of key_pair and password, or you can leave both parameters empty.
|
|
115
116
|
*
|
|
116
117
|
* The password must meet the following requirements:
|
|
117
118
|
* - The password must be 8 to 30 characters in length.
|
|
118
|
-
* - The password must contain uppercase letters, lowercase letters, digits, and special characters
|
|
119
|
+
* - The password must contain at least uppercase letters, lowercase letters, digits, and special characters.
|
|
119
120
|
* - The password cannot contain backslashes (\\) or double quotation marks (").
|
|
120
121
|
*
|
|
121
|
-
*
|
|
122
|
+
* For security purposes, the password is encrypted during transmission.
|
|
122
123
|
*
|
|
123
124
|
* @example
|
|
124
125
|
* Hello1234
|
|
@@ -134,27 +135,27 @@ export class AttachInstancesRequest extends $dara.Model {
|
|
|
134
135
|
* The container runtime.
|
|
135
136
|
* > After you specify `nodepool_id`, this parameter is not supported.
|
|
136
137
|
*
|
|
137
|
-
* name:
|
|
138
|
+
* name: the name of the container runtime. ACK supports the following three container runtimes:
|
|
138
139
|
*
|
|
139
140
|
* - containerd: Recommended. Supported by all cluster versions.
|
|
140
|
-
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supported by clusters
|
|
141
|
-
* - docker: Supported by clusters
|
|
141
|
+
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supported by clusters running version 1.24 or earlier.
|
|
142
|
+
* - docker: Supported by clusters running version 1.22 or earlier.
|
|
142
143
|
*
|
|
143
144
|
* Default value: containerd.
|
|
144
145
|
*
|
|
145
|
-
* containerd:
|
|
146
|
+
* containerd: the container runtime version. Default value: the latest version.
|
|
146
147
|
*
|
|
147
|
-
* For more information about changes to the sandboxed container runtime, see [
|
|
148
|
+
* For more information about changes to the sandboxed container runtime, see [Sandboxed container runtime release notes](https://help.aliyun.com/document_detail/160312.html).
|
|
148
149
|
*/
|
|
149
150
|
runtime?: Runtime;
|
|
150
151
|
/**
|
|
151
152
|
* @remarks
|
|
152
153
|
* The node labels. Label definition rules:
|
|
153
154
|
*
|
|
154
|
-
* - Labels are case-sensitive key-value pairs. You can
|
|
155
|
+
* - Labels are case-sensitive key-value pairs. You can configure up to 20 labels.
|
|
155
156
|
* - Label keys cannot be duplicate and can be up to 64 characters in length.
|
|
156
157
|
* - Label values can be empty and can be up to 128 characters in length.
|
|
157
|
-
* - Label keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`.
|
|
158
|
+
* - Label keys and label values cannot start with `aliyun`, `acs:`, `https://`, or `http://`.
|
|
158
159
|
*
|
|
159
160
|
* For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
160
161
|
* > After you specify `nodepool_id`, this parameter is not supported.
|
|
@@ -162,7 +163,7 @@ export class AttachInstancesRequest extends $dara.Model {
|
|
|
162
163
|
tags?: Tag[];
|
|
163
164
|
/**
|
|
164
165
|
* @remarks
|
|
165
|
-
* The
|
|
166
|
+
* The node user data. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
166
167
|
*
|
|
167
168
|
* > After you specify `nodepool_id`, this parameter is not supported.
|
|
168
169
|
*
|
|
@@ -16,9 +16,9 @@ export class AttachInstancesToNodePoolRequest extends $dara.Model {
|
|
|
16
16
|
*
|
|
17
17
|
* Data cloud disk mounting rules:
|
|
18
18
|
*
|
|
19
|
-
* - If the ECS instance has data cloud disks
|
|
20
|
-
* - If the ECS instance has no data cloud disks
|
|
21
|
-
* >
|
|
19
|
+
* - If the ECS instance has data cloud disks mounted and the file system of the last data cloud disk is not initialized, the system automatically formats the data cloud disk to EXT4 to store the content of /var/lib/docker and /var/lib/kubelet.
|
|
20
|
+
* - If the ECS instance has no data cloud disks mounted, no new data cloud disk is mounted.
|
|
21
|
+
* >If you choose to store data on a data cloud disk and the ECS instance already has data cloud disks mounted, the existing data on the data cloud disk is lost. Back up your data in advance.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* false
|
|
@@ -20,7 +20,7 @@ export class CheckControlPlaneLogEnableResponseBody extends $dara.Model {
|
|
|
20
20
|
components?: string[];
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The name of the
|
|
23
|
+
* The name of the SLS project that stores the control plane component logs.
|
|
24
24
|
*
|
|
25
25
|
* Default value: k8s-log-$Cluster ID.
|
|
26
26
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CheckServiceRoleResponseBodyRoles extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates whether the
|
|
8
|
+
* Indicates whether the role has been authorized.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* true
|
|
@@ -13,7 +13,7 @@ export class CheckServiceRoleResponseBodyRoles extends $dara.Model {
|
|
|
13
13
|
granted?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The message returned when the role is not authorized.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* The role does not exist: AliyunCSManagedAutoScalerRole
|
|
@@ -6,6 +6,7 @@ export class CleanClusterUserPermissionsRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* Specifies whether to force delete the specified KubeConfig. Valid values:
|
|
9
|
+
*
|
|
9
10
|
* - false (default): Before deleting the KubeConfig, the system checks whether cluster access records exist within the last seven days. If access records exist or cannot be retrieved, the deletion is not allowed.
|
|
10
11
|
* - true: Force deletes the KubeConfig without checking cluster access records.
|
|
11
12
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateAutoRepairPolicyRequestRulesIncidents extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The name of the
|
|
8
|
+
* The name of the incident.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Node.FaultNeedReboot.HOST
|
|
@@ -13,7 +13,7 @@ export class CreateAutoRepairPolicyRequestRulesIncidents extends $dara.Model {
|
|
|
13
13
|
name?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The type of the
|
|
16
|
+
* The type of the incident.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* system
|
|
@@ -125,7 +125,7 @@ export class CreateAutoRepairPolicyRequestRulesRepairProcedureInterventionInquir
|
|
|
125
125
|
export class CreateAutoRepairPolicyRequestRulesRepairProcedureIntervention extends $dara.Model {
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The label configuration for authorization confirmation.
|
|
128
|
+
* The label configuration for authorization confirmation. Adding the following labels to the node indicates that you authorize ACK to execute the action for this stage. After completing the action for this stage, ACK automatically removes the authorization inquiry and authorization confirmation labels corresponding to this stage. If you do not add the following labels in time to grant authorization, ACK will not execute the action for this stage and subsequent actions, and the node may remain in an impaired state.
|
|
129
129
|
*/
|
|
130
130
|
approvedLabel?: CreateAutoRepairPolicyRequestRulesRepairProcedureInterventionApprovedLabel;
|
|
131
131
|
/**
|
|
@@ -138,7 +138,7 @@ export class CreateAutoRepairPolicyRequestRulesRepairProcedureIntervention exten
|
|
|
138
138
|
enable?: boolean;
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The label configuration for authorization inquiry. When this stage is reached, ACK adds the following
|
|
141
|
+
* The label configuration for authorization inquiry. When this stage is reached, ACK adds the following labels to your node and waits for your authorization to execute the action for this stage.
|
|
142
142
|
*/
|
|
143
143
|
inquiringLabel?: CreateAutoRepairPolicyRequestRulesRepairProcedureInterventionInquiringLabel;
|
|
144
144
|
/**
|
|
@@ -185,12 +185,12 @@ export class CreateAutoRepairPolicyRequestRulesRepairProcedureIntervention exten
|
|
|
185
185
|
export class CreateAutoRepairPolicyRequestRulesRepairProcedure extends $dara.Model {
|
|
186
186
|
/**
|
|
187
187
|
* @remarks
|
|
188
|
-
* The configuration parameters
|
|
188
|
+
* The configuration parameters for the repair procedure.
|
|
189
189
|
*/
|
|
190
190
|
config?: { [key: string]: any };
|
|
191
191
|
/**
|
|
192
192
|
* @remarks
|
|
193
|
-
* The
|
|
193
|
+
* The manual intervention process.
|
|
194
194
|
*/
|
|
195
195
|
intervention?: CreateAutoRepairPolicyRequestRulesRepairProcedureIntervention;
|
|
196
196
|
/**
|
|
@@ -235,7 +235,7 @@ export class CreateAutoRepairPolicyRequestRulesRepairProcedure extends $dara.Mod
|
|
|
235
235
|
export class CreateAutoRepairPolicyRequestRules extends $dara.Model {
|
|
236
236
|
/**
|
|
237
237
|
* @remarks
|
|
238
|
-
* The list of identified
|
|
238
|
+
* The list of identified incidents.
|
|
239
239
|
*/
|
|
240
240
|
incidents?: CreateAutoRepairPolicyRequestRulesIncidents[];
|
|
241
241
|
/**
|
|
@@ -283,7 +283,7 @@ export class CreateAutoRepairPolicyRequest extends $dara.Model {
|
|
|
283
283
|
name?: string;
|
|
284
284
|
/**
|
|
285
285
|
* @remarks
|
|
286
|
-
* The resource subtype
|
|
286
|
+
* The resource subtype to which the self-healing rule can be bound.
|
|
287
287
|
*
|
|
288
288
|
* @example
|
|
289
289
|
* ess
|
|
@@ -291,7 +291,7 @@ export class CreateAutoRepairPolicyRequest extends $dara.Model {
|
|
|
291
291
|
resourceSubType?: string;
|
|
292
292
|
/**
|
|
293
293
|
* @remarks
|
|
294
|
-
* The resource type
|
|
294
|
+
* The resource type to which the self-healing rule can be bound.
|
|
295
295
|
*
|
|
296
296
|
* @example
|
|
297
297
|
* nodepool
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The scale-
|
|
8
|
+
* The scale-in trigger delay, which is the time interval between when a scale-in need is detected (the scale-in threshold is reached) and when the scale-in operation (reducing the number of Pods) is actually performed.
|
|
9
9
|
*
|
|
10
10
|
* Valid values: [1,60]. Unit: minutes.
|
|
11
11
|
*
|
|
@@ -17,9 +17,9 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
17
17
|
coolDownDuration?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* Specifies whether cluster-autoscaler evicts DaemonSet Pods on
|
|
21
|
-
* - `true`:
|
|
22
|
-
* - `false`:
|
|
20
|
+
* Specifies whether cluster-autoscaler evicts DaemonSet Pods on a node during scale-in. Valid values:
|
|
21
|
+
* - `true`: Eviction is performed.
|
|
22
|
+
* - `false`: Eviction is not performed.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* false
|
|
@@ -29,8 +29,8 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* The node pool scale-out order policy. Valid values:
|
|
31
31
|
* - `least-waste`: The default policy. If multiple node pools are available for scale-out, the node pool with the least resource waste is selected.
|
|
32
|
-
* - `random`: The random policy. If multiple node pools are available for scale-out, a
|
|
33
|
-
* - `priority`: The priority policy. If multiple node pools are available for scale-out, the node pool with the highest priority
|
|
32
|
+
* - `random`: The random policy. If multiple node pools are available for scale-out, a node pool is randomly selected.
|
|
33
|
+
* - `priority`: The priority policy. If multiple node pools are available for scale-out, the node pool with the highest priority based on your custom scaling group order is selected. Node pool priorities are defined by the `priorities` parameter.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* least-waste
|
|
@@ -38,9 +38,9 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
38
38
|
expander?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The GPU scale-
|
|
41
|
+
* The GPU scale-in threshold, which is the ratio of requested resources to total resources on a node.
|
|
42
42
|
*
|
|
43
|
-
* A GPU node can be scaled
|
|
43
|
+
* A GPU node can be scaled in only when this ratio falls below the configured threshold, meaning the CPU, memory, and GPU resource utilization of the node are all below the GPU scale-in threshold.
|
|
44
44
|
*
|
|
45
45
|
* Valid values: [0.1~1].
|
|
46
46
|
*
|
|
@@ -52,7 +52,7 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
52
52
|
gpuUtilizationThreshold?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The timeout period
|
|
55
|
+
* The timeout period for cluster-autoscaler to wait for Pod termination during node draining in a scale-in scenario.
|
|
56
56
|
*
|
|
57
57
|
* Unit: seconds.
|
|
58
58
|
*
|
|
@@ -64,7 +64,7 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
64
64
|
maxGracefulTerminationSec?: number;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The minimum number of Pods allowed in each ReplicaSet before a node can be scaled
|
|
67
|
+
* The minimum number of Pods allowed in each ReplicaSet before a node can be scaled in.
|
|
68
68
|
*
|
|
69
69
|
* Default value: 0.
|
|
70
70
|
*
|
|
@@ -74,17 +74,17 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
74
74
|
minReplicaCount?: number;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The priority configuration for
|
|
77
|
+
* The priority configuration for auto scaling. After you create a node pool with elastic scaling enabled, you can configure priority policies and priority settings for the scaling groups of specified auto scaling node pools by using [Enable node auto scaling](https://help.aliyun.com/document_detail/119099.html).
|
|
78
78
|
*
|
|
79
79
|
* Valid values: [1, 100]. The value must be a positive integer. A larger value indicates a higher priority.
|
|
80
80
|
*/
|
|
81
81
|
priorities?: { [key: string]: string[] };
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* Specifies whether to delete the corresponding Kubernetes Node object after a node is successfully scaled
|
|
84
|
+
* Specifies whether to delete the corresponding Kubernetes Node object after a node in rapid mode is successfully scaled in. For more information about rapid mode, see [Scaling modes](https://help.aliyun.com/document_detail/119099.html). Default value: false. Valid values:
|
|
85
85
|
*
|
|
86
|
-
* - `true`: The Kubernetes Node object is deleted after the node
|
|
87
|
-
* - `false`: The Kubernetes Node object is retained after the node
|
|
86
|
+
* - `true`: The Kubernetes Node object is deleted after the node in rapid mode is stopped. Setting this parameter to true is not recommended because it may cause data inconsistency in Kubernetes objects.
|
|
87
|
+
* - `false`: The Kubernetes Node object is retained after the node in rapid mode is stopped.
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
90
|
* false
|
|
@@ -92,9 +92,9 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
92
92
|
recycleNodeDeletionEnabled?: boolean;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* Specifies whether to allow node scale-
|
|
96
|
-
* - `true`: Scale-
|
|
97
|
-
* - `false`: Scale-
|
|
95
|
+
* Specifies whether to allow node scale-in. Valid values:
|
|
96
|
+
* - `true`: Scale-in is allowed.
|
|
97
|
+
* - `false`: Scale-in is prohibited.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
100
|
* true
|
|
@@ -113,11 +113,11 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
113
113
|
scaleUpFromZero?: boolean;
|
|
114
114
|
/**
|
|
115
115
|
* @remarks
|
|
116
|
-
* The
|
|
116
|
+
* The elastic component type. For clusters running version 1.24 or later, the default value is goatscaler. For earlier versions, the default value is cluster-autoscaler. Valid values:
|
|
117
117
|
*
|
|
118
|
-
* - `goatscaler`:
|
|
118
|
+
* - `goatscaler`: Instant scaling.
|
|
119
119
|
*
|
|
120
|
-
* - `cluster-autoscaler`:
|
|
120
|
+
* - `cluster-autoscaler`: Auto scaling.
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
123
|
* goatscaler
|
|
@@ -125,9 +125,9 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
125
125
|
scalerType?: string;
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The scaling sensitivity, which adjusts the interval
|
|
128
|
+
* The scaling sensitivity, which adjusts the interval for the system to evaluate scaling decisions.
|
|
129
129
|
*
|
|
130
|
-
* Valid values: 15, 30, 60, 120, 180,
|
|
130
|
+
* Valid values: 15, 30, 60, 120, 180, 300. Unit: seconds.
|
|
131
131
|
*
|
|
132
132
|
* Default value: 60.
|
|
133
133
|
*
|
|
@@ -137,9 +137,9 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
137
137
|
scanInterval?: string;
|
|
138
138
|
/**
|
|
139
139
|
* @remarks
|
|
140
|
-
* Specifies whether cluster-autoscaler skips
|
|
141
|
-
* - `true`:
|
|
142
|
-
* - `false`:
|
|
140
|
+
* Specifies whether cluster-autoscaler skips scale-in for nodes that run Pods with local storage (such as EmptyDir or HostPath). Valid values:
|
|
141
|
+
* - `true`: Scale-in is skipped.
|
|
142
|
+
* - `false`: Scale-in is performed.
|
|
143
143
|
*
|
|
144
144
|
* @example
|
|
145
145
|
* false
|
|
@@ -147,9 +147,9 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
147
147
|
skipNodesWithLocalStorage?: boolean;
|
|
148
148
|
/**
|
|
149
149
|
* @remarks
|
|
150
|
-
* Specifies whether cluster-autoscaler skips
|
|
151
|
-
* - `true`:
|
|
152
|
-
* - `false`:
|
|
150
|
+
* Specifies whether cluster-autoscaler skips scale-in for nodes that run Pods in the kube-system namespace. This feature does not apply to DaemonSet Pods or Mirror Pods. Valid values:
|
|
151
|
+
* - `true`: Scale-in is skipped.
|
|
152
|
+
* - `false`: Scale-in is performed.
|
|
153
153
|
*
|
|
154
154
|
* @example
|
|
155
155
|
* true
|
|
@@ -157,7 +157,7 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
157
157
|
skipNodesWithSystemPods?: boolean;
|
|
158
158
|
/**
|
|
159
159
|
* @remarks
|
|
160
|
-
* The cool-down period. The time interval after the most recent scale-out during which the
|
|
160
|
+
* The cool-down period. The time interval after the most recent scale-out event during which the elastic component does not perform scale-in operations. A node that is scaled out can be considered for scale-in only after the cool-down period elapses.
|
|
161
161
|
*
|
|
162
162
|
* Valid values: [1,60]. Unit: minutes.
|
|
163
163
|
*
|
|
@@ -169,9 +169,9 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
169
169
|
unneededDuration?: string;
|
|
170
170
|
/**
|
|
171
171
|
* @remarks
|
|
172
|
-
* The scale-
|
|
172
|
+
* The scale-in threshold, which is the ratio of requested resources to total resources on a node.
|
|
173
173
|
*
|
|
174
|
-
* A node can be scaled
|
|
174
|
+
* A node can be scaled in only when this ratio falls below the configured threshold, meaning both the CPU and memory resources utilization of the node are below the scale-in threshold.
|
|
175
175
|
*
|
|
176
176
|
* Valid values: [0.1~1].
|
|
177
177
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateClusterDiagnosisRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The parameters
|
|
8
|
+
* The parameters used to specify the diagnosis target. The following examples show the parameters for different diagnosis types:
|
|
9
9
|
*
|
|
10
10
|
* node:
|
|
11
11
|
* ```
|
|
@@ -29,13 +29,13 @@ export class CreateClusterDiagnosisRequest extends $dara.Model {
|
|
|
29
29
|
*
|
|
30
30
|
* memory
|
|
31
31
|
* ```
|
|
32
|
-
* {"node":"
|
|
32
|
+
* {"node":"cn-hangzhou.172.16.9.240"}
|
|
33
33
|
* ```
|
|
34
34
|
*
|
|
35
35
|
* service
|
|
36
36
|
* ```
|
|
37
37
|
* {"namespace": "kube-system", "name": "nginx-ingress-lb"}
|
|
38
|
-
*
|
|
38
|
+
* ```
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* {"namespace": "kube-system", "name": "csi-plugin-2cg9f"}
|
|
@@ -20,7 +20,7 @@ export class CreateClusterInspectConfigRequest extends $dara.Model {
|
|
|
20
20
|
enabled?: boolean;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The inspection cycle defined using
|
|
23
|
+
* The inspection cycle defined by using the RFC5545 Recurrence Rule syntax. You must specify BYHOUR and BYMINUTE. Only FREQ=DAILY is supported. COUNT and UNTIL are not supported.
|
|
24
24
|
*
|
|
25
25
|
* This parameter is required.
|
|
26
26
|
*
|