published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
对应 Kubernetes 中的 Node,是容器服务集群组成的基本元素。节点主要包括:Master 节点(控制节点)和 Worker 节点(计算节点/工作节点)。应用实际部署在 Worker 节点上,支持通过配置随机部署在 Worker 节点上或部署在指定的 Worker 节点上。容器服务中的 节点 一般指 Worker 节点。
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const vkeNodeDemo = new bytepluscc.vke.Node("VkeNodeDemo", {
additionalContainerStorageEnabled: false,
clusterId: "cd5rdfs5ixxxxxotsc2g",
containerStoragePath: "",
instanceId: "i-yeekjuixxxxx4je5vfr",
keepInstanceName: true,
nodePoolId: "pd5s9srqxxxxxo88e621g",
});
import pulumi
import pulumi_bytepluscc as bytepluscc
vke_node_demo = bytepluscc.vke.Node("VkeNodeDemo",
additional_container_storage_enabled=False,
cluster_id="cd5rdfs5ixxxxxotsc2g",
container_storage_path="",
instance_id="i-yeekjuixxxxx4je5vfr",
keep_instance_name=True,
node_pool_id="pd5s9srqxxxxxo88e621g")
package main
import (
"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/vke"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vke.NewNode(ctx, "VkeNodeDemo", &vke.NodeArgs{
AdditionalContainerStorageEnabled: pulumi.Bool(false),
ClusterId: pulumi.String("cd5rdfs5ixxxxxotsc2g"),
ContainerStoragePath: pulumi.String(""),
InstanceId: pulumi.String("i-yeekjuixxxxx4je5vfr"),
KeepInstanceName: pulumi.Bool(true),
NodePoolId: pulumi.String("pd5s9srqxxxxxo88e621g"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
return await Deployment.RunAsync(() =>
{
var vkeNodeDemo = new Bytepluscc.Vke.Node("VkeNodeDemo", new()
{
AdditionalContainerStorageEnabled = false,
ClusterId = "cd5rdfs5ixxxxxotsc2g",
ContainerStoragePath = "",
InstanceId = "i-yeekjuixxxxx4je5vfr",
KeepInstanceName = true,
NodePoolId = "pd5s9srqxxxxxo88e621g",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.vke.Node;
import com.byteplus.bytepluscc.vke.NodeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var vkeNodeDemo = new Node("vkeNodeDemo", NodeArgs.builder()
.additionalContainerStorageEnabled(false)
.clusterId("cd5rdfs5ixxxxxotsc2g")
.containerStoragePath("")
.instanceId("i-yeekjuixxxxx4je5vfr")
.keepInstanceName(true)
.nodePoolId("pd5s9srqxxxxxo88e621g")
.build());
}
}
resources:
vkeNodeDemo:
type: bytepluscc:vke:Node
name: VkeNodeDemo
properties:
additionalContainerStorageEnabled: false
clusterId: cd5rdfs5ixxxxxotsc2g
containerStoragePath: ""
instanceId: i-yeekjuixxxxx4je5vfr
keepInstanceName: true
nodePoolId: pd5s9srqxxxxxo88e621g
Create Node Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Node(name: string, args: NodeArgs, opts?: CustomResourceOptions);@overload
def Node(resource_name: str,
args: NodeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Node(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
node_pool_id: Optional[str] = None,
additional_container_storage_enabled: Optional[bool] = None,
container_storage_path: Optional[str] = None,
image_id: Optional[str] = None,
initialize_script: Optional[str] = None,
instance_id: Optional[str] = None,
keep_instance_name: Optional[bool] = None,
kubernetes_config: Optional[NodeKubernetesConfigArgs] = None)func NewNode(ctx *Context, name string, args NodeArgs, opts ...ResourceOption) (*Node, error)public Node(string name, NodeArgs args, CustomResourceOptions? opts = null)type: bytepluscc:vke:Node
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 NodeArgs
- 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 NodeArgs
- 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 NodeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeArgs
- 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 nodeResource = new Bytepluscc.Vke.Node("nodeResource", new()
{
ClusterId = "string",
NodePoolId = "string",
AdditionalContainerStorageEnabled = false,
ContainerStoragePath = "string",
ImageId = "string",
InitializeScript = "string",
InstanceId = "string",
KeepInstanceName = false,
KubernetesConfig = new Bytepluscc.Vke.Inputs.NodeKubernetesConfigArgs
{
Cordon = false,
Labels = new[]
{
new Bytepluscc.Vke.Inputs.NodeKubernetesConfigLabelArgs
{
Key = "string",
Value = "string",
},
},
Taints = new[]
{
new Bytepluscc.Vke.Inputs.NodeKubernetesConfigTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
},
});
example, err := vke.NewNode(ctx, "nodeResource", &vke.NodeArgs{
ClusterId: pulumi.String("string"),
NodePoolId: pulumi.String("string"),
AdditionalContainerStorageEnabled: pulumi.Bool(false),
ContainerStoragePath: pulumi.String("string"),
ImageId: pulumi.String("string"),
InitializeScript: pulumi.String("string"),
InstanceId: pulumi.String("string"),
KeepInstanceName: pulumi.Bool(false),
KubernetesConfig: &vke.NodeKubernetesConfigArgs{
Cordon: pulumi.Bool(false),
Labels: vke.NodeKubernetesConfigLabelArray{
&vke.NodeKubernetesConfigLabelArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Taints: vke.NodeKubernetesConfigTaintArray{
&vke.NodeKubernetesConfigTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
})
var nodeResource = new Node("nodeResource", NodeArgs.builder()
.clusterId("string")
.nodePoolId("string")
.additionalContainerStorageEnabled(false)
.containerStoragePath("string")
.imageId("string")
.initializeScript("string")
.instanceId("string")
.keepInstanceName(false)
.kubernetesConfig(NodeKubernetesConfigArgs.builder()
.cordon(false)
.labels(NodeKubernetesConfigLabelArgs.builder()
.key("string")
.value("string")
.build())
.taints(NodeKubernetesConfigTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.build())
.build());
node_resource = bytepluscc.vke.Node("nodeResource",
cluster_id="string",
node_pool_id="string",
additional_container_storage_enabled=False,
container_storage_path="string",
image_id="string",
initialize_script="string",
instance_id="string",
keep_instance_name=False,
kubernetes_config={
"cordon": False,
"labels": [{
"key": "string",
"value": "string",
}],
"taints": [{
"effect": "string",
"key": "string",
"value": "string",
}],
})
const nodeResource = new bytepluscc.vke.Node("nodeResource", {
clusterId: "string",
nodePoolId: "string",
additionalContainerStorageEnabled: false,
containerStoragePath: "string",
imageId: "string",
initializeScript: "string",
instanceId: "string",
keepInstanceName: false,
kubernetesConfig: {
cordon: false,
labels: [{
key: "string",
value: "string",
}],
taints: [{
effect: "string",
key: "string",
value: "string",
}],
},
});
type: bytepluscc:vke:Node
properties:
additionalContainerStorageEnabled: false
clusterId: string
containerStoragePath: string
imageId: string
initializeScript: string
instanceId: string
keepInstanceName: false
kubernetesConfig:
cordon: false
labels:
- key: string
value: string
taints:
- effect: string
key: string
value: string
nodePoolId: string
Node 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 Node resource accepts the following input properties:
- Cluster
Id string - 集群的 ID。
- Node
Pool stringId - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- Additional
Container boolStorage Enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- Container
Storage stringPath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- Image
Id string - 节点对应的 ECS 实例使用的镜像 ID。
- Initialize
Script string - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- Instance
Id string - 节点对应的云服务器实例 ID。
- Keep
Instance boolName - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- Kubernetes
Config Byteplus.Node Kubernetes Config - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
- Cluster
Id string - 集群的 ID。
- Node
Pool stringId - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- Additional
Container boolStorage Enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- Container
Storage stringPath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- Image
Id string - 节点对应的 ECS 实例使用的镜像 ID。
- Initialize
Script string - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- Instance
Id string - 节点对应的云服务器实例 ID。
- Keep
Instance boolName - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- Kubernetes
Config NodeKubernetes Config Args - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
- cluster
Id String - 集群的 ID。
- node
Pool StringId - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- additional
Container BooleanStorage Enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- container
Storage StringPath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- image
Id String - 节点对应的 ECS 实例使用的镜像 ID。
- initialize
Script String - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- instance
Id String - 节点对应的云服务器实例 ID。
- keep
Instance BooleanName - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- kubernetes
Config NodeKubernetes Config - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
- cluster
Id string - 集群的 ID。
- node
Pool stringId - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- additional
Container booleanStorage Enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- container
Storage stringPath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- image
Id string - 节点对应的 ECS 实例使用的镜像 ID。
- initialize
Script string - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- instance
Id string - 节点对应的云服务器实例 ID。
- keep
Instance booleanName - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- kubernetes
Config NodeKubernetes Config - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
- cluster_
id str - 集群的 ID。
- node_
pool_ strid - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- additional_
container_ boolstorage_ enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- container_
storage_ strpath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- image_
id str - 节点对应的 ECS 实例使用的镜像 ID。
- initialize_
script str - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- instance_
id str - 节点对应的云服务器实例 ID。
- keep_
instance_ boolname - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- kubernetes_
config NodeKubernetes Config Args - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
- cluster
Id String - 集群的 ID。
- node
Pool StringId - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- additional
Container BooleanStorage Enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- container
Storage StringPath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- image
Id String - 节点对应的 ECS 实例使用的镜像 ID。
- initialize
Script String - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- instance
Id String - 节点对应的云服务器实例 ID。
- keep
Instance BooleanName - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- kubernetes
Config Property Map - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
Outputs
All input properties are implicitly available as output properties. Additionally, the Node resource produces the following output properties:
- Created
Time string - 创建时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Virtual bool - 是否为虚拟节点,参数值说明:false:否 true:是。
- Name string
- 节点名称。
- Node
Id string - 节点 ID。
- Roles List<string>
- 节点角色,参数值说明:Worker:Worker节点。
- Status
Byteplus.
Node Status - 节点状态。
- Updated
Time string - 更新时间。
- Zone
Id string - 可用区 ID。
- Created
Time string - 创建时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Virtual bool - 是否为虚拟节点,参数值说明:false:否 true:是。
- Name string
- 节点名称。
- Node
Id string - 节点 ID。
- Roles []string
- 节点角色,参数值说明:Worker:Worker节点。
- Status
Node
Status - 节点状态。
- Updated
Time string - 更新时间。
- Zone
Id string - 可用区 ID。
- created
Time String - 创建时间。
- id String
- The provider-assigned unique ID for this managed resource.
- is
Virtual Boolean - 是否为虚拟节点,参数值说明:false:否 true:是。
- name String
- 节点名称。
- node
Id String - 节点 ID。
- roles List<String>
- 节点角色,参数值说明:Worker:Worker节点。
- status
Node
Status - 节点状态。
- updated
Time String - 更新时间。
- zone
Id String - 可用区 ID。
- created
Time string - 创建时间。
- id string
- The provider-assigned unique ID for this managed resource.
- is
Virtual boolean - 是否为虚拟节点,参数值说明:false:否 true:是。
- name string
- 节点名称。
- node
Id string - 节点 ID。
- roles string[]
- 节点角色,参数值说明:Worker:Worker节点。
- status
Node
Status - 节点状态。
- updated
Time string - 更新时间。
- zone
Id string - 可用区 ID。
- created_
time str - 创建时间。
- id str
- The provider-assigned unique ID for this managed resource.
- is_
virtual bool - 是否为虚拟节点,参数值说明:false:否 true:是。
- name str
- 节点名称。
- node_
id str - 节点 ID。
- roles Sequence[str]
- 节点角色,参数值说明:Worker:Worker节点。
- status
Node
Status - 节点状态。
- updated_
time str - 更新时间。
- zone_
id str - 可用区 ID。
- created
Time String - 创建时间。
- id String
- The provider-assigned unique ID for this managed resource.
- is
Virtual Boolean - 是否为虚拟节点,参数值说明:false:否 true:是。
- name String
- 节点名称。
- node
Id String - 节点 ID。
- roles List<String>
- 节点角色,参数值说明:Worker:Worker节点。
- status Property Map
- 节点状态。
- updated
Time String - 更新时间。
- zone
Id String - 可用区 ID。
Look up Existing Node Resource
Get an existing Node 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?: NodeState, opts?: CustomResourceOptions): Node@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_container_storage_enabled: Optional[bool] = None,
cluster_id: Optional[str] = None,
container_storage_path: Optional[str] = None,
created_time: Optional[str] = None,
image_id: Optional[str] = None,
initialize_script: Optional[str] = None,
instance_id: Optional[str] = None,
is_virtual: Optional[bool] = None,
keep_instance_name: Optional[bool] = None,
kubernetes_config: Optional[NodeKubernetesConfigArgs] = None,
name: Optional[str] = None,
node_id: Optional[str] = None,
node_pool_id: Optional[str] = None,
roles: Optional[Sequence[str]] = None,
status: Optional[NodeStatusArgs] = None,
updated_time: Optional[str] = None,
zone_id: Optional[str] = None) -> Nodefunc GetNode(ctx *Context, name string, id IDInput, state *NodeState, opts ...ResourceOption) (*Node, error)public static Node Get(string name, Input<string> id, NodeState? state, CustomResourceOptions? opts = null)public static Node get(String name, Output<String> id, NodeState state, CustomResourceOptions options)resources: _: type: bytepluscc:vke:Node 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.
- Additional
Container boolStorage Enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- Cluster
Id string - 集群的 ID。
- Container
Storage stringPath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- Created
Time string - 创建时间。
- Image
Id string - 节点对应的 ECS 实例使用的镜像 ID。
- Initialize
Script string - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- Instance
Id string - 节点对应的云服务器实例 ID。
- Is
Virtual bool - 是否为虚拟节点,参数值说明:false:否 true:是。
- Keep
Instance boolName - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- Kubernetes
Config Byteplus.Node Kubernetes Config - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
- Name string
- 节点名称。
- Node
Id string - 节点 ID。
- Node
Pool stringId - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- Roles List<string>
- 节点角色,参数值说明:Worker:Worker节点。
- Status
Byteplus.
Node Status - 节点状态。
- Updated
Time string - 更新时间。
- Zone
Id string - 可用区 ID。
- Additional
Container boolStorage Enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- Cluster
Id string - 集群的 ID。
- Container
Storage stringPath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- Created
Time string - 创建时间。
- Image
Id string - 节点对应的 ECS 实例使用的镜像 ID。
- Initialize
Script string - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- Instance
Id string - 节点对应的云服务器实例 ID。
- Is
Virtual bool - 是否为虚拟节点,参数值说明:false:否 true:是。
- Keep
Instance boolName - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- Kubernetes
Config NodeKubernetes Config Args - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
- Name string
- 节点名称。
- Node
Id string - 节点 ID。
- Node
Pool stringId - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- Roles []string
- 节点角色,参数值说明:Worker:Worker节点。
- Status
Node
Status Args - 节点状态。
- Updated
Time string - 更新时间。
- Zone
Id string - 可用区 ID。
- additional
Container BooleanStorage Enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- cluster
Id String - 集群的 ID。
- container
Storage StringPath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- created
Time String - 创建时间。
- image
Id String - 节点对应的 ECS 实例使用的镜像 ID。
- initialize
Script String - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- instance
Id String - 节点对应的云服务器实例 ID。
- is
Virtual Boolean - 是否为虚拟节点,参数值说明:false:否 true:是。
- keep
Instance BooleanName - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- kubernetes
Config NodeKubernetes Config - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
- name String
- 节点名称。
- node
Id String - 节点 ID。
- node
Pool StringId - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- roles List<String>
- 节点角色,参数值说明:Worker:Worker节点。
- status
Node
Status - 节点状态。
- updated
Time String - 更新时间。
- zone
Id String - 可用区 ID。
- additional
Container booleanStorage Enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- cluster
Id string - 集群的 ID。
- container
Storage stringPath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- created
Time string - 创建时间。
- image
Id string - 节点对应的 ECS 实例使用的镜像 ID。
- initialize
Script string - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- instance
Id string - 节点对应的云服务器实例 ID。
- is
Virtual boolean - 是否为虚拟节点,参数值说明:false:否 true:是。
- keep
Instance booleanName - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- kubernetes
Config NodeKubernetes Config - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
- name string
- 节点名称。
- node
Id string - 节点 ID。
- node
Pool stringId - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- roles string[]
- 节点角色,参数值说明:Worker:Worker节点。
- status
Node
Status - 节点状态。
- updated
Time string - 更新时间。
- zone
Id string - 可用区 ID。
- additional_
container_ boolstorage_ enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- cluster_
id str - 集群的 ID。
- container_
storage_ strpath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- created_
time str - 创建时间。
- image_
id str - 节点对应的 ECS 实例使用的镜像 ID。
- initialize_
script str - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- instance_
id str - 节点对应的云服务器实例 ID。
- is_
virtual bool - 是否为虚拟节点,参数值说明:false:否 true:是。
- keep_
instance_ boolname - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- kubernetes_
config NodeKubernetes Config Args - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
- name str
- 节点名称。
- node_
id str - 节点 ID。
- node_
pool_ strid - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- roles Sequence[str]
- 节点角色,参数值说明:Worker:Worker节点。
- status
Node
Status Args - 节点状态。
- updated_
time str - 更新时间。
- zone_
id str - 可用区 ID。
- additional
Container BooleanStorage Enabled - 选择配置节点的数据盘并格式化挂载作为容器镜像和日志的存储目录,取值:false:(默认值)关闭。默认节点池:表示不挂载数据盘。自定义节点池:使用节点池的数据盘配置进行挂载,被添加到节点池的 ECS 实例数据盘必须包含目标节点池指定了挂载的数据盘(含本地盘),且盘类型和大小完全一致。true: 开启。此时必须同时配置 ContainerStoragePath 参数。节点通过 ContainerStoragePath参数中的配置进行挂载,而忽略节点池的数据盘配置,对被添加到节点池的 ECS 实例数据盘无特殊要求。
- cluster
Id String - 集群的 ID。
- container
Storage StringPath - 使用该数据盘设备挂载容器和镜像存储目录/var/lib/containerd。 仅当AdditionalContainerStorageEnabled=true时有效,且不能为空。须满足以下条件,否则将初始化失败:仅支持已挂载数据盘的 ECS 实例。指定数据盘设备名时,请确保该数据盘设备存在,否则会初始化失败。指定数据盘分区或逻辑卷名时,请确保该分区或逻辑卷存在,且为 ext4 文件系统。
- created
Time String - 创建时间。
- image
Id String - 节点对应的 ECS 实例使用的镜像 ID。
- initialize
Script String - 创建 ECS 节点并完成 Kubernetes 组件部署后执行的脚本。支持 Shell 格式,Base64 编码后长度不超过 1 KB。为空时,节点继承使用默认节点池配置的初始化脚本NodeConfig.InitializeScript。自定义填写脚本内容后,使用自定义的脚本,忽略默认节点池配置的初始化脚本。
- instance
Id String - 节点对应的云服务器实例 ID。
- is
Virtual Boolean - 是否为虚拟节点,参数值说明:false:否 true:是。
- keep
Instance BooleanName - 是否保留原 ECS 实例名称,取值:false:(默认值)不保留原 ECS 实例名称,由容器服务自动为其命名。true:保留原 ECS 实例名称。
- kubernetes
Config Property Map - 节点 Kubernetes 相关配置。为空时,节点继承使用默认节点池的 Kubernetes 配置KubernetesConfig.Labels/Taints/Cordon。自定义填写配置后,使用自定义配置内容,忽略默认节点池的 Kubernetes 配置。
- name String
- 节点名称。
- node
Id String - 节点 ID。
- node
Pool StringId - 节点池 ID。不传入参数值:表示将已有 ECS 实例添加到默认节点池。传入参数值:表示将已有 ECS 实例添加到自定义节点池。
- roles List<String>
- 节点角色,参数值说明:Worker:Worker节点。
- status Property Map
- 节点状态。
- updated
Time String - 更新时间。
- zone
Id String - 可用区 ID。
Supporting Types
NodeKubernetesConfig, NodeKubernetesConfigArgs
- Cordon bool
- 封锁节点配置,取值:false:(默认值)不封锁 true:封锁
- Labels
List<Byteplus.
Node Kubernetes Config Label> - Taints
List<Byteplus.
Node Kubernetes Config Taint>
- Cordon bool
- 封锁节点配置,取值:false:(默认值)不封锁 true:封锁
- Labels
[]Node
Kubernetes Config Label - Taints
[]Node
Kubernetes Config Taint
- cordon Boolean
- 封锁节点配置,取值:false:(默认值)不封锁 true:封锁
- labels
List<Node
Kubernetes Config Label> - taints
List<Node
Kubernetes Config Taint>
- cordon boolean
- 封锁节点配置,取值:false:(默认值)不封锁 true:封锁
- labels
Node
Kubernetes Config Label[] - taints
Node
Kubernetes Config Taint[]
- cordon bool
- 封锁节点配置,取值:false:(默认值)不封锁 true:封锁
- labels
Sequence[Node
Kubernetes Config Label] - taints
Sequence[Node
Kubernetes Config Taint]
- cordon Boolean
- 封锁节点配置,取值:false:(默认值)不封锁 true:封锁
- labels List<Property Map>
- taints List<Property Map>
NodeKubernetesConfigLabel, NodeKubernetesConfigLabelArgs
NodeKubernetesConfigTaint, NodeKubernetesConfigTaintArgs
- Effect string
- 污点效果,取值:NoSchedule:(默认值)不调度。NoExecute:驱逐没有容忍污点的 Pod。PreferNoSchedule:尽量避免调度。
- Key string
- 污点键,有效的污点键有两个段:<前缀>和<名称>,用斜杠(/)分隔。<名称>是必须的,支持英文大小写字母、数字、短划线(-)、下划线(_)、英文句号( .),以字母或数字开头和结尾,长度不超过 63 个字符。<前缀>是可选的。如果指定<前缀>,则必须是 DNS 子域:由英文句号(.)分隔的一系列 DNS 标签,长度不超过 253 个字符。<前缀>和<名称>总长度不超过 82 个字符。
- Value string
- 污点值,长度不超过 63 个字符(可以为空)。支持以英文大小写字母、数字开头和结尾。支持特殊字符:短划线(-)、下划线(_)、英文句号(.)。
- Effect string
- 污点效果,取值:NoSchedule:(默认值)不调度。NoExecute:驱逐没有容忍污点的 Pod。PreferNoSchedule:尽量避免调度。
- Key string
- 污点键,有效的污点键有两个段:<前缀>和<名称>,用斜杠(/)分隔。<名称>是必须的,支持英文大小写字母、数字、短划线(-)、下划线(_)、英文句号( .),以字母或数字开头和结尾,长度不超过 63 个字符。<前缀>是可选的。如果指定<前缀>,则必须是 DNS 子域:由英文句号(.)分隔的一系列 DNS 标签,长度不超过 253 个字符。<前缀>和<名称>总长度不超过 82 个字符。
- Value string
- 污点值,长度不超过 63 个字符(可以为空)。支持以英文大小写字母、数字开头和结尾。支持特殊字符:短划线(-)、下划线(_)、英文句号(.)。
- effect String
- 污点效果,取值:NoSchedule:(默认值)不调度。NoExecute:驱逐没有容忍污点的 Pod。PreferNoSchedule:尽量避免调度。
- key String
- 污点键,有效的污点键有两个段:<前缀>和<名称>,用斜杠(/)分隔。<名称>是必须的,支持英文大小写字母、数字、短划线(-)、下划线(_)、英文句号( .),以字母或数字开头和结尾,长度不超过 63 个字符。<前缀>是可选的。如果指定<前缀>,则必须是 DNS 子域:由英文句号(.)分隔的一系列 DNS 标签,长度不超过 253 个字符。<前缀>和<名称>总长度不超过 82 个字符。
- value String
- 污点值,长度不超过 63 个字符(可以为空)。支持以英文大小写字母、数字开头和结尾。支持特殊字符:短划线(-)、下划线(_)、英文句号(.)。
- effect string
- 污点效果,取值:NoSchedule:(默认值)不调度。NoExecute:驱逐没有容忍污点的 Pod。PreferNoSchedule:尽量避免调度。
- key string
- 污点键,有效的污点键有两个段:<前缀>和<名称>,用斜杠(/)分隔。<名称>是必须的,支持英文大小写字母、数字、短划线(-)、下划线(_)、英文句号( .),以字母或数字开头和结尾,长度不超过 63 个字符。<前缀>是可选的。如果指定<前缀>,则必须是 DNS 子域:由英文句号(.)分隔的一系列 DNS 标签,长度不超过 253 个字符。<前缀>和<名称>总长度不超过 82 个字符。
- value string
- 污点值,长度不超过 63 个字符(可以为空)。支持以英文大小写字母、数字开头和结尾。支持特殊字符:短划线(-)、下划线(_)、英文句号(.)。
- effect str
- 污点效果,取值:NoSchedule:(默认值)不调度。NoExecute:驱逐没有容忍污点的 Pod。PreferNoSchedule:尽量避免调度。
- key str
- 污点键,有效的污点键有两个段:<前缀>和<名称>,用斜杠(/)分隔。<名称>是必须的,支持英文大小写字母、数字、短划线(-)、下划线(_)、英文句号( .),以字母或数字开头和结尾,长度不超过 63 个字符。<前缀>是可选的。如果指定<前缀>,则必须是 DNS 子域:由英文句号(.)分隔的一系列 DNS 标签,长度不超过 253 个字符。<前缀>和<名称>总长度不超过 82 个字符。
- value str
- 污点值,长度不超过 63 个字符(可以为空)。支持以英文大小写字母、数字开头和结尾。支持特殊字符:短划线(-)、下划线(_)、英文句号(.)。
- effect String
- 污点效果,取值:NoSchedule:(默认值)不调度。NoExecute:驱逐没有容忍污点的 Pod。PreferNoSchedule:尽量避免调度。
- key String
- 污点键,有效的污点键有两个段:<前缀>和<名称>,用斜杠(/)分隔。<名称>是必须的,支持英文大小写字母、数字、短划线(-)、下划线(_)、英文句号( .),以字母或数字开头和结尾,长度不超过 63 个字符。<前缀>是可选的。如果指定<前缀>,则必须是 DNS 子域:由英文句号(.)分隔的一系列 DNS 标签,长度不超过 253 个字符。<前缀>和<名称>总长度不超过 82 个字符。
- value String
- 污点值,长度不超过 63 个字符(可以为空)。支持以英文大小写字母、数字开头和结尾。支持特殊字符:短划线(-)、下划线(_)、英文句号(.)。
NodeStatus, NodeStatusArgs
- Conditions
List<Byteplus.
Node Status Condition> - Phase string
- 节点的状态,参数值有:Creating,Running,Deleting,Failed,Updating。
- Conditions
[]Node
Status Condition - Phase string
- 节点的状态,参数值有:Creating,Running,Deleting,Failed,Updating。
- conditions
List<Node
Status Condition> - phase String
- 节点的状态,参数值有:Creating,Running,Deleting,Failed,Updating。
- conditions
Node
Status Condition[] - phase string
- 节点的状态,参数值有:Creating,Running,Deleting,Failed,Updating。
- conditions
Sequence[Node
Status Condition] - phase str
- 节点的状态,参数值有:Creating,Running,Deleting,Failed,Updating。
- conditions List<Property Map>
- phase String
- 节点的状态,参数值有:Creating,Running,Deleting,Failed,Updating。
NodeStatusCondition, NodeStatusConditionArgs
- Type string
- 节点当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:Progressing,Ok,Unschedulable,InitilizeFailed,NotReady,Balance,ResourceCleanupFailed,Unknown。
- Type string
- 节点当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:Progressing,Ok,Unschedulable,InitilizeFailed,NotReady,Balance,ResourceCleanupFailed,Unknown。
- type String
- 节点当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:Progressing,Ok,Unschedulable,InitilizeFailed,NotReady,Balance,ResourceCleanupFailed,Unknown。
- type string
- 节点当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:Progressing,Ok,Unschedulable,InitilizeFailed,NotReady,Balance,ResourceCleanupFailed,Unknown。
- type str
- 节点当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:Progressing,Ok,Unschedulable,InitilizeFailed,NotReady,Balance,ResourceCleanupFailed,Unknown。
- type String
- 节点当前主状态下的状态条件,即进入该主状态的原因,可以有多个原因,参数值有:Progressing,Ok,Unschedulable,InitilizeFailed,NotReady,Balance,ResourceCleanupFailed,Unknown。
Import
$ pulumi import bytepluscc:vke/node:Node example "cluster_id|node_pool_id|node_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.
published on Monday, Mar 9, 2026 by Byteplus
