节点池是集群中具有相同配置的一组节点,一个节点池包含一个节点或多个节点。节点池的配置包含节点的属性,例如节点规格、可用区、标签、污点等。这些属性可以在创建节点池时指定,也可以在创建完成后进行编辑修改。
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
vKENodePoolDemo:
type: bytepluscc:vke:NodePool
name: VKENodePoolDemo
properties:
clusterId: cd4iklanmxxxb9ixxxxx
name: VKENodePoolDemo
kubernetesConfig:
labels:
- key: labels-key
value: labels-value
taints:
- key: taints-key
value: taints-value
effect: NoSchedule
cordon: false
name_prefix: name-prefix
kubelet_config:
featureGates:
qoSResourceManager: true
topologyManagerScope: container
topologyManagerPolicy: none
maxPods: 110
kubeApiQps: 5
kubeApiBurst: 10
kubeReserved:
- name: memory
quantity: 200m
systemReserved:
- name: memory
quantity: 200m
registryPullQps: 5
registryBurst: 10
serializeImagePulls: true
cpuManagerPolicy: none
auto_sync_disabled: false
name_suffix: name-suffix
name_use_hostname: false
nodeConfig:
instance_type_ids:
- ecs.g3il.large
subnet_ids:
- subnet-3nr6sws8sxxx931ebscxxxxx
image_id: image-ybqi99sxxx8rx7mxxxxx
system_volume:
size: 40
type: ESSD_PL0
data_volumes:
- size: 20
type: ESSD_PL0
mountPoint: /dev/vdb
snapshotId: snap-3wpmsnixxx55inqxxxxx
initialize_script: YmFzaCBteV9maWxxxxxx
security:
securityGroupIds:
- sg-3hitecg7d6xxx3nkipkyxxxxx
securityStrategies:
- Hids
login:
password: '*******'
additional_container_storage_enabled: true
instance_charge_type: PostPaid
name_prefix: name-prefix
tags:
- key: env
value: test
spot_strategy: SpotAsPriceGo
instances_distribution:
capacityRebalance: true
compensateWithOnDemand: true
onDemandBaseCapacity: 0
onDemandPercentageAboveBaseCapacity: 0
project_name: default
public_access_enabled: false
public_access_config:
billingType: 2
isp: BGP
bandwidth: 5
hostname: node-host
instance_name: node
network_traffic_mode: Standard
deployment_set_id: dps-ydzccfzqjxxxx8kxxxxx
deployment_set_group_number: 1
autoScaling:
max_replicas: 10
min_replicas: 0
enabled: true
desired_replicas: 0
priority: 10
subnet_policy: ZoneBalance
tags:
- key: env
value: test
management:
enabled: true
remedy_config:
enabled: true
remedyId: R202511251441xxxxuv230vsiu92xxxxx
Create NodePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodePool(name: string, args: NodePoolArgs, opts?: CustomResourceOptions);@overload
def NodePool(resource_name: str,
args: NodePoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NodePool(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
auto_scaling: Optional[NodePoolAutoScalingArgs] = None,
kubernetes_config: Optional[NodePoolKubernetesConfigArgs] = None,
management: Optional[NodePoolManagementArgs] = None,
name: Optional[str] = None,
node_config: Optional[NodePoolNodeConfigArgs] = None,
retain_resources: Optional[Sequence[str]] = None,
tags: Optional[Sequence[NodePoolTagArgs]] = None)func NewNodePool(ctx *Context, name string, args NodePoolArgs, opts ...ResourceOption) (*NodePool, error)public NodePool(string name, NodePoolArgs args, CustomResourceOptions? opts = null)
public NodePool(String name, NodePoolArgs args)
public NodePool(String name, NodePoolArgs args, CustomResourceOptions options)
type: bytepluscc:vke:NodePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NodePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NodePoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NodePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodePoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var nodePoolResource = new Bytepluscc.Vke.NodePool("nodePoolResource", new()
{
ClusterId = "string",
AutoScaling = new Bytepluscc.Vke.Inputs.NodePoolAutoScalingArgs
{
DesiredReplicas = 0,
Enabled = false,
MaxReplicas = 0,
MinReplicas = 0,
Priority = 0,
ScalingGroupId = "string",
SubnetPolicy = "string",
},
KubernetesConfig = new Bytepluscc.Vke.Inputs.NodePoolKubernetesConfigArgs
{
AutoSyncDisabled = false,
Cordon = false,
KubeletConfig = new Bytepluscc.Vke.Inputs.NodePoolKubernetesConfigKubeletConfigArgs
{
CpuManagerPolicy = "string",
FeatureGates = new Bytepluscc.Vke.Inputs.NodePoolKubernetesConfigKubeletConfigFeatureGatesArgs
{
InPlacePodVerticalScaling = false,
QoSResourceManager = false,
},
KubeApiBurst = 0,
KubeApiQps = 0,
KubeReserveds = new[]
{
new Bytepluscc.Vke.Inputs.NodePoolKubernetesConfigKubeletConfigKubeReservedArgs
{
Name = "string",
Quantity = "string",
},
},
MaxPods = 0,
RegistryBurst = 0,
RegistryPullQps = 0,
SerializeImagePulls = false,
SystemReserveds = new[]
{
new Bytepluscc.Vke.Inputs.NodePoolKubernetesConfigKubeletConfigSystemReservedArgs
{
Name = "string",
Quantity = "string",
},
},
TopologyManagerPolicy = "string",
TopologyManagerScope = "string",
},
Labels = new[]
{
new Bytepluscc.Vke.Inputs.NodePoolKubernetesConfigLabelArgs
{
Key = "string",
Value = "string",
},
},
NamePrefix = "string",
NameSuffix = "string",
NameUseHostname = false,
Taints = new[]
{
new Bytepluscc.Vke.Inputs.NodePoolKubernetesConfigTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
},
Management = new Bytepluscc.Vke.Inputs.NodePoolManagementArgs
{
Enabled = false,
RemedyConfig = new Bytepluscc.Vke.Inputs.NodePoolManagementRemedyConfigArgs
{
Enabled = false,
RemedyId = "string",
},
},
Name = "string",
NodeConfig = new Bytepluscc.Vke.Inputs.NodePoolNodeConfigArgs
{
AdditionalContainerStorageEnabled = false,
AutoRenew = false,
AutoRenewPeriod = 0,
DataVolumes = new[]
{
new Bytepluscc.Vke.Inputs.NodePoolNodeConfigDataVolumeArgs
{
FileSystem = "string",
MountPoint = "string",
PlacementGroupId = "string",
Size = 0,
SnapshotId = "string",
SubgroupNumber = 0,
Type = "string",
},
},
DeploymentSetGroupNumber = 0,
DeploymentSetId = "string",
Hostname = "string",
HpcClusterIds = new[]
{
"string",
},
ImageId = "string",
InitializeScript = "string",
InstanceChargeType = "string",
InstanceName = "string",
InstanceTypeIds = new[]
{
"string",
},
InstancesDistribution = new Bytepluscc.Vke.Inputs.NodePoolNodeConfigInstancesDistributionArgs
{
CapacityRebalance = false,
CompensateWithOnDemand = false,
OnDemandBaseCapacity = 0,
OnDemandPercentageAboveBaseCapacity = 0,
},
NamePrefix = "string",
NetworkTrafficMode = "string",
Period = 0,
PreScript = "string",
ProjectName = "string",
PublicAccessConfig = new Bytepluscc.Vke.Inputs.NodePoolNodeConfigPublicAccessConfigArgs
{
Bandwidth = 0,
BillingType = 0,
Isp = "string",
},
PublicAccessEnabled = false,
Security = new Bytepluscc.Vke.Inputs.NodePoolNodeConfigSecurityArgs
{
Login = new Bytepluscc.Vke.Inputs.NodePoolNodeConfigSecurityLoginArgs
{
Password = "string",
SshKeyPairName = "string",
Type = "string",
},
SecurityGroupIds = new[]
{
"string",
},
SecurityStrategies = new[]
{
"string",
},
SecurityStrategyEnabled = false,
},
SpotStrategy = "string",
SubnetIds = new[]
{
"string",
},
SystemVolume = new Bytepluscc.Vke.Inputs.NodePoolNodeConfigSystemVolumeArgs
{
PlacementGroupId = "string",
Size = 0,
SubgroupNumber = 0,
Type = "string",
},
Tags = new[]
{
new Bytepluscc.Vke.Inputs.NodePoolNodeConfigTagArgs
{
Key = "string",
Value = "string",
},
},
},
RetainResources = new[]
{
"string",
},
Tags = new[]
{
new Bytepluscc.Vke.Inputs.NodePoolTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := vke.NewNodePool(ctx, "nodePoolResource", &vke.NodePoolArgs{
ClusterId: pulumi.String("string"),
AutoScaling: &vke.NodePoolAutoScalingArgs{
DesiredReplicas: pulumi.Int(0),
Enabled: pulumi.Bool(false),
MaxReplicas: pulumi.Int(0),
MinReplicas: pulumi.Int(0),
Priority: pulumi.Int(0),
ScalingGroupId: pulumi.String("string"),
SubnetPolicy: pulumi.String("string"),
},
KubernetesConfig: &vke.NodePoolKubernetesConfigArgs{
AutoSyncDisabled: pulumi.Bool(false),
Cordon: pulumi.Bool(false),
KubeletConfig: &vke.NodePoolKubernetesConfigKubeletConfigArgs{
CpuManagerPolicy: pulumi.String("string"),
FeatureGates: &vke.NodePoolKubernetesConfigKubeletConfigFeatureGatesArgs{
InPlacePodVerticalScaling: pulumi.Bool(false),
QoSResourceManager: pulumi.Bool(false),
},
KubeApiBurst: pulumi.Int(0),
KubeApiQps: pulumi.Int(0),
KubeReserveds: vke.NodePoolKubernetesConfigKubeletConfigKubeReservedArray{
&vke.NodePoolKubernetesConfigKubeletConfigKubeReservedArgs{
Name: pulumi.String("string"),
Quantity: pulumi.String("string"),
},
},
MaxPods: pulumi.Int(0),
RegistryBurst: pulumi.Int(0),
RegistryPullQps: pulumi.Int(0),
SerializeImagePulls: pulumi.Bool(false),
SystemReserveds: vke.NodePoolKubernetesConfigKubeletConfigSystemReservedArray{
&vke.NodePoolKubernetesConfigKubeletConfigSystemReservedArgs{
Name: pulumi.String("string"),
Quantity: pulumi.String("string"),
},
},
TopologyManagerPolicy: pulumi.String("string"),
TopologyManagerScope: pulumi.String("string"),
},
Labels: vke.NodePoolKubernetesConfigLabelArray{
&vke.NodePoolKubernetesConfigLabelArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
NamePrefix: pulumi.String("string"),
NameSuffix: pulumi.String("string"),
NameUseHostname: pulumi.Bool(false),
Taints: vke.NodePoolKubernetesConfigTaintArray{
&vke.NodePoolKubernetesConfigTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Management: &vke.NodePoolManagementArgs{
Enabled: pulumi.Bool(false),
RemedyConfig: &vke.NodePoolManagementRemedyConfigArgs{
Enabled: pulumi.Bool(false),
RemedyId: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
NodeConfig: &vke.NodePoolNodeConfigArgs{
AdditionalContainerStorageEnabled: pulumi.Bool(false),
AutoRenew: pulumi.Bool(false),
AutoRenewPeriod: pulumi.Int(0),
DataVolumes: vke.NodePoolNodeConfigDataVolumeArray{
&vke.NodePoolNodeConfigDataVolumeArgs{
FileSystem: pulumi.String("string"),
MountPoint: pulumi.String("string"),
PlacementGroupId: pulumi.String("string"),
Size: pulumi.Int(0),
SnapshotId: pulumi.String("string"),
SubgroupNumber: pulumi.Int(0),
Type: pulumi.String("string"),
},
},
DeploymentSetGroupNumber: pulumi.Int(0),
DeploymentSetId: pulumi.String("string"),
Hostname: pulumi.String("string"),
HpcClusterIds: pulumi.StringArray{
pulumi.String("string"),
},
ImageId: pulumi.String("string"),
InitializeScript: pulumi.String("string"),
InstanceChargeType: pulumi.String("string"),
InstanceName: pulumi.String("string"),
InstanceTypeIds: pulumi.StringArray{
pulumi.String("string"),
},
InstancesDistribution: &vke.NodePoolNodeConfigInstancesDistributionArgs{
CapacityRebalance: pulumi.Bool(false),
CompensateWithOnDemand: pulumi.Bool(false),
OnDemandBaseCapacity: pulumi.Int(0),
OnDemandPercentageAboveBaseCapacity: pulumi.Int(0),
},
NamePrefix: pulumi.String("string"),
NetworkTrafficMode: pulumi.String("string"),
Period: pulumi.Int(0),
PreScript: pulumi.String("string"),
ProjectName: pulumi.String("string"),
PublicAccessConfig: &vke.NodePoolNodeConfigPublicAccessConfigArgs{
Bandwidth: pulumi.Int(0),
BillingType: pulumi.Int(0),
Isp: pulumi.String("string"),
},
PublicAccessEnabled: pulumi.Bool(false),
Security: &vke.NodePoolNodeConfigSecurityArgs{
Login: &vke.NodePoolNodeConfigSecurityLoginArgs{
Password: pulumi.String("string"),
SshKeyPairName: pulumi.String("string"),
Type: pulumi.String("string"),
},
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SecurityStrategies: pulumi.StringArray{
pulumi.String("string"),
},
SecurityStrategyEnabled: pulumi.Bool(false),
},
SpotStrategy: pulumi.String("string"),
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
SystemVolume: &vke.NodePoolNodeConfigSystemVolumeArgs{
PlacementGroupId: pulumi.String("string"),
Size: pulumi.Int(0),
SubgroupNumber: pulumi.Int(0),
Type: pulumi.String("string"),
},
Tags: vke.NodePoolNodeConfigTagArray{
&vke.NodePoolNodeConfigTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
RetainResources: pulumi.StringArray{
pulumi.String("string"),
},
Tags: vke.NodePoolTagArray{
&vke.NodePoolTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var nodePoolResource = new NodePool("nodePoolResource", NodePoolArgs.builder()
.clusterId("string")
.autoScaling(NodePoolAutoScalingArgs.builder()
.desiredReplicas(0)
.enabled(false)
.maxReplicas(0)
.minReplicas(0)
.priority(0)
.scalingGroupId("string")
.subnetPolicy("string")
.build())
.kubernetesConfig(NodePoolKubernetesConfigArgs.builder()
.autoSyncDisabled(false)
.cordon(false)
.kubeletConfig(NodePoolKubernetesConfigKubeletConfigArgs.builder()
.cpuManagerPolicy("string")
.featureGates(NodePoolKubernetesConfigKubeletConfigFeatureGatesArgs.builder()
.inPlacePodVerticalScaling(false)
.qoSResourceManager(false)
.build())
.kubeApiBurst(0)
.kubeApiQps(0)
.kubeReserveds(NodePoolKubernetesConfigKubeletConfigKubeReservedArgs.builder()
.name("string")
.quantity("string")
.build())
.maxPods(0)
.registryBurst(0)
.registryPullQps(0)
.serializeImagePulls(false)
.systemReserveds(NodePoolKubernetesConfigKubeletConfigSystemReservedArgs.builder()
.name("string")
.quantity("string")
.build())
.topologyManagerPolicy("string")
.topologyManagerScope("string")
.build())
.labels(NodePoolKubernetesConfigLabelArgs.builder()
.key("string")
.value("string")
.build())
.namePrefix("string")
.nameSuffix("string")
.nameUseHostname(false)
.taints(NodePoolKubernetesConfigTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.build())
.management(NodePoolManagementArgs.builder()
.enabled(false)
.remedyConfig(NodePoolManagementRemedyConfigArgs.builder()
.enabled(false)
.remedyId("string")
.build())
.build())
.name("string")
.nodeConfig(NodePoolNodeConfigArgs.builder()
.additionalContainerStorageEnabled(false)
.autoRenew(false)
.autoRenewPeriod(0)
.dataVolumes(NodePoolNodeConfigDataVolumeArgs.builder()
.fileSystem("string")
.mountPoint("string")
.placementGroupId("string")
.size(0)
.snapshotId("string")
.subgroupNumber(0)
.type("string")
.build())
.deploymentSetGroupNumber(0)
.deploymentSetId("string")
.hostname("string")
.hpcClusterIds("string")
.imageId("string")
.initializeScript("string")
.instanceChargeType("string")
.instanceName("string")
.instanceTypeIds("string")
.instancesDistribution(NodePoolNodeConfigInstancesDistributionArgs.builder()
.capacityRebalance(false)
.compensateWithOnDemand(false)
.onDemandBaseCapacity(0)
.onDemandPercentageAboveBaseCapacity(0)
.build())
.namePrefix("string")
.networkTrafficMode("string")
.period(0)
.preScript("string")
.projectName("string")
.publicAccessConfig(NodePoolNodeConfigPublicAccessConfigArgs.builder()
.bandwidth(0)
.billingType(0)
.isp("string")
.build())
.publicAccessEnabled(false)
.security(NodePoolNodeConfigSecurityArgs.builder()
.login(NodePoolNodeConfigSecurityLoginArgs.builder()
.password("string")
.sshKeyPairName("string")
.type("string")
.build())
.securityGroupIds("string")
.securityStrategies("string")
.securityStrategyEnabled(false)
.build())
.spotStrategy("string")
.subnetIds("string")
.systemVolume(NodePoolNodeConfigSystemVolumeArgs.builder()
.placementGroupId("string")
.size(0)
.subgroupNumber(0)
.type("string")
.build())
.tags(NodePoolNodeConfigTagArgs.builder()
.key("string")
.value("string")
.build())
.build())
.retainResources("string")
.tags(NodePoolTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
node_pool_resource = bytepluscc.vke.NodePool("nodePoolResource",
cluster_id="string",
auto_scaling={
"desired_replicas": 0,
"enabled": False,
"max_replicas": 0,
"min_replicas": 0,
"priority": 0,
"scaling_group_id": "string",
"subnet_policy": "string",
},
kubernetes_config={
"auto_sync_disabled": False,
"cordon": False,
"kubelet_config": {
"cpu_manager_policy": "string",
"feature_gates": {
"in_place_pod_vertical_scaling": False,
"qo_s_resource_manager": False,
},
"kube_api_burst": 0,
"kube_api_qps": 0,
"kube_reserveds": [{
"name": "string",
"quantity": "string",
}],
"max_pods": 0,
"registry_burst": 0,
"registry_pull_qps": 0,
"serialize_image_pulls": False,
"system_reserveds": [{
"name": "string",
"quantity": "string",
}],
"topology_manager_policy": "string",
"topology_manager_scope": "string",
},
"labels": [{
"key": "string",
"value": "string",
}],
"name_prefix": "string",
"name_suffix": "string",
"name_use_hostname": False,
"taints": [{
"effect": "string",
"key": "string",
"value": "string",
}],
},
management={
"enabled": False,
"remedy_config": {
"enabled": False,
"remedy_id": "string",
},
},
name="string",
node_config={
"additional_container_storage_enabled": False,
"auto_renew": False,
"auto_renew_period": 0,
"data_volumes": [{
"file_system": "string",
"mount_point": "string",
"placement_group_id": "string",
"size": 0,
"snapshot_id": "string",
"subgroup_number": 0,
"type": "string",
}],
"deployment_set_group_number": 0,
"deployment_set_id": "string",
"hostname": "string",
"hpc_cluster_ids": ["string"],
"image_id": "string",
"initialize_script": "string",
"instance_charge_type": "string",
"instance_name": "string",
"instance_type_ids": ["string"],
"instances_distribution": {
"capacity_rebalance": False,
"compensate_with_on_demand": False,
"on_demand_base_capacity": 0,
"on_demand_percentage_above_base_capacity": 0,
},
"name_prefix": "string",
"network_traffic_mode": "string",
"period": 0,
"pre_script": "string",
"project_name": "string",
"public_access_config": {
"bandwidth": 0,
"billing_type": 0,
"isp": "string",
},
"public_access_enabled": False,
"security": {
"login": {
"password": "string",
"ssh_key_pair_name": "string",
"type": "string",
},
"security_group_ids": ["string"],
"security_strategies": ["string"],
"security_strategy_enabled": False,
},
"spot_strategy": "string",
"subnet_ids": ["string"],
"system_volume": {
"placement_group_id": "string",
"size": 0,
"subgroup_number": 0,
"type": "string",
},
"tags": [{
"key": "string",
"value": "string",
}],
},
retain_resources=["string"],
tags=[{
"key": "string",
"value": "string",
}])
const nodePoolResource = new bytepluscc.vke.NodePool("nodePoolResource", {
clusterId: "string",
autoScaling: {
desiredReplicas: 0,
enabled: false,
maxReplicas: 0,
minReplicas: 0,
priority: 0,
scalingGroupId: "string",
subnetPolicy: "string",
},
kubernetesConfig: {
autoSyncDisabled: false,
cordon: false,
kubeletConfig: {
cpuManagerPolicy: "string",
featureGates: {
inPlacePodVerticalScaling: false,
qoSResourceManager: false,
},
kubeApiBurst: 0,
kubeApiQps: 0,
kubeReserveds: [{
name: "string",
quantity: "string",
}],
maxPods: 0,
registryBurst: 0,
registryPullQps: 0,
serializeImagePulls: false,
systemReserveds: [{
name: "string",
quantity: "string",
}],
topologyManagerPolicy: "string",
topologyManagerScope: "string",
},
labels: [{
key: "string",
value: "string",
}],
namePrefix: "string",
nameSuffix: "string",
nameUseHostname: false,
taints: [{
effect: "string",
key: "string",
value: "string",
}],
},
management: {
enabled: false,
remedyConfig: {
enabled: false,
remedyId: "string",
},
},
name: "string",
nodeConfig: {
additionalContainerStorageEnabled: false,
autoRenew: false,
autoRenewPeriod: 0,
dataVolumes: [{
fileSystem: "string",
mountPoint: "string",
placementGroupId: "string",
size: 0,
snapshotId: "string",
subgroupNumber: 0,
type: "string",
}],
deploymentSetGroupNumber: 0,
deploymentSetId: "string",
hostname: "string",
hpcClusterIds: ["string"],
imageId: "string",
initializeScript: "string",
instanceChargeType: "string",
instanceName: "string",
instanceTypeIds: ["string"],
instancesDistribution: {
capacityRebalance: false,
compensateWithOnDemand: false,
onDemandBaseCapacity: 0,
onDemandPercentageAboveBaseCapacity: 0,
},
namePrefix: "string",
networkTrafficMode: "string",
period: 0,
preScript: "string",
projectName: "string",
publicAccessConfig: {
bandwidth: 0,
billingType: 0,
isp: "string",
},
publicAccessEnabled: false,
security: {
login: {
password: "string",
sshKeyPairName: "string",
type: "string",
},
securityGroupIds: ["string"],
securityStrategies: ["string"],
securityStrategyEnabled: false,
},
spotStrategy: "string",
subnetIds: ["string"],
systemVolume: {
placementGroupId: "string",
size: 0,
subgroupNumber: 0,
type: "string",
},
tags: [{
key: "string",
value: "string",
}],
},
retainResources: ["string"],
tags: [{
key: "string",
value: "string",
}],
});
type: bytepluscc:vke:NodePool
properties:
autoScaling:
desiredReplicas: 0
enabled: false
maxReplicas: 0
minReplicas: 0
priority: 0
scalingGroupId: string
subnetPolicy: string
clusterId: string
kubernetesConfig:
autoSyncDisabled: false
cordon: false
kubeletConfig:
cpuManagerPolicy: string
featureGates:
inPlacePodVerticalScaling: false
qoSResourceManager: false
kubeApiBurst: 0
kubeApiQps: 0
kubeReserveds:
- name: string
quantity: string
maxPods: 0
registryBurst: 0
registryPullQps: 0
serializeImagePulls: false
systemReserveds:
- name: string
quantity: string
topologyManagerPolicy: string
topologyManagerScope: string
labels:
- key: string
value: string
namePrefix: string
nameSuffix: string
nameUseHostname: false
taints:
- effect: string
key: string
value: string
management:
enabled: false
remedyConfig:
enabled: false
remedyId: string
name: string
nodeConfig:
additionalContainerStorageEnabled: false
autoRenew: false
autoRenewPeriod: 0
dataVolumes:
- fileSystem: string
mountPoint: string
placementGroupId: string
size: 0
snapshotId: string
subgroupNumber: 0
type: string
deploymentSetGroupNumber: 0
deploymentSetId: string
hostname: string
hpcClusterIds:
- string
imageId: string
initializeScript: string
instanceChargeType: string
instanceName: string
instanceTypeIds:
- string
instancesDistribution:
capacityRebalance: false
compensateWithOnDemand: false
onDemandBaseCapacity: 0
onDemandPercentageAboveBaseCapacity: 0
namePrefix: string
networkTrafficMode: string
period: 0
preScript: string
projectName: string
publicAccessConfig:
bandwidth: 0
billingType: 0
isp: string
publicAccessEnabled: false
security:
login:
password: string
sshKeyPairName: string
type: string
securityGroupIds:
- string
securityStrategies:
- string
securityStrategyEnabled: false
spotStrategy: string
subnetIds:
- string
systemVolume:
placementGroupId: string
size: 0
subgroupNumber: 0
type: string
tags:
- key: string
value: string
retainResources:
- string
tags:
- key: string
value: string
NodePool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NodePool resource accepts the following input properties:
- Cluster
Id string - 节点池所在集群的 ID。
- Auto
Scaling Byteplus.Node Pool Auto Scaling - 节点池伸缩策略配置。
- Kubernetes
Config Byteplus.Node Pool Kubernetes Config - 节点池 Kubernetes 相关配置。
- Management
Byteplus.
Node Pool Management - 托管节点池配置。
- Name string
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- Node
Config Byteplus.Node Pool Node Config - 节点池中云服务器(ECS)实例配置。
- Retain
Resources List<string> - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
-
List<Byteplus.
Node Pool Tag>
- Cluster
Id string - 节点池所在集群的 ID。
- Auto
Scaling NodePool Auto Scaling Args - 节点池伸缩策略配置。
- Kubernetes
Config NodePool Kubernetes Config Args - 节点池 Kubernetes 相关配置。
- Management
Node
Pool Management Args - 托管节点池配置。
- Name string
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- Node
Config NodePool Node Config Args - 节点池中云服务器(ECS)实例配置。
- Retain
Resources []string - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
-
[]Node
Pool Tag Args
- cluster
Id String - 节点池所在集群的 ID。
- auto
Scaling NodePool Auto Scaling - 节点池伸缩策略配置。
- kubernetes
Config NodePool Kubernetes Config - 节点池 Kubernetes 相关配置。
- management
Node
Pool Management - 托管节点池配置。
- name String
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- node
Config NodePool Node Config - 节点池中云服务器(ECS)实例配置。
- retain
Resources List<String> - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
-
List<Node
Pool Tag>
- cluster
Id string - 节点池所在集群的 ID。
- auto
Scaling NodePool Auto Scaling - 节点池伸缩策略配置。
- kubernetes
Config NodePool Kubernetes Config - 节点池 Kubernetes 相关配置。
- management
Node
Pool Management - 托管节点池配置。
- name string
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- node
Config NodePool Node Config - 节点池中云服务器(ECS)实例配置。
- retain
Resources string[] - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
-
Node
Pool Tag[]
- cluster_
id str - 节点池所在集群的 ID。
- auto_
scaling NodePool Auto Scaling Args - 节点池伸缩策略配置。
- kubernetes_
config NodePool Kubernetes Config Args - 节点池 Kubernetes 相关配置。
- management
Node
Pool Management Args - 托管节点池配置。
- name str
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- node_
config NodePool Node Config Args - 节点池中云服务器(ECS)实例配置。
- retain_
resources Sequence[str] - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
-
Sequence[Node
Pool Tag Args]
- cluster
Id String - 节点池所在集群的 ID。
- auto
Scaling Property Map - 节点池伸缩策略配置。
- kubernetes
Config Property Map - 节点池 Kubernetes 相关配置。
- management Property Map
- 托管节点池配置。
- name String
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- node
Config Property Map - 节点池中云服务器(ECS)实例配置。
- retain
Resources List<String> - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the NodePool resource produces the following output properties:
- Created
Time string - 创建节点池的时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Pool stringId - 节点池 ID 。
- Node
Statistics Byteplus.Node Pool Node Statistics - 节点池中的节点统计。
- Status
Byteplus.
Node Pool Status - 节点池状态。
- Updated
Time string - 更新节点池的时间。
- Created
Time string - 创建节点池的时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Pool stringId - 节点池 ID 。
- Node
Statistics NodePool Node Statistics - 节点池中的节点统计。
- Status
Node
Pool Status - 节点池状态。
- Updated
Time string - 更新节点池的时间。
- created
Time String - 创建节点池的时间。
- id String
- The provider-assigned unique ID for this managed resource.
- node
Pool StringId - 节点池 ID 。
- node
Statistics NodePool Node Statistics - 节点池中的节点统计。
- status
Node
Pool Status - 节点池状态。
- updated
Time String - 更新节点池的时间。
- created
Time string - 创建节点池的时间。
- id string
- The provider-assigned unique ID for this managed resource.
- node
Pool stringId - 节点池 ID 。
- node
Statistics NodePool Node Statistics - 节点池中的节点统计。
- status
Node
Pool Status - 节点池状态。
- updated
Time string - 更新节点池的时间。
- created_
time str - 创建节点池的时间。
- id str
- The provider-assigned unique ID for this managed resource.
- node_
pool_ strid - 节点池 ID 。
- node_
statistics NodePool Node Statistics - 节点池中的节点统计。
- status
Node
Pool Status - 节点池状态。
- updated_
time str - 更新节点池的时间。
- created
Time String - 创建节点池的时间。
- id String
- The provider-assigned unique ID for this managed resource.
- node
Pool StringId - 节点池 ID 。
- node
Statistics Property Map - 节点池中的节点统计。
- status Property Map
- 节点池状态。
- updated
Time String - 更新节点池的时间。
Look up Existing NodePool Resource
Get an existing NodePool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NodePoolState, opts?: CustomResourceOptions): NodePool@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_scaling: Optional[NodePoolAutoScalingArgs] = None,
cluster_id: Optional[str] = None,
created_time: Optional[str] = None,
kubernetes_config: Optional[NodePoolKubernetesConfigArgs] = None,
management: Optional[NodePoolManagementArgs] = None,
name: Optional[str] = None,
node_config: Optional[NodePoolNodeConfigArgs] = None,
node_pool_id: Optional[str] = None,
node_statistics: Optional[NodePoolNodeStatisticsArgs] = None,
retain_resources: Optional[Sequence[str]] = None,
status: Optional[NodePoolStatusArgs] = None,
tags: Optional[Sequence[NodePoolTagArgs]] = None,
updated_time: Optional[str] = None) -> NodePoolfunc GetNodePool(ctx *Context, name string, id IDInput, state *NodePoolState, opts ...ResourceOption) (*NodePool, error)public static NodePool Get(string name, Input<string> id, NodePoolState? state, CustomResourceOptions? opts = null)public static NodePool get(String name, Output<String> id, NodePoolState state, CustomResourceOptions options)resources: _: type: bytepluscc:vke:NodePool get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auto
Scaling Byteplus.Node Pool Auto Scaling - 节点池伸缩策略配置。
- Cluster
Id string - 节点池所在集群的 ID。
- Created
Time string - 创建节点池的时间。
- Kubernetes
Config Byteplus.Node Pool Kubernetes Config - 节点池 Kubernetes 相关配置。
- Management
Byteplus.
Node Pool Management - 托管节点池配置。
- Name string
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- Node
Config Byteplus.Node Pool Node Config - 节点池中云服务器(ECS)实例配置。
- Node
Pool stringId - 节点池 ID 。
- Node
Statistics Byteplus.Node Pool Node Statistics - 节点池中的节点统计。
- Retain
Resources List<string> - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
- Status
Byteplus.
Node Pool Status - 节点池状态。
-
List<Byteplus.
Node Pool Tag> - Updated
Time string - 更新节点池的时间。
- Auto
Scaling NodePool Auto Scaling Args - 节点池伸缩策略配置。
- Cluster
Id string - 节点池所在集群的 ID。
- Created
Time string - 创建节点池的时间。
- Kubernetes
Config NodePool Kubernetes Config Args - 节点池 Kubernetes 相关配置。
- Management
Node
Pool Management Args - 托管节点池配置。
- Name string
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- Node
Config NodePool Node Config Args - 节点池中云服务器(ECS)实例配置。
- Node
Pool stringId - 节点池 ID 。
- Node
Statistics NodePool Node Statistics Args - 节点池中的节点统计。
- Retain
Resources []string - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
- Status
Node
Pool Status Args - 节点池状态。
-
[]Node
Pool Tag Args - Updated
Time string - 更新节点池的时间。
- auto
Scaling NodePool Auto Scaling - 节点池伸缩策略配置。
- cluster
Id String - 节点池所在集群的 ID。
- created
Time String - 创建节点池的时间。
- kubernetes
Config NodePool Kubernetes Config - 节点池 Kubernetes 相关配置。
- management
Node
Pool Management - 托管节点池配置。
- name String
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- node
Config NodePool Node Config - 节点池中云服务器(ECS)实例配置。
- node
Pool StringId - 节点池 ID 。
- node
Statistics NodePool Node Statistics - 节点池中的节点统计。
- retain
Resources List<String> - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
- status
Node
Pool Status - 节点池状态。
-
List<Node
Pool Tag> - updated
Time String - 更新节点池的时间。
- auto
Scaling NodePool Auto Scaling - 节点池伸缩策略配置。
- cluster
Id string - 节点池所在集群的 ID。
- created
Time string - 创建节点池的时间。
- kubernetes
Config NodePool Kubernetes Config - 节点池 Kubernetes 相关配置。
- management
Node
Pool Management - 托管节点池配置。
- name string
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- node
Config NodePool Node Config - 节点池中云服务器(ECS)实例配置。
- node
Pool stringId - 节点池 ID 。
- node
Statistics NodePool Node Statistics - 节点池中的节点统计。
- retain
Resources string[] - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
- status
Node
Pool Status - 节点池状态。
-
Node
Pool Tag[] - updated
Time string - 更新节点池的时间。
- auto_
scaling NodePool Auto Scaling Args - 节点池伸缩策略配置。
- cluster_
id str - 节点池所在集群的 ID。
- created_
time str - 创建节点池的时间。
- kubernetes_
config NodePool Kubernetes Config Args - 节点池 Kubernetes 相关配置。
- management
Node
Pool Management Args - 托管节点池配置。
- name str
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- node_
config NodePool Node Config Args - 节点池中云服务器(ECS)实例配置。
- node_
pool_ strid - 节点池 ID 。
- node_
statistics NodePool Node Statistics Args - 节点池中的节点统计。
- retain_
resources Sequence[str] - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
- status
Node
Pool Status Args - 节点池状态。
-
Sequence[Node
Pool Tag Args] - updated_
time str - 更新节点池的时间。
- auto
Scaling Property Map - 节点池伸缩策略配置。
- cluster
Id String - 节点池所在集群的 ID。
- created
Time String - 创建节点池的时间。
- kubernetes
Config Property Map - 节点池 Kubernetes 相关配置。
- management Property Map
- 托管节点池配置。
- name String
- 节点池名称。同一个集群下,节点池名称必须唯一。支持大小写英文字母、汉字、数字、短划线(-),长度限制为 2~64 个字符。
- node
Config Property Map - 节点池中云服务器(ECS)实例配置。
- node
Pool StringId - 节点池 ID 。
- node
Statistics Property Map - 节点池中的节点统计。
- retain
Resources List<String> - 删除节点池时,指定保留的相关资源,取值:取值为空:(默认值)删除关联资源。Ecs:删除节点池时,保留节点池中的云服务器(ECS)实例。若指定的节点池内存在包年包月的云服务器实例,且未选择保留云服务器,则该接口仅从节点池中移除云服务器实例,不会删除。您可以通过云服务器控制台或云服务器API查询到该实例,并按需执行后续操作。
- status Property Map
- 节点池状态。
- List<Property Map>
- updated
Time String - 更新节点池的时间。
Supporting Types
NodePoolAutoScaling, NodePoolAutoScalingArgs
- Desired
Replicas int - 配置节点池的期望节点数。
- Enabled bool
- 配置节点池弹性伸缩功能开关,参数值说明:false:关闭。true:开启。
- Max
Replicas int - 配置节点池的最大节点数。
- Min
Replicas int - 配置节点池的最小节点数。
- Priority int
- 优先级。
- Scaling
Group stringId - 伸缩组ID。
- Subnet
Policy string - 节点池的多子网调度策略,参数值说明:ZoneBalance:可用区均衡策略。Priority:子网优先级策略。
- Desired
Replicas int - 配置节点池的期望节点数。
- Enabled bool
- 配置节点池弹性伸缩功能开关,参数值说明:false:关闭。true:开启。
- Max
Replicas int - 配置节点池的最大节点数。
- Min
Replicas int - 配置节点池的最小节点数。
- Priority int
- 优先级。
- Scaling
Group stringId - 伸缩组ID。
- Subnet
Policy string - 节点池的多子网调度策略,参数值说明:ZoneBalance:可用区均衡策略。Priority:子网优先级策略。
- desired
Replicas Integer - 配置节点池的期望节点数。
- enabled Boolean
- 配置节点池弹性伸缩功能开关,参数值说明:false:关闭。true:开启。
- max
Replicas Integer - 配置节点池的最大节点数。
- min
Replicas Integer - 配置节点池的最小节点数。
- priority Integer
- 优先级。
- scaling
Group StringId - 伸缩组ID。
- subnet
Policy String - 节点池的多子网调度策略,参数值说明:ZoneBalance:可用区均衡策略。Priority:子网优先级策略。
- desired
Replicas number - 配置节点池的期望节点数。
- enabled boolean
- 配置节点池弹性伸缩功能开关,参数值说明:false:关闭。true:开启。
- max
Replicas number - 配置节点池的最大节点数。
- min
Replicas number - 配置节点池的最小节点数。
- priority number
- 优先级。
- scaling
Group stringId - 伸缩组ID。
- subnet
Policy string - 节点池的多子网调度策略,参数值说明:ZoneBalance:可用区均衡策略。Priority:子网优先级策略。
- desired_
replicas int - 配置节点池的期望节点数。
- enabled bool
- 配置节点池弹性伸缩功能开关,参数值说明:false:关闭。true:开启。
- max_
replicas int - 配置节点池的最大节点数。
- min_
replicas int - 配置节点池的最小节点数。
- priority int
- 优先级。
- scaling_
group_ strid - 伸缩组ID。
- subnet_
policy str - 节点池的多子网调度策略,参数值说明:ZoneBalance:可用区均衡策略。Priority:子网优先级策略。
- desired
Replicas Number - 配置节点池的期望节点数。
- enabled Boolean
- 配置节点池弹性伸缩功能开关,参数值说明:false:关闭。true:开启。
- max
Replicas Number - 配置节点池的最大节点数。
- min
Replicas Number - 配置节点池的最小节点数。
- priority Number
- 优先级。
- scaling
Group StringId - 伸缩组ID。
- subnet
Policy String - 节点池的多子网调度策略,参数值说明:ZoneBalance:可用区均衡策略。Priority:子网优先级策略。
NodePoolKubernetesConfig, NodePoolKubernetesConfigArgs
- Auto
Sync boolDisabled - 是否禁用自动同步标签污点到存量节点的功能,参数值说明:true:禁用,即关闭自动同步。false:不禁用,即开启自动同步。
- Cordon bool
- 封锁节点配置,参数值说明:false:不封锁。true:封锁。
- Kubelet
Config Byteplus.Node Pool Kubernetes Config Kubelet Config - Kubelet 组件的相关配置
- Labels
List<Byteplus.
Node Pool Kubernetes Config Label> - Name
Prefix string - Kubernetes 中节点对象的元数据名称前缀。
- Name
Suffix string - Kubernetes 中节点对象的元数据名称后缀。
- Name
Use boolHostname - Kubernetes 中节点对象的元数据名称是否使用 ECS 主机名称,取值:true:使用 ECS 主机名称作为节点名称。false:不使用使用 ECS 主机名称作为节点名称。
- Taints
List<Byteplus.
Node Pool Kubernetes Config Taint>
- Auto
Sync boolDisabled - 是否禁用自动同步标签污点到存量节点的功能,参数值说明:true:禁用,即关闭自动同步。false:不禁用,即开启自动同步。
- Cordon bool
- 封锁节点配置,参数值说明:false:不封锁。true:封锁。
- Kubelet
Config NodePool Kubernetes Config Kubelet Config - Kubelet 组件的相关配置
- Labels
[]Node
Pool Kubernetes Config Label - Name
Prefix string - Kubernetes 中节点对象的元数据名称前缀。
- Name
Suffix string - Kubernetes 中节点对象的元数据名称后缀。
- Name
Use boolHostname - Kubernetes 中节点对象的元数据名称是否使用 ECS 主机名称,取值:true:使用 ECS 主机名称作为节点名称。false:不使用使用 ECS 主机名称作为节点名称。
- Taints
[]Node
Pool Kubernetes Config Taint
- auto
Sync BooleanDisabled - 是否禁用自动同步标签污点到存量节点的功能,参数值说明:true:禁用,即关闭自动同步。false:不禁用,即开启自动同步。
- cordon Boolean
- 封锁节点配置,参数值说明:false:不封锁。true:封锁。
- kubelet
Config NodePool Kubernetes Config Kubelet Config - Kubelet 组件的相关配置
- labels
List<Node
Pool Kubernetes Config Label> - name
Prefix String - Kubernetes 中节点对象的元数据名称前缀。
- name
Suffix String - Kubernetes 中节点对象的元数据名称后缀。
- name
Use BooleanHostname - Kubernetes 中节点对象的元数据名称是否使用 ECS 主机名称,取值:true:使用 ECS 主机名称作为节点名称。false:不使用使用 ECS 主机名称作为节点名称。
- taints
List<Node
Pool Kubernetes Config Taint>
- auto
Sync booleanDisabled - 是否禁用自动同步标签污点到存量节点的功能,参数值说明:true:禁用,即关闭自动同步。false:不禁用,即开启自动同步。
- cordon boolean
- 封锁节点配置,参数值说明:false:不封锁。true:封锁。
- kubelet
Config NodePool Kubernetes Config Kubelet Config - Kubelet 组件的相关配置
- labels
Node
Pool Kubernetes Config Label[] - name
Prefix string - Kubernetes 中节点对象的元数据名称前缀。
- name
Suffix string - Kubernetes 中节点对象的元数据名称后缀。
- name
Use booleanHostname - Kubernetes 中节点对象的元数据名称是否使用 ECS 主机名称,取值:true:使用 ECS 主机名称作为节点名称。false:不使用使用 ECS 主机名称作为节点名称。
- taints
Node
Pool Kubernetes Config Taint[]
- auto_
sync_ booldisabled - 是否禁用自动同步标签污点到存量节点的功能,参数值说明:true:禁用,即关闭自动同步。false:不禁用,即开启自动同步。
- cordon bool
- 封锁节点配置,参数值说明:false:不封锁。true:封锁。
- kubelet_
config NodePool Kubernetes Config Kubelet Config - Kubelet 组件的相关配置
- labels
Sequence[Node
Pool Kubernetes Config Label] - name_
prefix str - Kubernetes 中节点对象的元数据名称前缀。
- name_
suffix str - Kubernetes 中节点对象的元数据名称后缀。
- name_
use_ boolhostname - Kubernetes 中节点对象的元数据名称是否使用 ECS 主机名称,取值:true:使用 ECS 主机名称作为节点名称。false:不使用使用 ECS 主机名称作为节点名称。
- taints
Sequence[Node
Pool Kubernetes Config Taint]
- auto
Sync BooleanDisabled - 是否禁用自动同步标签污点到存量节点的功能,参数值说明:true:禁用,即关闭自动同步。false:不禁用,即开启自动同步。
- cordon Boolean
- 封锁节点配置,参数值说明:false:不封锁。true:封锁。
- kubelet
Config Property Map - Kubelet 组件的相关配置
- labels List<Property Map>
- name
Prefix String - Kubernetes 中节点对象的元数据名称前缀。
- name
Suffix String - Kubernetes 中节点对象的元数据名称后缀。
- name
Use BooleanHostname - Kubernetes 中节点对象的元数据名称是否使用 ECS 主机名称,取值:true:使用 ECS 主机名称作为节点名称。false:不使用使用 ECS 主机名称作为节点名称。
- taints List<Property Map>
NodePoolKubernetesConfigKubeletConfig, NodePoolKubernetesConfigKubeletConfigArgs
- Cpu
Manager stringPolicy - 配置 kubelet 的 CpuManagerPolicy 策略,包含 none 和 static 两种策略
- Feature
Gates Byteplus.Node Pool Kubernetes Config Kubelet Config Feature Gates - 特性门控。
- Kube
Api intBurst - 每秒发送到 API 服务器的突发请求数量上限。不包括事件和节点心跳 API,其速率限制由一组不同的标志控制。
- Kube
Api intQps - 与 apiserver 通信的每秒查询个数(QPS)。不包含事件和节点心跳 API,它们的速率限制是由一组不同的标志所控制。
- Kube
Reserveds List<Byteplus.Node Pool Kubernetes Config Kubelet Config Kube Reserved> - Max
Pods int - 配置 kubelet 支持的最大 Pod 数量
- Registry
Burst int - 设置突发性镜像拉取的个数上限,在不超过 RegistryPullQps 设置值的前提下暂时允许此参数所给的镜像拉取个数。
- Registry
Pull intQps - 可用来限制镜像仓库的 QPS 上限
- Serialize
Image boolPulls - 逐一拉取镜像。
- System
Reserveds List<Byteplus.Node Pool Kubernetes Config Kubelet Config System Reserved> - Topology
Manager stringPolicy - 拓扑管理策略,取值:none:(默认)禁用拓扑管理策略。restricted:kubelet 仅接受在所请求资源上实现最佳 NUMA(Non-Uniform Memory Access,非一致存储访问结构)的 Pod。best-effort:kubelet 会优先选择在 CPU 和设备资源上实现 NUMA 的 Pod。single-numa-node:kubelet 仅允许在同一个节点的 CPU 和设备资源上实现 NUMA 的 Pod。
- Topology
Manager stringScope - 拓扑管理策略的资源粒度,取值:container:表示资源对齐粒度为容器级。pod:表示资源对齐粒度为 Pod 级。
- Cpu
Manager stringPolicy - 配置 kubelet 的 CpuManagerPolicy 策略,包含 none 和 static 两种策略
- Feature
Gates NodePool Kubernetes Config Kubelet Config Feature Gates - 特性门控。
- Kube
Api intBurst - 每秒发送到 API 服务器的突发请求数量上限。不包括事件和节点心跳 API,其速率限制由一组不同的标志控制。
- Kube
Api intQps - 与 apiserver 通信的每秒查询个数(QPS)。不包含事件和节点心跳 API,它们的速率限制是由一组不同的标志所控制。
- Kube
Reserveds []NodePool Kubernetes Config Kubelet Config Kube Reserved - Max
Pods int - 配置 kubelet 支持的最大 Pod 数量
- Registry
Burst int - 设置突发性镜像拉取的个数上限,在不超过 RegistryPullQps 设置值的前提下暂时允许此参数所给的镜像拉取个数。
- Registry
Pull intQps - 可用来限制镜像仓库的 QPS 上限
- Serialize
Image boolPulls - 逐一拉取镜像。
- System
Reserveds []NodePool Kubernetes Config Kubelet Config System Reserved - Topology
Manager stringPolicy - 拓扑管理策略,取值:none:(默认)禁用拓扑管理策略。restricted:kubelet 仅接受在所请求资源上实现最佳 NUMA(Non-Uniform Memory Access,非一致存储访问结构)的 Pod。best-effort:kubelet 会优先选择在 CPU 和设备资源上实现 NUMA 的 Pod。single-numa-node:kubelet 仅允许在同一个节点的 CPU 和设备资源上实现 NUMA 的 Pod。
- Topology
Manager stringScope - 拓扑管理策略的资源粒度,取值:container:表示资源对齐粒度为容器级。pod:表示资源对齐粒度为 Pod 级。
- cpu
Manager StringPolicy - 配置 kubelet 的 CpuManagerPolicy 策略,包含 none 和 static 两种策略
- feature
Gates NodePool Kubernetes Config Kubelet Config Feature Gates - 特性门控。
- kube
Api IntegerBurst - 每秒发送到 API 服务器的突发请求数量上限。不包括事件和节点心跳 API,其速率限制由一组不同的标志控制。
- kube
Api IntegerQps - 与 apiserver 通信的每秒查询个数(QPS)。不包含事件和节点心跳 API,它们的速率限制是由一组不同的标志所控制。
- kube
Reserveds List<NodePool Kubernetes Config Kubelet Config Kube Reserved> - max
Pods Integer - 配置 kubelet 支持的最大 Pod 数量
- registry
Burst Integer - 设置突发性镜像拉取的个数上限,在不超过 RegistryPullQps 设置值的前提下暂时允许此参数所给的镜像拉取个数。
- registry
Pull IntegerQps - 可用来限制镜像仓库的 QPS 上限
- serialize
Image BooleanPulls - 逐一拉取镜像。
- system
Reserveds List<NodePool Kubernetes Config Kubelet Config System Reserved> - topology
Manager StringPolicy - 拓扑管理策略,取值:none:(默认)禁用拓扑管理策略。restricted:kubelet 仅接受在所请求资源上实现最佳 NUMA(Non-Uniform Memory Access,非一致存储访问结构)的 Pod。best-effort:kubelet 会优先选择在 CPU 和设备资源上实现 NUMA 的 Pod。single-numa-node:kubelet 仅允许在同一个节点的 CPU 和设备资源上实现 NUMA 的 Pod。
- topology
Manager StringScope - 拓扑管理策略的资源粒度,取值:container:表示资源对齐粒度为容器级。pod:表示资源对齐粒度为 Pod 级。
- cpu
Manager stringPolicy - 配置 kubelet 的 CpuManagerPolicy 策略,包含 none 和 static 两种策略
- feature
Gates NodePool Kubernetes Config Kubelet Config Feature Gates - 特性门控。
- kube
Api numberBurst - 每秒发送到 API 服务器的突发请求数量上限。不包括事件和节点心跳 API,其速率限制由一组不同的标志控制。
- kube
Api numberQps - 与 apiserver 通信的每秒查询个数(QPS)。不包含事件和节点心跳 API,它们的速率限制是由一组不同的标志所控制。
- kube
Reserveds NodePool Kubernetes Config Kubelet Config Kube Reserved[] - max
Pods number - 配置 kubelet 支持的最大 Pod 数量
- registry
Burst number - 设置突发性镜像拉取的个数上限,在不超过 RegistryPullQps 设置值的前提下暂时允许此参数所给的镜像拉取个数。
- registry
Pull numberQps - 可用来限制镜像仓库的 QPS 上限
- serialize
Image booleanPulls - 逐一拉取镜像。
- system
Reserveds NodePool Kubernetes Config Kubelet Config System Reserved[] - topology
Manager stringPolicy - 拓扑管理策略,取值:none:(默认)禁用拓扑管理策略。restricted:kubelet 仅接受在所请求资源上实现最佳 NUMA(Non-Uniform Memory Access,非一致存储访问结构)的 Pod。best-effort:kubelet 会优先选择在 CPU 和设备资源上实现 NUMA 的 Pod。single-numa-node:kubelet 仅允许在同一个节点的 CPU 和设备资源上实现 NUMA 的 Pod。
- topology
Manager stringScope - 拓扑管理策略的资源粒度,取值:container:表示资源对齐粒度为容器级。pod:表示资源对齐粒度为 Pod 级。
- cpu_
manager_ strpolicy - 配置 kubelet 的 CpuManagerPolicy 策略,包含 none 和 static 两种策略
- feature_
gates NodePool Kubernetes Config Kubelet Config Feature Gates - 特性门控。
- kube_
api_ intburst - 每秒发送到 API 服务器的突发请求数量上限。不包括事件和节点心跳 API,其速率限制由一组不同的标志控制。
- kube_
api_ intqps - 与 apiserver 通信的每秒查询个数(QPS)。不包含事件和节点心跳 API,它们的速率限制是由一组不同的标志所控制。
- kube_
reserveds Sequence[NodePool Kubernetes Config Kubelet Config Kube Reserved] - max_
pods int - 配置 kubelet 支持的最大 Pod 数量
- registry_
burst int - 设置突发性镜像拉取的个数上限,在不超过 RegistryPullQps 设置值的前提下暂时允许此参数所给的镜像拉取个数。
- registry_
pull_ intqps - 可用来限制镜像仓库的 QPS 上限
- serialize_
image_ boolpulls - 逐一拉取镜像。
- system_
reserveds Sequence[NodePool Kubernetes Config Kubelet Config System Reserved] - topology_
manager_ strpolicy - 拓扑管理策略,取值:none:(默认)禁用拓扑管理策略。restricted:kubelet 仅接受在所请求资源上实现最佳 NUMA(Non-Uniform Memory Access,非一致存储访问结构)的 Pod。best-effort:kubelet 会优先选择在 CPU 和设备资源上实现 NUMA 的 Pod。single-numa-node:kubelet 仅允许在同一个节点的 CPU 和设备资源上实现 NUMA 的 Pod。
- topology_
manager_ strscope - 拓扑管理策略的资源粒度,取值:container:表示资源对齐粒度为容器级。pod:表示资源对齐粒度为 Pod 级。
- cpu
Manager StringPolicy - 配置 kubelet 的 CpuManagerPolicy 策略,包含 none 和 static 两种策略
- feature
Gates Property Map - 特性门控。
- kube
Api NumberBurst - 每秒发送到 API 服务器的突发请求数量上限。不包括事件和节点心跳 API,其速率限制由一组不同的标志控制。
- kube
Api NumberQps - 与 apiserver 通信的每秒查询个数(QPS)。不包含事件和节点心跳 API,它们的速率限制是由一组不同的标志所控制。
- kube
Reserveds List<Property Map> - max
Pods Number - 配置 kubelet 支持的最大 Pod 数量
- registry
Burst Number - 设置突发性镜像拉取的个数上限,在不超过 RegistryPullQps 设置值的前提下暂时允许此参数所给的镜像拉取个数。
- registry
Pull NumberQps - 可用来限制镜像仓库的 QPS 上限
- serialize
Image BooleanPulls - 逐一拉取镜像。
- system
Reserveds List<Property Map> - topology
Manager StringPolicy - 拓扑管理策略,取值:none:(默认)禁用拓扑管理策略。restricted:kubelet 仅接受在所请求资源上实现最佳 NUMA(Non-Uniform Memory Access,非一致存储访问结构)的 Pod。best-effort:kubelet 会优先选择在 CPU 和设备资源上实现 NUMA 的 Pod。single-numa-node:kubelet 仅允许在同一个节点的 CPU 和设备资源上实现 NUMA 的 Pod。
- topology
Manager StringScope - 拓扑管理策略的资源粒度,取值:container:表示资源对齐粒度为容器级。pod:表示资源对齐粒度为 Pod 级。
NodePoolKubernetesConfigKubeletConfigFeatureGates, NodePoolKubernetesConfigKubeletConfigFeatureGatesArgs
- In
Place boolPod Vertical Scaling - 是否开启特性开关本地垂直Pod伸缩
- Qo
SResource boolManager - 是否开启 QoSResourceManager特性开关,取值: - true 开启。 - false 关闭。
- In
Place boolPod Vertical Scaling - 是否开启特性开关本地垂直Pod伸缩
- Qo
SResource boolManager - 是否开启 QoSResourceManager特性开关,取值: - true 开启。 - false 关闭。
- in
Place BooleanPod Vertical Scaling - 是否开启特性开关本地垂直Pod伸缩
- qo
SResource BooleanManager - 是否开启 QoSResourceManager特性开关,取值: - true 开启。 - false 关闭。
- in
Place booleanPod Vertical Scaling - 是否开启特性开关本地垂直Pod伸缩
- qo
SResource booleanManager - 是否开启 QoSResourceManager特性开关,取值: - true 开启。 - false 关闭。
- in_
place_ boolpod_ vertical_ scaling - 是否开启特性开关本地垂直Pod伸缩
- qo_
s_ boolresource_ manager - 是否开启 QoSResourceManager特性开关,取值: - true 开启。 - false 关闭。
- in
Place BooleanPod Vertical Scaling - 是否开启特性开关本地垂直Pod伸缩
- qo
SResource BooleanManager - 是否开启 QoSResourceManager特性开关,取值: - true 开启。 - false 关闭。
NodePoolKubernetesConfigKubeletConfigKubeReserved, NodePoolKubernetesConfigKubeletConfigKubeReservedArgs
NodePoolKubernetesConfigKubeletConfigSystemReserved, NodePoolKubernetesConfigKubeletConfigSystemReservedArgs
NodePoolKubernetesConfigLabel, NodePoolKubernetesConfigLabelArgs
NodePoolKubernetesConfigTaint, NodePoolKubernetesConfigTaintArgs
NodePoolManagement, NodePoolManagementArgs
- Enabled bool
- 节点池是否开启托管。取值: - true:开启。 - false:关闭。。
- Remedy
Config Byteplus.Node Pool Management Remedy Config - 检查自愈配置。
- Enabled bool
- 节点池是否开启托管。取值: - true:开启。 - false:关闭。。
- Remedy
Config NodePool Management Remedy Config - 检查自愈配置。
- enabled Boolean
- 节点池是否开启托管。取值: - true:开启。 - false:关闭。。
- remedy
Config NodePool Management Remedy Config - 检查自愈配置。
- enabled boolean
- 节点池是否开启托管。取值: - true:开启。 - false:关闭。。
- remedy
Config NodePool Management Remedy Config - 检查自愈配置。
- enabled bool
- 节点池是否开启托管。取值: - true:开启。 - false:关闭。。
- remedy_
config NodePool Management Remedy Config - 检查自愈配置。
- enabled Boolean
- 节点池是否开启托管。取值: - true:开启。 - false:关闭。。
- remedy
Config Property Map - 检查自愈配置。
NodePoolManagementRemedyConfig, NodePoolManagementRemedyConfigArgs
NodePoolNodeConfig, NodePoolNodeConfigArgs
- Additional
Container boolStorage Enabled - 节点的第一块数据盘是否已配置并格式化挂载作为容器镜像和日志的存储目录,参数值说明:false:未配置并格式化。true:已配置并格式化。
- Auto
Renew bool - 云服务器实例到期是否自动续费,参数值说明:true:自动续费false:不自动续费仅当InstanceChargeType=PrePaid时才返回的参数。
- Auto
Renew intPeriod - 云服务器实例每次自动续费时长,单位为月。仅当AutoRenew=true时才返回的参数。
- Data
Volumes List<Byteplus.Node Pool Node Config Data Volume> - Deployment
Set intGroup Number - 实例在部署集中的分组号,0表示未设置
- Deployment
Set stringId - 实例需要加入的部署集ID
- Hostname string
- 节点对应的主机名称。
- Hpc
Cluster List<string>Ids - 高性能计算集群 ID。当节点池配置为高性能计算 GPU 型规格节点时,返回高性能计算集群 ID。
- Image
Id string - 节点对应云服务器所使用的镜像 ID。
- Initialize
Script string - 创建并初始化节点后执行的自定义脚本。Base64 编码后的 Shell 格式脚本。
- Instance
Charge stringType - 云服务器实例计费类型,参数值说明:PostPaid:按量计费PrePaid:包年包月
- Instance
Name string - 节点(实例)名称。
- Instance
Type List<string>Ids - 节点对应的云服务器实例规格 ID 列表。
- Instances
Distribution Byteplus.Node Pool Node Config Instances Distribution - 设置抢占式实例和按量实例的混合策略。当SpotStrategy为SpotAsPriceGo时,该策略生效。。
- Name
Prefix string - 节点名称前缀,为空字符串或 nil 时表示未开启节点名称前缀策略。
- Network
Traffic stringMode - 节点间的网络通讯模式。
- Period int
- 云服务器实例购买时长,单位为月。仅当InstanceChargeType=PrePaid时才返回的参数。
- Pre
Script string - 部署节点前执行脚本。
- Project
Name string - ECS所属项目,一个ECS只能归属于一个项目。
- Public
Access Byteplus.Config Node Pool Node Config Public Access Config - 节点自动开启公网访问的配置信息
- Public
Access boolEnabled - 节点是否自动开启公网访问。取值: - false:关闭 - true:开启
- Security
Byteplus.
Node Pool Node Config Security - 节点安全配置。
- Spot
Strategy string - 按量计费的抢占式策略,当InstanceChargeType=PostPaid时NoSpot:正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格。
- Subnet
Ids List<string> - 节点网络所属的子网 ID 列表。
- System
Volume Byteplus.Node Pool Node Config System Volume - 节点的系统盘配置。
-
List<Byteplus.
Node Pool Node Config Tag>
- Additional
Container boolStorage Enabled - 节点的第一块数据盘是否已配置并格式化挂载作为容器镜像和日志的存储目录,参数值说明:false:未配置并格式化。true:已配置并格式化。
- Auto
Renew bool - 云服务器实例到期是否自动续费,参数值说明:true:自动续费false:不自动续费仅当InstanceChargeType=PrePaid时才返回的参数。
- Auto
Renew intPeriod - 云服务器实例每次自动续费时长,单位为月。仅当AutoRenew=true时才返回的参数。
- Data
Volumes []NodePool Node Config Data Volume - Deployment
Set intGroup Number - 实例在部署集中的分组号,0表示未设置
- Deployment
Set stringId - 实例需要加入的部署集ID
- Hostname string
- 节点对应的主机名称。
- Hpc
Cluster []stringIds - 高性能计算集群 ID。当节点池配置为高性能计算 GPU 型规格节点时,返回高性能计算集群 ID。
- Image
Id string - 节点对应云服务器所使用的镜像 ID。
- Initialize
Script string - 创建并初始化节点后执行的自定义脚本。Base64 编码后的 Shell 格式脚本。
- Instance
Charge stringType - 云服务器实例计费类型,参数值说明:PostPaid:按量计费PrePaid:包年包月
- Instance
Name string - 节点(实例)名称。
- Instance
Type []stringIds - 节点对应的云服务器实例规格 ID 列表。
- Instances
Distribution NodePool Node Config Instances Distribution - 设置抢占式实例和按量实例的混合策略。当SpotStrategy为SpotAsPriceGo时,该策略生效。。
- Name
Prefix string - 节点名称前缀,为空字符串或 nil 时表示未开启节点名称前缀策略。
- Network
Traffic stringMode - 节点间的网络通讯模式。
- Period int
- 云服务器实例购买时长,单位为月。仅当InstanceChargeType=PrePaid时才返回的参数。
- Pre
Script string - 部署节点前执行脚本。
- Project
Name string - ECS所属项目,一个ECS只能归属于一个项目。
- Public
Access NodeConfig Pool Node Config Public Access Config - 节点自动开启公网访问的配置信息
- Public
Access boolEnabled - 节点是否自动开启公网访问。取值: - false:关闭 - true:开启
- Security
Node
Pool Node Config Security - 节点安全配置。
- Spot
Strategy string - 按量计费的抢占式策略,当InstanceChargeType=PostPaid时NoSpot:正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格。
- Subnet
Ids []string - 节点网络所属的子网 ID 列表。
- System
Volume NodePool Node Config System Volume - 节点的系统盘配置。
-
[]Node
Pool Node Config Tag
- additional
Container BooleanStorage Enabled - 节点的第一块数据盘是否已配置并格式化挂载作为容器镜像和日志的存储目录,参数值说明:false:未配置并格式化。true:已配置并格式化。
- auto
Renew Boolean - 云服务器实例到期是否自动续费,参数值说明:true:自动续费false:不自动续费仅当InstanceChargeType=PrePaid时才返回的参数。
- auto
Renew IntegerPeriod - 云服务器实例每次自动续费时长,单位为月。仅当AutoRenew=true时才返回的参数。
- data
Volumes List<NodePool Node Config Data Volume> - deployment
Set IntegerGroup Number - 实例在部署集中的分组号,0表示未设置
- deployment
Set StringId - 实例需要加入的部署集ID
- hostname String
- 节点对应的主机名称。
- hpc
Cluster List<String>Ids - 高性能计算集群 ID。当节点池配置为高性能计算 GPU 型规格节点时,返回高性能计算集群 ID。
- image
Id String - 节点对应云服务器所使用的镜像 ID。
- initialize
Script String - 创建并初始化节点后执行的自定义脚本。Base64 编码后的 Shell 格式脚本。
- instance
Charge StringType - 云服务器实例计费类型,参数值说明:PostPaid:按量计费PrePaid:包年包月
- instance
Name String - 节点(实例)名称。
- instance
Type List<String>Ids - 节点对应的云服务器实例规格 ID 列表。
- instances
Distribution NodePool Node Config Instances Distribution - 设置抢占式实例和按量实例的混合策略。当SpotStrategy为SpotAsPriceGo时,该策略生效。。
- name
Prefix String - 节点名称前缀,为空字符串或 nil 时表示未开启节点名称前缀策略。
- network
Traffic StringMode - 节点间的网络通讯模式。
- period Integer
- 云服务器实例购买时长,单位为月。仅当InstanceChargeType=PrePaid时才返回的参数。
- pre
Script String - 部署节点前执行脚本。
- project
Name String - ECS所属项目,一个ECS只能归属于一个项目。
- public
Access NodeConfig Pool Node Config Public Access Config - 节点自动开启公网访问的配置信息
- public
Access BooleanEnabled - 节点是否自动开启公网访问。取值: - false:关闭 - true:开启
- security
Node
Pool Node Config Security - 节点安全配置。
- spot
Strategy String - 按量计费的抢占式策略,当InstanceChargeType=PostPaid时NoSpot:正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格。
- subnet
Ids List<String> - 节点网络所属的子网 ID 列表。
- system
Volume NodePool Node Config System Volume - 节点的系统盘配置。
-
List<Node
Pool Node Config Tag>
- additional
Container booleanStorage Enabled - 节点的第一块数据盘是否已配置并格式化挂载作为容器镜像和日志的存储目录,参数值说明:false:未配置并格式化。true:已配置并格式化。
- auto
Renew boolean - 云服务器实例到期是否自动续费,参数值说明:true:自动续费false:不自动续费仅当InstanceChargeType=PrePaid时才返回的参数。
- auto
Renew numberPeriod - 云服务器实例每次自动续费时长,单位为月。仅当AutoRenew=true时才返回的参数。
- data
Volumes NodePool Node Config Data Volume[] - deployment
Set numberGroup Number - 实例在部署集中的分组号,0表示未设置
- deployment
Set stringId - 实例需要加入的部署集ID
- hostname string
- 节点对应的主机名称。
- hpc
Cluster string[]Ids - 高性能计算集群 ID。当节点池配置为高性能计算 GPU 型规格节点时,返回高性能计算集群 ID。
- image
Id string - 节点对应云服务器所使用的镜像 ID。
- initialize
Script string - 创建并初始化节点后执行的自定义脚本。Base64 编码后的 Shell 格式脚本。
- instance
Charge stringType - 云服务器实例计费类型,参数值说明:PostPaid:按量计费PrePaid:包年包月
- instance
Name string - 节点(实例)名称。
- instance
Type string[]Ids - 节点对应的云服务器实例规格 ID 列表。
- instances
Distribution NodePool Node Config Instances Distribution - 设置抢占式实例和按量实例的混合策略。当SpotStrategy为SpotAsPriceGo时,该策略生效。。
- name
Prefix string - 节点名称前缀,为空字符串或 nil 时表示未开启节点名称前缀策略。
- network
Traffic stringMode - 节点间的网络通讯模式。
- period number
- 云服务器实例购买时长,单位为月。仅当InstanceChargeType=PrePaid时才返回的参数。
- pre
Script string - 部署节点前执行脚本。
- project
Name string - ECS所属项目,一个ECS只能归属于一个项目。
- public
Access NodeConfig Pool Node Config Public Access Config - 节点自动开启公网访问的配置信息
- public
Access booleanEnabled - 节点是否自动开启公网访问。取值: - false:关闭 - true:开启
- security
Node
Pool Node Config Security - 节点安全配置。
- spot
Strategy string - 按量计费的抢占式策略,当InstanceChargeType=PostPaid时NoSpot:正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格。
- subnet
Ids string[] - 节点网络所属的子网 ID 列表。
- system
Volume NodePool Node Config System Volume - 节点的系统盘配置。
-
Node
Pool Node Config Tag[]
- additional_
container_ boolstorage_ enabled - 节点的第一块数据盘是否已配置并格式化挂载作为容器镜像和日志的存储目录,参数值说明:false:未配置并格式化。true:已配置并格式化。
- auto_
renew bool - 云服务器实例到期是否自动续费,参数值说明:true:自动续费false:不自动续费仅当InstanceChargeType=PrePaid时才返回的参数。
- auto_
renew_ intperiod - 云服务器实例每次自动续费时长,单位为月。仅当AutoRenew=true时才返回的参数。
- data_
volumes Sequence[NodePool Node Config Data Volume] - deployment_
set_ intgroup_ number - 实例在部署集中的分组号,0表示未设置
- deployment_
set_ strid - 实例需要加入的部署集ID
- hostname str
- 节点对应的主机名称。
- hpc_
cluster_ Sequence[str]ids - 高性能计算集群 ID。当节点池配置为高性能计算 GPU 型规格节点时,返回高性能计算集群 ID。
- image_
id str - 节点对应云服务器所使用的镜像 ID。
- initialize_
script str - 创建并初始化节点后执行的自定义脚本。Base64 编码后的 Shell 格式脚本。
- instance_
charge_ strtype - 云服务器实例计费类型,参数值说明:PostPaid:按量计费PrePaid:包年包月
- instance_
name str - 节点(实例)名称。
- instance_
type_ Sequence[str]ids - 节点对应的云服务器实例规格 ID 列表。
- instances_
distribution NodePool Node Config Instances Distribution - 设置抢占式实例和按量实例的混合策略。当SpotStrategy为SpotAsPriceGo时,该策略生效。。
- name_
prefix str - 节点名称前缀,为空字符串或 nil 时表示未开启节点名称前缀策略。
- network_
traffic_ strmode - 节点间的网络通讯模式。
- period int
- 云服务器实例购买时长,单位为月。仅当InstanceChargeType=PrePaid时才返回的参数。
- pre_
script str - 部署节点前执行脚本。
- project_
name str - ECS所属项目,一个ECS只能归属于一个项目。
- public_
access_ Nodeconfig Pool Node Config Public Access Config - 节点自动开启公网访问的配置信息
- public_
access_ boolenabled - 节点是否自动开启公网访问。取值: - false:关闭 - true:开启
- security
Node
Pool Node Config Security - 节点安全配置。
- spot_
strategy str - 按量计费的抢占式策略,当InstanceChargeType=PostPaid时NoSpot:正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格。
- subnet_
ids Sequence[str] - 节点网络所属的子网 ID 列表。
- system_
volume NodePool Node Config System Volume - 节点的系统盘配置。
-
Sequence[Node
Pool Node Config Tag]
- additional
Container BooleanStorage Enabled - 节点的第一块数据盘是否已配置并格式化挂载作为容器镜像和日志的存储目录,参数值说明:false:未配置并格式化。true:已配置并格式化。
- auto
Renew Boolean - 云服务器实例到期是否自动续费,参数值说明:true:自动续费false:不自动续费仅当InstanceChargeType=PrePaid时才返回的参数。
- auto
Renew NumberPeriod - 云服务器实例每次自动续费时长,单位为月。仅当AutoRenew=true时才返回的参数。
- data
Volumes List<Property Map> - deployment
Set NumberGroup Number - 实例在部署集中的分组号,0表示未设置
- deployment
Set StringId - 实例需要加入的部署集ID
- hostname String
- 节点对应的主机名称。
- hpc
Cluster List<String>Ids - 高性能计算集群 ID。当节点池配置为高性能计算 GPU 型规格节点时,返回高性能计算集群 ID。
- image
Id String - 节点对应云服务器所使用的镜像 ID。
- initialize
Script String - 创建并初始化节点后执行的自定义脚本。Base64 编码后的 Shell 格式脚本。
- instance
Charge StringType - 云服务器实例计费类型,参数值说明:PostPaid:按量计费PrePaid:包年包月
- instance
Name String - 节点(实例)名称。
- instance
Type List<String>Ids - 节点对应的云服务器实例规格 ID 列表。
- instances
Distribution Property Map - 设置抢占式实例和按量实例的混合策略。当SpotStrategy为SpotAsPriceGo时,该策略生效。。
- name
Prefix String - 节点名称前缀,为空字符串或 nil 时表示未开启节点名称前缀策略。
- network
Traffic StringMode - 节点间的网络通讯模式。
- period Number
- 云服务器实例购买时长,单位为月。仅当InstanceChargeType=PrePaid时才返回的参数。
- pre
Script String - 部署节点前执行脚本。
- project
Name String - ECS所属项目,一个ECS只能归属于一个项目。
- public
Access Property MapConfig - 节点自动开启公网访问的配置信息
- public
Access BooleanEnabled - 节点是否自动开启公网访问。取值: - false:关闭 - true:开启
- security Property Map
- 节点安全配置。
- spot
Strategy String - 按量计费的抢占式策略,当InstanceChargeType=PostPaid时NoSpot:正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格。
- subnet
Ids List<String> - 节点网络所属的子网 ID 列表。
- system
Volume Property Map - 节点的系统盘配置。
- List<Property Map>
NodePoolNodeConfigDataVolume, NodePoolNodeConfigDataVolumeArgs
- File
System string - 文件系统,取值: - Ext4 (默认值) - Xfs
- Mount
Point string - 磁盘格式化后的目标挂载目录。
- Placement
Group stringId - 放置组Id
- Size int
- 磁盘容量,单位 GiB。
- Snapshot
Id string - 使用快照创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。说明 - 仅极速型SSD和高效性云盘支持通过快照创建云盘 - 仅状态为“可用”(available)的快照支持创建新云盘,“创建中”、“回滚中”、“删除中”及“错误”状态下的快照不支持创建新云盘。
- Subgroup
Number int - 放置子组
- Type string
- 磁盘类型:ESSDPL0:性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
- File
System string - 文件系统,取值: - Ext4 (默认值) - Xfs
- Mount
Point string - 磁盘格式化后的目标挂载目录。
- Placement
Group stringId - 放置组Id
- Size int
- 磁盘容量,单位 GiB。
- Snapshot
Id string - 使用快照创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。说明 - 仅极速型SSD和高效性云盘支持通过快照创建云盘 - 仅状态为“可用”(available)的快照支持创建新云盘,“创建中”、“回滚中”、“删除中”及“错误”状态下的快照不支持创建新云盘。
- Subgroup
Number int - 放置子组
- Type string
- 磁盘类型:ESSDPL0:性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
- file
System String - 文件系统,取值: - Ext4 (默认值) - Xfs
- mount
Point String - 磁盘格式化后的目标挂载目录。
- placement
Group StringId - 放置组Id
- size Integer
- 磁盘容量,单位 GiB。
- snapshot
Id String - 使用快照创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。说明 - 仅极速型SSD和高效性云盘支持通过快照创建云盘 - 仅状态为“可用”(available)的快照支持创建新云盘,“创建中”、“回滚中”、“删除中”及“错误”状态下的快照不支持创建新云盘。
- subgroup
Number Integer - 放置子组
- type String
- 磁盘类型:ESSDPL0:性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
- file
System string - 文件系统,取值: - Ext4 (默认值) - Xfs
- mount
Point string - 磁盘格式化后的目标挂载目录。
- placement
Group stringId - 放置组Id
- size number
- 磁盘容量,单位 GiB。
- snapshot
Id string - 使用快照创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。说明 - 仅极速型SSD和高效性云盘支持通过快照创建云盘 - 仅状态为“可用”(available)的快照支持创建新云盘,“创建中”、“回滚中”、“删除中”及“错误”状态下的快照不支持创建新云盘。
- subgroup
Number number - 放置子组
- type string
- 磁盘类型:ESSDPL0:性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
- file_
system str - 文件系统,取值: - Ext4 (默认值) - Xfs
- mount_
point str - 磁盘格式化后的目标挂载目录。
- placement_
group_ strid - 放置组Id
- size int
- 磁盘容量,单位 GiB。
- snapshot_
id str - 使用快照创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。说明 - 仅极速型SSD和高效性云盘支持通过快照创建云盘 - 仅状态为“可用”(available)的快照支持创建新云盘,“创建中”、“回滚中”、“删除中”及“错误”状态下的快照不支持创建新云盘。
- subgroup_
number int - 放置子组
- type str
- 磁盘类型:ESSDPL0:性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
- file
System String - 文件系统,取值: - Ext4 (默认值) - Xfs
- mount
Point String - 磁盘格式化后的目标挂载目录。
- placement
Group StringId - 放置组Id
- size Number
- 磁盘容量,单位 GiB。
- snapshot
Id String - 使用快照创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。说明 - 仅极速型SSD和高效性云盘支持通过快照创建云盘 - 仅状态为“可用”(available)的快照支持创建新云盘,“创建中”、“回滚中”、“删除中”及“错误”状态下的快照不支持创建新云盘。
- subgroup
Number Number - 放置子组
- type String
- 磁盘类型:ESSDPL0:性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
NodePoolNodeConfigInstancesDistribution, NodePoolNodeConfigInstancesDistributionArgs
- Capacity
Rebalance bool - 容量重新平衡。取值范围: - true:开启该功能,当抢占式实例即将被回收前,主动创建新的抢占式实例进行补偿。 - false(默认值):不开启该功能,则等待抢占式实例被回收后才会去扩容补齐实例数
- Compensate
With boolOn Demand - 按量实例替补功能。取值范围: - true:开启该功能,当所有抢占式实例因库存不足等原因全部购买失败后,尝试购买按量实例 - false(默认值):不开启该功能,在需要扩容抢占式实例时仅尝试所配置的抢占式实例
- On
Demand intBase Capacity - 基础容量的大小,基础容量部分固定为按量计费实例。取值范围:[0,500],默认值为0。
- On
Demand intPercentage Above Base Capacity - 超出基础容量部分,按量计费实例所占的比例。取值范围[0, 100],0代表超出基础容量的部分仅生产抢占式实例,100代表仅生产按量实例,默认值为0。
- Capacity
Rebalance bool - 容量重新平衡。取值范围: - true:开启该功能,当抢占式实例即将被回收前,主动创建新的抢占式实例进行补偿。 - false(默认值):不开启该功能,则等待抢占式实例被回收后才会去扩容补齐实例数
- Compensate
With boolOn Demand - 按量实例替补功能。取值范围: - true:开启该功能,当所有抢占式实例因库存不足等原因全部购买失败后,尝试购买按量实例 - false(默认值):不开启该功能,在需要扩容抢占式实例时仅尝试所配置的抢占式实例
- On
Demand intBase Capacity - 基础容量的大小,基础容量部分固定为按量计费实例。取值范围:[0,500],默认值为0。
- On
Demand intPercentage Above Base Capacity - 超出基础容量部分,按量计费实例所占的比例。取值范围[0, 100],0代表超出基础容量的部分仅生产抢占式实例,100代表仅生产按量实例,默认值为0。
- capacity
Rebalance Boolean - 容量重新平衡。取值范围: - true:开启该功能,当抢占式实例即将被回收前,主动创建新的抢占式实例进行补偿。 - false(默认值):不开启该功能,则等待抢占式实例被回收后才会去扩容补齐实例数
- compensate
With BooleanOn Demand - 按量实例替补功能。取值范围: - true:开启该功能,当所有抢占式实例因库存不足等原因全部购买失败后,尝试购买按量实例 - false(默认值):不开启该功能,在需要扩容抢占式实例时仅尝试所配置的抢占式实例
- on
Demand IntegerBase Capacity - 基础容量的大小,基础容量部分固定为按量计费实例。取值范围:[0,500],默认值为0。
- on
Demand IntegerPercentage Above Base Capacity - 超出基础容量部分,按量计费实例所占的比例。取值范围[0, 100],0代表超出基础容量的部分仅生产抢占式实例,100代表仅生产按量实例,默认值为0。
- capacity
Rebalance boolean - 容量重新平衡。取值范围: - true:开启该功能,当抢占式实例即将被回收前,主动创建新的抢占式实例进行补偿。 - false(默认值):不开启该功能,则等待抢占式实例被回收后才会去扩容补齐实例数
- compensate
With booleanOn Demand - 按量实例替补功能。取值范围: - true:开启该功能,当所有抢占式实例因库存不足等原因全部购买失败后,尝试购买按量实例 - false(默认值):不开启该功能,在需要扩容抢占式实例时仅尝试所配置的抢占式实例
- on
Demand numberBase Capacity - 基础容量的大小,基础容量部分固定为按量计费实例。取值范围:[0,500],默认值为0。
- on
Demand numberPercentage Above Base Capacity - 超出基础容量部分,按量计费实例所占的比例。取值范围[0, 100],0代表超出基础容量的部分仅生产抢占式实例,100代表仅生产按量实例,默认值为0。
- capacity_
rebalance bool - 容量重新平衡。取值范围: - true:开启该功能,当抢占式实例即将被回收前,主动创建新的抢占式实例进行补偿。 - false(默认值):不开启该功能,则等待抢占式实例被回收后才会去扩容补齐实例数
- compensate_
with_ boolon_ demand - 按量实例替补功能。取值范围: - true:开启该功能,当所有抢占式实例因库存不足等原因全部购买失败后,尝试购买按量实例 - false(默认值):不开启该功能,在需要扩容抢占式实例时仅尝试所配置的抢占式实例
- on_
demand_ intbase_ capacity - 基础容量的大小,基础容量部分固定为按量计费实例。取值范围:[0,500],默认值为0。
- on_
demand_ intpercentage_ above_ base_ capacity - 超出基础容量部分,按量计费实例所占的比例。取值范围[0, 100],0代表超出基础容量的部分仅生产抢占式实例,100代表仅生产按量实例,默认值为0。
- capacity
Rebalance Boolean - 容量重新平衡。取值范围: - true:开启该功能,当抢占式实例即将被回收前,主动创建新的抢占式实例进行补偿。 - false(默认值):不开启该功能,则等待抢占式实例被回收后才会去扩容补齐实例数
- compensate
With BooleanOn Demand - 按量实例替补功能。取值范围: - true:开启该功能,当所有抢占式实例因库存不足等原因全部购买失败后,尝试购买按量实例 - false(默认值):不开启该功能,在需要扩容抢占式实例时仅尝试所配置的抢占式实例
- on
Demand NumberBase Capacity - 基础容量的大小,基础容量部分固定为按量计费实例。取值范围:[0,500],默认值为0。
- on
Demand NumberPercentage Above Base Capacity - 超出基础容量部分,按量计费实例所占的比例。取值范围[0, 100],0代表超出基础容量的部分仅生产抢占式实例,100代表仅生产按量实例,默认值为0。
NodePoolNodeConfigPublicAccessConfig, NodePoolNodeConfigPublicAccessConfigArgs
- Bandwidth int
- 公网 IP 的带宽峰值,单位:Mbps。
- Billing
Type int - 公网 IP 的计费类型:2:按量计费-按带宽上限。3:按量计费-按实际流量。
- Isp string
- 公网 IP 的线路类型,参数值说明: BGP:BGP(多线)。
- Bandwidth int
- 公网 IP 的带宽峰值,单位:Mbps。
- Billing
Type int - 公网 IP 的计费类型:2:按量计费-按带宽上限。3:按量计费-按实际流量。
- Isp string
- 公网 IP 的线路类型,参数值说明: BGP:BGP(多线)。
- bandwidth Integer
- 公网 IP 的带宽峰值,单位:Mbps。
- billing
Type Integer - 公网 IP 的计费类型:2:按量计费-按带宽上限。3:按量计费-按实际流量。
- isp String
- 公网 IP 的线路类型,参数值说明: BGP:BGP(多线)。
- bandwidth number
- 公网 IP 的带宽峰值,单位:Mbps。
- billing
Type number - 公网 IP 的计费类型:2:按量计费-按带宽上限。3:按量计费-按实际流量。
- isp string
- 公网 IP 的线路类型,参数值说明: BGP:BGP(多线)。
- bandwidth int
- 公网 IP 的带宽峰值,单位:Mbps。
- billing_
type int - 公网 IP 的计费类型:2:按量计费-按带宽上限。3:按量计费-按实际流量。
- isp str
- 公网 IP 的线路类型,参数值说明: BGP:BGP(多线)。
- bandwidth Number
- 公网 IP 的带宽峰值,单位:Mbps。
- billing
Type Number - 公网 IP 的计费类型:2:按量计费-按带宽上限。3:按量计费-按实际流量。
- isp String
- 公网 IP 的线路类型,参数值说明: BGP:BGP(多线)。
NodePoolNodeConfigSecurity, NodePoolNodeConfigSecurityArgs
- Login
Byteplus.
Node Pool Node Config Security Login - 节点的访问方式配置。
- Security
Group List<string>Ids - 节点网络所在的安全组 ID 列表。
- Security
Strategies List<string> - 节点的安全策略,参数值说明:Hids:主机安全加固。
- Security
Strategy boolEnabled - 节点是否启用了安全加固配置,参数值说明:true:已开启。false:未开启。
- Login
Node
Pool Node Config Security Login - 节点的访问方式配置。
- Security
Group []stringIds - 节点网络所在的安全组 ID 列表。
- Security
Strategies []string - 节点的安全策略,参数值说明:Hids:主机安全加固。
- Security
Strategy boolEnabled - 节点是否启用了安全加固配置,参数值说明:true:已开启。false:未开启。
- login
Node
Pool Node Config Security Login - 节点的访问方式配置。
- security
Group List<String>Ids - 节点网络所在的安全组 ID 列表。
- security
Strategies List<String> - 节点的安全策略,参数值说明:Hids:主机安全加固。
- security
Strategy BooleanEnabled - 节点是否启用了安全加固配置,参数值说明:true:已开启。false:未开启。
- login
Node
Pool Node Config Security Login - 节点的访问方式配置。
- security
Group string[]Ids - 节点网络所在的安全组 ID 列表。
- security
Strategies string[] - 节点的安全策略,参数值说明:Hids:主机安全加固。
- security
Strategy booleanEnabled - 节点是否启用了安全加固配置,参数值说明:true:已开启。false:未开启。
- login
Node
Pool Node Config Security Login - 节点的访问方式配置。
- security_
group_ Sequence[str]ids - 节点网络所在的安全组 ID 列表。
- security_
strategies Sequence[str] - 节点的安全策略,参数值说明:Hids:主机安全加固。
- security_
strategy_ boolenabled - 节点是否启用了安全加固配置,参数值说明:true:已开启。false:未开启。
- login Property Map
- 节点的访问方式配置。
- security
Group List<String>Ids - 节点网络所在的安全组 ID 列表。
- security
Strategies List<String> - 节点的安全策略,参数值说明:Hids:主机安全加固。
- security
Strategy BooleanEnabled - 节点是否启用了安全加固配置,参数值说明:true:已开启。false:未开启。
NodePoolNodeConfigSecurityLogin, NodePoolNodeConfigSecurityLoginArgs
- Password string
- Root 用户登录密码,使用 Base64 编码格式。请遵循云服务器对于实例密码的要求规范:长度为 8~30 个字符,不能以/和$6$开头,支持以下几项字符,且至少包含三项,小写字母a~z,大写字母A~Z,数字0~9,特殊字符( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- Ssh
Key stringPair Name - SSH 密钥对名称。请确保该密钥对已在云服务器中创建或托管。
- Type string
- 节点的访问登录方式,参数值说明:Password:密码登录。SshKeyPair:SSH 密钥对登录。
- Password string
- Root 用户登录密码,使用 Base64 编码格式。请遵循云服务器对于实例密码的要求规范:长度为 8~30 个字符,不能以/和$6$开头,支持以下几项字符,且至少包含三项,小写字母a~z,大写字母A~Z,数字0~9,特殊字符( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- Ssh
Key stringPair Name - SSH 密钥对名称。请确保该密钥对已在云服务器中创建或托管。
- Type string
- 节点的访问登录方式,参数值说明:Password:密码登录。SshKeyPair:SSH 密钥对登录。
- password String
- Root 用户登录密码,使用 Base64 编码格式。请遵循云服务器对于实例密码的要求规范:长度为 8~30 个字符,不能以/和$6$开头,支持以下几项字符,且至少包含三项,小写字母a~z,大写字母A~Z,数字0~9,特殊字符( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- ssh
Key StringPair Name - SSH 密钥对名称。请确保该密钥对已在云服务器中创建或托管。
- type String
- 节点的访问登录方式,参数值说明:Password:密码登录。SshKeyPair:SSH 密钥对登录。
- password string
- Root 用户登录密码,使用 Base64 编码格式。请遵循云服务器对于实例密码的要求规范:长度为 8~30 个字符,不能以/和$6$开头,支持以下几项字符,且至少包含三项,小写字母a~z,大写字母A~Z,数字0~9,特殊字符( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- ssh
Key stringPair Name - SSH 密钥对名称。请确保该密钥对已在云服务器中创建或托管。
- type string
- 节点的访问登录方式,参数值说明:Password:密码登录。SshKeyPair:SSH 密钥对登录。
- password str
- Root 用户登录密码,使用 Base64 编码格式。请遵循云服务器对于实例密码的要求规范:长度为 8~30 个字符,不能以/和$6$开头,支持以下几项字符,且至少包含三项,小写字母a~z,大写字母A~Z,数字0~9,特殊字符( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- ssh_
key_ strpair_ name - SSH 密钥对名称。请确保该密钥对已在云服务器中创建或托管。
- type str
- 节点的访问登录方式,参数值说明:Password:密码登录。SshKeyPair:SSH 密钥对登录。
- password String
- Root 用户登录密码,使用 Base64 编码格式。请遵循云服务器对于实例密码的要求规范:长度为 8~30 个字符,不能以/和$6$开头,支持以下几项字符,且至少包含三项,小写字母a~z,大写字母A~Z,数字0~9,特殊字符( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- ssh
Key StringPair Name - SSH 密钥对名称。请确保该密钥对已在云服务器中创建或托管。
- type String
- 节点的访问登录方式,参数值说明:Password:密码登录。SshKeyPair:SSH 密钥对登录。
NodePoolNodeConfigSystemVolume, NodePoolNodeConfigSystemVolumeArgs
- Placement
Group stringId - 放置组Id
- Size int
- 云盘容量,单位 GiB,取值说明:默认值:40GiB。极速型 SSD(ESSDPL0,ESSDFlexPL):40~2048GiB。
- Subgroup
Number int - 放置子组
- Type string
- 云盘类型:ESSDPL0:(默认值)性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
- Placement
Group stringId - 放置组Id
- Size int
- 云盘容量,单位 GiB,取值说明:默认值:40GiB。极速型 SSD(ESSDPL0,ESSDFlexPL):40~2048GiB。
- Subgroup
Number int - 放置子组
- Type string
- 云盘类型:ESSDPL0:(默认值)性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
- placement
Group StringId - 放置组Id
- size Integer
- 云盘容量,单位 GiB,取值说明:默认值:40GiB。极速型 SSD(ESSDPL0,ESSDFlexPL):40~2048GiB。
- subgroup
Number Integer - 放置子组
- type String
- 云盘类型:ESSDPL0:(默认值)性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
- placement
Group stringId - 放置组Id
- size number
- 云盘容量,单位 GiB,取值说明:默认值:40GiB。极速型 SSD(ESSDPL0,ESSDFlexPL):40~2048GiB。
- subgroup
Number number - 放置子组
- type string
- 云盘类型:ESSDPL0:(默认值)性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
- placement_
group_ strid - 放置组Id
- size int
- 云盘容量,单位 GiB,取值说明:默认值:40GiB。极速型 SSD(ESSDPL0,ESSDFlexPL):40~2048GiB。
- subgroup_
number int - 放置子组
- type str
- 云盘类型:ESSDPL0:(默认值)性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
- placement
Group StringId - 放置组Id
- size Number
- 云盘容量,单位 GiB,取值说明:默认值:40GiB。极速型 SSD(ESSDPL0,ESSDFlexPL):40~2048GiB。
- subgroup
Number Number - 放置子组
- type String
- 云盘类型:ESSDPL0:(默认值)性能级别为 PL0 的极速型 SSD 云盘。ESSDFlexPL:性能级别为 PL1 的极速型 SSD 云盘。
NodePoolNodeConfigTag, NodePoolNodeConfigTagArgs
NodePoolNodeStatistics, NodePoolNodeStatisticsArgs
- Creating
Count int - Phase=Creating的节点总数量。
- Deleting
Count int - Phase=Deleting的节点总数量。
- Failed
Count int - Phase=Failed的节点总数量。
- Running
Count int - Phase=Running的节点总数量。
- Total
Count int - 节点池中的节点总数量。
- Updating
Count int - Phase=Updating的节点总数量。
- Creating
Count int - Phase=Creating的节点总数量。
- Deleting
Count int - Phase=Deleting的节点总数量。
- Failed
Count int - Phase=Failed的节点总数量。
- Running
Count int - Phase=Running的节点总数量。
- Total
Count int - 节点池中的节点总数量。
- Updating
Count int - Phase=Updating的节点总数量。
- creating
Count Integer - Phase=Creating的节点总数量。
- deleting
Count Integer - Phase=Deleting的节点总数量。
- failed
Count Integer - Phase=Failed的节点总数量。
- running
Count Integer - Phase=Running的节点总数量。
- total
Count Integer - 节点池中的节点总数量。
- updating
Count Integer - Phase=Updating的节点总数量。
- creating
Count number - Phase=Creating的节点总数量。
- deleting
Count number - Phase=Deleting的节点总数量。
- failed
Count number - Phase=Failed的节点总数量。
- running
Count number - Phase=Running的节点总数量。
- total
Count number - 节点池中的节点总数量。
- updating
Count number - Phase=Updating的节点总数量。
- creating_
count int - Phase=Creating的节点总数量。
- deleting_
count int - Phase=Deleting的节点总数量。
- failed_
count int - Phase=Failed的节点总数量。
- running_
count int - Phase=Running的节点总数量。
- total_
count int - 节点池中的节点总数量。
- updating_
count int - Phase=Updating的节点总数量。
- creating
Count Number - Phase=Creating的节点总数量。
- deleting
Count Number - Phase=Deleting的节点总数量。
- failed
Count Number - Phase=Failed的节点总数量。
- running
Count Number - Phase=Running的节点总数量。
- total
Count Number - 节点池中的节点总数量。
- updating
Count Number - Phase=Updating的节点总数量。
NodePoolStatus, NodePoolStatusArgs
- Conditions
List<Byteplus.
Node Pool Status Condition> - Phase string
- 节点池的状态,参数值有:Creating、Running、Updating、Deleting、Failed、Scaling。
- Conditions
[]Node
Pool Status Condition - Phase string
- 节点池的状态,参数值有:Creating、Running、Updating、Deleting、Failed、Scaling。
- conditions
List<Node
Pool Status Condition> - phase String
- 节点池的状态,参数值有:Creating、Running、Updating、Deleting、Failed、Scaling。
- conditions
Node
Pool Status Condition[] - phase string
- 节点池的状态,参数值有:Creating、Running、Updating、Deleting、Failed、Scaling。
- conditions
Sequence[Node
Pool Status Condition] - phase str
- 节点池的状态,参数值有:Creating、Running、Updating、Deleting、Failed、Scaling。
- conditions List<Property Map>
- phase String
- 节点池的状态,参数值有:Creating、Running、Updating、Deleting、Failed、Scaling。
NodePoolStatusCondition, NodePoolStatusConditionArgs
- Type string
- 节点池当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:ProgressingOk、ResourceCleanupFailed、Unknown、ClusterNotRunning。
- Type string
- 节点池当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:ProgressingOk、ResourceCleanupFailed、Unknown、ClusterNotRunning。
- type String
- 节点池当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:ProgressingOk、ResourceCleanupFailed、Unknown、ClusterNotRunning。
- type string
- 节点池当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:ProgressingOk、ResourceCleanupFailed、Unknown、ClusterNotRunning。
- type str
- 节点池当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:ProgressingOk、ResourceCleanupFailed、Unknown、ClusterNotRunning。
- type String
- 节点池当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:ProgressingOk、ResourceCleanupFailed、Unknown、ClusterNotRunning。
NodePoolTag, NodePoolTagArgs
Import
$ pulumi import bytepluscc:vke/nodePool:NodePool example "cluster_id|node_pool_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
