volcengine.vke.DefaultNodePool
Explore with Pulumi AI
Provides a resource to manage vke default node pool
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
{
VpcName = "acc-test-project1",
CidrBlock = "172.16.0.0/16",
});
var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
{
SubnetName = "acc-subnet-test-2",
CidrBlock = "172.16.0.0/24",
ZoneId = "cn-beijing-a",
VpcId = fooVpc.Id,
});
var fooSecurityGroup = new Volcengine.Vpc.SecurityGroup("fooSecurityGroup", new()
{
VpcId = fooVpc.Id,
SecurityGroupName = "acc-test-security-group2",
});
var fooInstance = new Volcengine.Ecs.Instance("fooInstance", new()
{
ImageId = "image-ybqi99s7yq8rx7mnk44b",
InstanceType = "ecs.g1ie.large",
InstanceName = "acc-test-ecs-name2",
Password = "93f0cb0614Aab12",
InstanceChargeType = "PostPaid",
SystemVolumeType = "ESSD_PL0",
SystemVolumeSize = 40,
SubnetId = fooSubnet.Id,
SecurityGroupIds = new[]
{
fooSecurityGroup.Id,
},
});
var fooCluster = new Volcengine.Vke.Cluster("fooCluster", new()
{
Description = "created by terraform",
DeleteProtectionEnabled = false,
ClusterConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigArgs
{
SubnetIds = new[]
{
fooSubnet.Id,
},
ApiServerPublicAccessEnabled = true,
ApiServerPublicAccessConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs
{
PublicAccessNetworkConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs
{
BillingType = "PostPaidByBandwidth",
Bandwidth = 1,
},
},
ResourcePublicAccessDefaultEnabled = true,
},
PodsConfig = new Volcengine.Vke.Inputs.ClusterPodsConfigArgs
{
PodNetworkMode = "VpcCniShared",
VpcCniConfig = new Volcengine.Vke.Inputs.ClusterPodsConfigVpcCniConfigArgs
{
SubnetIds = new[]
{
fooSubnet.Id,
},
},
},
ServicesConfig = new Volcengine.Vke.Inputs.ClusterServicesConfigArgs
{
ServiceCidrsv4s = new[]
{
"172.30.0.0/18",
},
},
Tags = new[]
{
new Volcengine.Vke.Inputs.ClusterTagArgs
{
Key = "tf-k1",
Value = "tf-v1",
},
},
});
var fooDefaultNodePool = new Volcengine.Vke.DefaultNodePool("fooDefaultNodePool", new()
{
ClusterId = fooCluster.Id,
NodeConfig = new Volcengine.Vke.Inputs.DefaultNodePoolNodeConfigArgs
{
Security = new Volcengine.Vke.Inputs.DefaultNodePoolNodeConfigSecurityArgs
{
Login = new Volcengine.Vke.Inputs.DefaultNodePoolNodeConfigSecurityLoginArgs
{
Password = "amw4WTdVcTRJVVFsUXpVTw==",
},
SecurityGroupIds = new[]
{
fooSecurityGroup.Id,
},
SecurityStrategies = new[]
{
"Hids",
},
},
InitializeScript = "ISMvYmluL2Jhc2gKZWNobyAx",
},
KubernetesConfig = new Volcengine.Vke.Inputs.DefaultNodePoolKubernetesConfigArgs
{
Labels = new[]
{
new Volcengine.Vke.Inputs.DefaultNodePoolKubernetesConfigLabelArgs
{
Key = "tf-key1",
Value = "tf-value1",
},
new Volcengine.Vke.Inputs.DefaultNodePoolKubernetesConfigLabelArgs
{
Key = "tf-key2",
Value = "tf-value2",
},
},
Taints = new[]
{
new Volcengine.Vke.Inputs.DefaultNodePoolKubernetesConfigTaintArgs
{
Key = "tf-key3",
Value = "tf-value3",
Effect = "NoSchedule",
},
new Volcengine.Vke.Inputs.DefaultNodePoolKubernetesConfigTaintArgs
{
Key = "tf-key4",
Value = "tf-value4",
Effect = "NoSchedule",
},
},
Cordon = true,
},
Tags = new[]
{
new Volcengine.Vke.Inputs.DefaultNodePoolTagArgs
{
Key = "tf-k1",
Value = "tf-v1",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vke"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-project1"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-subnet-test-2"),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String("cn-beijing-a"),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
VpcId: fooVpc.ID(),
SecurityGroupName: pulumi.String("acc-test-security-group2"),
})
if err != nil {
return err
}
_, err = ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
ImageId: pulumi.String("image-ybqi99s7yq8rx7mnk44b"),
InstanceType: pulumi.String("ecs.g1ie.large"),
InstanceName: pulumi.String("acc-test-ecs-name2"),
Password: pulumi.String("93f0cb0614Aab12"),
InstanceChargeType: pulumi.String("PostPaid"),
SystemVolumeType: pulumi.String("ESSD_PL0"),
SystemVolumeSize: pulumi.Int(40),
SubnetId: fooSubnet.ID(),
SecurityGroupIds: pulumi.StringArray{
fooSecurityGroup.ID(),
},
})
if err != nil {
return err
}
fooCluster, err := vke.NewCluster(ctx, "fooCluster", &vke.ClusterArgs{
Description: pulumi.String("created by terraform"),
DeleteProtectionEnabled: pulumi.Bool(false),
ClusterConfig: &vke.ClusterClusterConfigArgs{
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
ApiServerPublicAccessEnabled: pulumi.Bool(true),
ApiServerPublicAccessConfig: &vke.ClusterClusterConfigApiServerPublicAccessConfigArgs{
PublicAccessNetworkConfig: &vke.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs{
BillingType: pulumi.String("PostPaidByBandwidth"),
Bandwidth: pulumi.Int(1),
},
},
ResourcePublicAccessDefaultEnabled: pulumi.Bool(true),
},
PodsConfig: &vke.ClusterPodsConfigArgs{
PodNetworkMode: pulumi.String("VpcCniShared"),
VpcCniConfig: &vke.ClusterPodsConfigVpcCniConfigArgs{
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
},
},
ServicesConfig: &vke.ClusterServicesConfigArgs{
ServiceCidrsv4s: pulumi.StringArray{
pulumi.String("172.30.0.0/18"),
},
},
Tags: vke.ClusterTagArray{
&vke.ClusterTagArgs{
Key: pulumi.String("tf-k1"),
Value: pulumi.String("tf-v1"),
},
},
})
if err != nil {
return err
}
_, err = vke.NewDefaultNodePool(ctx, "fooDefaultNodePool", &vke.DefaultNodePoolArgs{
ClusterId: fooCluster.ID(),
NodeConfig: &vke.DefaultNodePoolNodeConfigArgs{
Security: &vke.DefaultNodePoolNodeConfigSecurityArgs{
Login: &vke.DefaultNodePoolNodeConfigSecurityLoginArgs{
Password: pulumi.String("amw4WTdVcTRJVVFsUXpVTw=="),
},
SecurityGroupIds: pulumi.StringArray{
fooSecurityGroup.ID(),
},
SecurityStrategies: pulumi.StringArray{
pulumi.String("Hids"),
},
},
InitializeScript: pulumi.String("ISMvYmluL2Jhc2gKZWNobyAx"),
},
KubernetesConfig: &vke.DefaultNodePoolKubernetesConfigArgs{
Labels: vke.DefaultNodePoolKubernetesConfigLabelArray{
&vke.DefaultNodePoolKubernetesConfigLabelArgs{
Key: pulumi.String("tf-key1"),
Value: pulumi.String("tf-value1"),
},
&vke.DefaultNodePoolKubernetesConfigLabelArgs{
Key: pulumi.String("tf-key2"),
Value: pulumi.String("tf-value2"),
},
},
Taints: vke.DefaultNodePoolKubernetesConfigTaintArray{
&vke.DefaultNodePoolKubernetesConfigTaintArgs{
Key: pulumi.String("tf-key3"),
Value: pulumi.String("tf-value3"),
Effect: pulumi.String("NoSchedule"),
},
&vke.DefaultNodePoolKubernetesConfigTaintArgs{
Key: pulumi.String("tf-key4"),
Value: pulumi.String("tf-value4"),
Effect: pulumi.String("NoSchedule"),
},
},
Cordon: pulumi.Bool(true),
},
Tags: vke.DefaultNodePoolTagArray{
&vke.DefaultNodePoolTagArgs{
Key: pulumi.String("tf-k1"),
Value: pulumi.String("tf-v1"),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.vpc.SecurityGroup;
import com.pulumi.volcengine.vpc.SecurityGroupArgs;
import com.pulumi.volcengine.ecs.Instance;
import com.pulumi.volcengine.ecs.InstanceArgs;
import com.pulumi.volcengine.vke.Cluster;
import com.pulumi.volcengine.vke.ClusterArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterPodsConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterPodsConfigVpcCniConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterServicesConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterTagArgs;
import com.pulumi.volcengine.vke.DefaultNodePool;
import com.pulumi.volcengine.vke.DefaultNodePoolArgs;
import com.pulumi.volcengine.vke.inputs.DefaultNodePoolNodeConfigArgs;
import com.pulumi.volcengine.vke.inputs.DefaultNodePoolNodeConfigSecurityArgs;
import com.pulumi.volcengine.vke.inputs.DefaultNodePoolNodeConfigSecurityLoginArgs;
import com.pulumi.volcengine.vke.inputs.DefaultNodePoolKubernetesConfigArgs;
import com.pulumi.volcengine.vke.inputs.DefaultNodePoolTagArgs;
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 fooVpc = new Vpc("fooVpc", VpcArgs.builder()
.vpcName("acc-test-project1")
.cidrBlock("172.16.0.0/16")
.build());
var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()
.subnetName("acc-subnet-test-2")
.cidrBlock("172.16.0.0/24")
.zoneId("cn-beijing-a")
.vpcId(fooVpc.id())
.build());
var fooSecurityGroup = new SecurityGroup("fooSecurityGroup", SecurityGroupArgs.builder()
.vpcId(fooVpc.id())
.securityGroupName("acc-test-security-group2")
.build());
var fooInstance = new Instance("fooInstance", InstanceArgs.builder()
.imageId("image-ybqi99s7yq8rx7mnk44b")
.instanceType("ecs.g1ie.large")
.instanceName("acc-test-ecs-name2")
.password("93f0cb0614Aab12")
.instanceChargeType("PostPaid")
.systemVolumeType("ESSD_PL0")
.systemVolumeSize(40)
.subnetId(fooSubnet.id())
.securityGroupIds(fooSecurityGroup.id())
.build());
var fooCluster = new Cluster("fooCluster", ClusterArgs.builder()
.description("created by terraform")
.deleteProtectionEnabled(false)
.clusterConfig(ClusterClusterConfigArgs.builder()
.subnetIds(fooSubnet.id())
.apiServerPublicAccessEnabled(true)
.apiServerPublicAccessConfig(ClusterClusterConfigApiServerPublicAccessConfigArgs.builder()
.publicAccessNetworkConfig(ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs.builder()
.billingType("PostPaidByBandwidth")
.bandwidth(1)
.build())
.build())
.resourcePublicAccessDefaultEnabled(true)
.build())
.podsConfig(ClusterPodsConfigArgs.builder()
.podNetworkMode("VpcCniShared")
.vpcCniConfig(ClusterPodsConfigVpcCniConfigArgs.builder()
.subnetIds(fooSubnet.id())
.build())
.build())
.servicesConfig(ClusterServicesConfigArgs.builder()
.serviceCidrsv4s("172.30.0.0/18")
.build())
.tags(ClusterTagArgs.builder()
.key("tf-k1")
.value("tf-v1")
.build())
.build());
var fooDefaultNodePool = new DefaultNodePool("fooDefaultNodePool", DefaultNodePoolArgs.builder()
.clusterId(fooCluster.id())
.nodeConfig(DefaultNodePoolNodeConfigArgs.builder()
.security(DefaultNodePoolNodeConfigSecurityArgs.builder()
.login(DefaultNodePoolNodeConfigSecurityLoginArgs.builder()
.password("amw4WTdVcTRJVVFsUXpVTw==")
.build())
.securityGroupIds(fooSecurityGroup.id())
.securityStrategies("Hids")
.build())
.initializeScript("ISMvYmluL2Jhc2gKZWNobyAx")
.build())
.kubernetesConfig(DefaultNodePoolKubernetesConfigArgs.builder()
.labels(
DefaultNodePoolKubernetesConfigLabelArgs.builder()
.key("tf-key1")
.value("tf-value1")
.build(),
DefaultNodePoolKubernetesConfigLabelArgs.builder()
.key("tf-key2")
.value("tf-value2")
.build())
.taints(
DefaultNodePoolKubernetesConfigTaintArgs.builder()
.key("tf-key3")
.value("tf-value3")
.effect("NoSchedule")
.build(),
DefaultNodePoolKubernetesConfigTaintArgs.builder()
.key("tf-key4")
.value("tf-value4")
.effect("NoSchedule")
.build())
.cordon(true)
.build())
.tags(DefaultNodePoolTagArgs.builder()
.key("tf-k1")
.value("tf-v1")
.build())
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo_vpc = volcengine.vpc.Vpc("fooVpc",
vpc_name="acc-test-project1",
cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
subnet_name="acc-subnet-test-2",
cidr_block="172.16.0.0/24",
zone_id="cn-beijing-a",
vpc_id=foo_vpc.id)
foo_security_group = volcengine.vpc.SecurityGroup("fooSecurityGroup",
vpc_id=foo_vpc.id,
security_group_name="acc-test-security-group2")
foo_instance = volcengine.ecs.Instance("fooInstance",
image_id="image-ybqi99s7yq8rx7mnk44b",
instance_type="ecs.g1ie.large",
instance_name="acc-test-ecs-name2",
password="93f0cb0614Aab12",
instance_charge_type="PostPaid",
system_volume_type="ESSD_PL0",
system_volume_size=40,
subnet_id=foo_subnet.id,
security_group_ids=[foo_security_group.id])
foo_cluster = volcengine.vke.Cluster("fooCluster",
description="created by terraform",
delete_protection_enabled=False,
cluster_config=volcengine.vke.ClusterClusterConfigArgs(
subnet_ids=[foo_subnet.id],
api_server_public_access_enabled=True,
api_server_public_access_config=volcengine.vke.ClusterClusterConfigApiServerPublicAccessConfigArgs(
public_access_network_config=volcengine.vke.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs(
billing_type="PostPaidByBandwidth",
bandwidth=1,
),
),
resource_public_access_default_enabled=True,
),
pods_config=volcengine.vke.ClusterPodsConfigArgs(
pod_network_mode="VpcCniShared",
vpc_cni_config=volcengine.vke.ClusterPodsConfigVpcCniConfigArgs(
subnet_ids=[foo_subnet.id],
),
),
services_config=volcengine.vke.ClusterServicesConfigArgs(
service_cidrsv4s=["172.30.0.0/18"],
),
tags=[volcengine.vke.ClusterTagArgs(
key="tf-k1",
value="tf-v1",
)])
foo_default_node_pool = volcengine.vke.DefaultNodePool("fooDefaultNodePool",
cluster_id=foo_cluster.id,
node_config=volcengine.vke.DefaultNodePoolNodeConfigArgs(
security=volcengine.vke.DefaultNodePoolNodeConfigSecurityArgs(
login=volcengine.vke.DefaultNodePoolNodeConfigSecurityLoginArgs(
password="amw4WTdVcTRJVVFsUXpVTw==",
),
security_group_ids=[foo_security_group.id],
security_strategies=["Hids"],
),
initialize_script="ISMvYmluL2Jhc2gKZWNobyAx",
),
kubernetes_config=volcengine.vke.DefaultNodePoolKubernetesConfigArgs(
labels=[
volcengine.vke.DefaultNodePoolKubernetesConfigLabelArgs(
key="tf-key1",
value="tf-value1",
),
volcengine.vke.DefaultNodePoolKubernetesConfigLabelArgs(
key="tf-key2",
value="tf-value2",
),
],
taints=[
volcengine.vke.DefaultNodePoolKubernetesConfigTaintArgs(
key="tf-key3",
value="tf-value3",
effect="NoSchedule",
),
volcengine.vke.DefaultNodePoolKubernetesConfigTaintArgs(
key="tf-key4",
value="tf-value4",
effect="NoSchedule",
),
],
cordon=True,
),
tags=[volcengine.vke.DefaultNodePoolTagArgs(
key="tf-k1",
value="tf-v1",
)])
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
vpcName: "acc-test-project1",
cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
subnetName: "acc-subnet-test-2",
cidrBlock: "172.16.0.0/24",
zoneId: "cn-beijing-a",
vpcId: fooVpc.id,
});
const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
vpcId: fooVpc.id,
securityGroupName: "acc-test-security-group2",
});
const fooInstance = new volcengine.ecs.Instance("fooInstance", {
imageId: "image-ybqi99s7yq8rx7mnk44b",
instanceType: "ecs.g1ie.large",
instanceName: "acc-test-ecs-name2",
password: "93f0cb0614Aab12",
instanceChargeType: "PostPaid",
systemVolumeType: "ESSD_PL0",
systemVolumeSize: 40,
subnetId: fooSubnet.id,
securityGroupIds: [fooSecurityGroup.id],
});
const fooCluster = new volcengine.vke.Cluster("fooCluster", {
description: "created by terraform",
deleteProtectionEnabled: false,
clusterConfig: {
subnetIds: [fooSubnet.id],
apiServerPublicAccessEnabled: true,
apiServerPublicAccessConfig: {
publicAccessNetworkConfig: {
billingType: "PostPaidByBandwidth",
bandwidth: 1,
},
},
resourcePublicAccessDefaultEnabled: true,
},
podsConfig: {
podNetworkMode: "VpcCniShared",
vpcCniConfig: {
subnetIds: [fooSubnet.id],
},
},
servicesConfig: {
serviceCidrsv4s: ["172.30.0.0/18"],
},
tags: [{
key: "tf-k1",
value: "tf-v1",
}],
});
const fooDefaultNodePool = new volcengine.vke.DefaultNodePool("fooDefaultNodePool", {
clusterId: fooCluster.id,
nodeConfig: {
security: {
login: {
password: "amw4WTdVcTRJVVFsUXpVTw==",
},
securityGroupIds: [fooSecurityGroup.id],
securityStrategies: ["Hids"],
},
initializeScript: "ISMvYmluL2Jhc2gKZWNobyAx",
},
kubernetesConfig: {
labels: [
{
key: "tf-key1",
value: "tf-value1",
},
{
key: "tf-key2",
value: "tf-value2",
},
],
taints: [
{
key: "tf-key3",
value: "tf-value3",
effect: "NoSchedule",
},
{
key: "tf-key4",
value: "tf-value4",
effect: "NoSchedule",
},
],
cordon: true,
},
tags: [{
key: "tf-k1",
value: "tf-v1",
}],
});
resources:
fooVpc:
type: volcengine:vpc:Vpc
properties:
vpcName: acc-test-project1
cidrBlock: 172.16.0.0/16
fooSubnet:
type: volcengine:vpc:Subnet
properties:
subnetName: acc-subnet-test-2
cidrBlock: 172.16.0.0/24
zoneId: cn-beijing-a
vpcId: ${fooVpc.id}
fooSecurityGroup:
type: volcengine:vpc:SecurityGroup
properties:
vpcId: ${fooVpc.id}
securityGroupName: acc-test-security-group2
fooInstance:
type: volcengine:ecs:Instance
properties:
imageId: image-ybqi99s7yq8rx7mnk44b
instanceType: ecs.g1ie.large
instanceName: acc-test-ecs-name2
password: 93f0cb0614Aab12
instanceChargeType: PostPaid
systemVolumeType: ESSD_PL0
systemVolumeSize: 40
subnetId: ${fooSubnet.id}
securityGroupIds:
- ${fooSecurityGroup.id}
fooCluster:
type: volcengine:vke:Cluster
properties:
description: created by terraform
deleteProtectionEnabled: false
clusterConfig:
subnetIds:
- ${fooSubnet.id}
apiServerPublicAccessEnabled: true
apiServerPublicAccessConfig:
publicAccessNetworkConfig:
billingType: PostPaidByBandwidth
bandwidth: 1
resourcePublicAccessDefaultEnabled: true
podsConfig:
podNetworkMode: VpcCniShared
vpcCniConfig:
subnetIds:
- ${fooSubnet.id}
servicesConfig:
serviceCidrsv4s:
- 172.30.0.0/18
tags:
- key: tf-k1
value: tf-v1
fooDefaultNodePool:
type: volcengine:vke:DefaultNodePool
properties:
clusterId: ${fooCluster.id}
nodeConfig:
security:
login:
password: amw4WTdVcTRJVVFsUXpVTw==
securityGroupIds:
- ${fooSecurityGroup.id}
securityStrategies:
- Hids
initializeScript: ISMvYmluL2Jhc2gKZWNobyAx
kubernetesConfig:
labels:
- key: tf-key1
value: tf-value1
- key: tf-key2
value: tf-value2
taints:
- key: tf-key3
value: tf-value3
effect: NoSchedule
- key: tf-key4
value: tf-value4
effect: NoSchedule
cordon: true
tags:
- key: tf-k1
value: tf-v1
Create DefaultNodePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DefaultNodePool(name: string, args: DefaultNodePoolArgs, opts?: CustomResourceOptions);
@overload
def DefaultNodePool(resource_name: str,
args: DefaultNodePoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DefaultNodePool(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
kubernetes_config: Optional[DefaultNodePoolKubernetesConfigArgs] = None,
node_config: Optional[DefaultNodePoolNodeConfigArgs] = None,
instances: Optional[Sequence[DefaultNodePoolInstanceArgs]] = None,
tags: Optional[Sequence[DefaultNodePoolTagArgs]] = None)
func NewDefaultNodePool(ctx *Context, name string, args DefaultNodePoolArgs, opts ...ResourceOption) (*DefaultNodePool, error)
public DefaultNodePool(string name, DefaultNodePoolArgs args, CustomResourceOptions? opts = null)
public DefaultNodePool(String name, DefaultNodePoolArgs args)
public DefaultNodePool(String name, DefaultNodePoolArgs args, CustomResourceOptions options)
type: volcengine:vke:DefaultNodePool
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 DefaultNodePoolArgs
- 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 DefaultNodePoolArgs
- 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 DefaultNodePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DefaultNodePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DefaultNodePoolArgs
- 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 defaultNodePoolResource = new Volcengine.Vke.DefaultNodePool("defaultNodePoolResource", new()
{
ClusterId = "string",
KubernetesConfig = new Volcengine.Vke.Inputs.DefaultNodePoolKubernetesConfigArgs
{
Cordon = false,
Labels = new[]
{
new Volcengine.Vke.Inputs.DefaultNodePoolKubernetesConfigLabelArgs
{
Key = "string",
Value = "string",
},
},
NamePrefix = "string",
Taints = new[]
{
new Volcengine.Vke.Inputs.DefaultNodePoolKubernetesConfigTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
},
NodeConfig = new Volcengine.Vke.Inputs.DefaultNodePoolNodeConfigArgs
{
Security = new Volcengine.Vke.Inputs.DefaultNodePoolNodeConfigSecurityArgs
{
Login = new Volcengine.Vke.Inputs.DefaultNodePoolNodeConfigSecurityLoginArgs
{
Password = "string",
SshKeyPairName = "string",
},
SecurityGroupIds = new[]
{
"string",
},
SecurityStrategies = new[]
{
"string",
},
},
EcsTags = new[]
{
new Volcengine.Vke.Inputs.DefaultNodePoolNodeConfigEcsTagArgs
{
Key = "string",
Value = "string",
},
},
InitializeScript = "string",
NamePrefix = "string",
},
Instances = new[]
{
new Volcengine.Vke.Inputs.DefaultNodePoolInstanceArgs
{
InstanceId = "string",
AdditionalContainerStorageEnabled = false,
ContainerStoragePath = "string",
Id = "string",
ImageId = "string",
KeepInstanceName = false,
Phase = "string",
},
},
Tags = new[]
{
new Volcengine.Vke.Inputs.DefaultNodePoolTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := vke.NewDefaultNodePool(ctx, "defaultNodePoolResource", &vke.DefaultNodePoolArgs{
ClusterId: pulumi.String("string"),
KubernetesConfig: &vke.DefaultNodePoolKubernetesConfigArgs{
Cordon: pulumi.Bool(false),
Labels: vke.DefaultNodePoolKubernetesConfigLabelArray{
&vke.DefaultNodePoolKubernetesConfigLabelArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
NamePrefix: pulumi.String("string"),
Taints: vke.DefaultNodePoolKubernetesConfigTaintArray{
&vke.DefaultNodePoolKubernetesConfigTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
NodeConfig: &vke.DefaultNodePoolNodeConfigArgs{
Security: &vke.DefaultNodePoolNodeConfigSecurityArgs{
Login: &vke.DefaultNodePoolNodeConfigSecurityLoginArgs{
Password: pulumi.String("string"),
SshKeyPairName: pulumi.String("string"),
},
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SecurityStrategies: pulumi.StringArray{
pulumi.String("string"),
},
},
EcsTags: vke.DefaultNodePoolNodeConfigEcsTagArray{
&vke.DefaultNodePoolNodeConfigEcsTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
InitializeScript: pulumi.String("string"),
NamePrefix: pulumi.String("string"),
},
Instances: vke.DefaultNodePoolInstanceArray{
&vke.DefaultNodePoolInstanceArgs{
InstanceId: pulumi.String("string"),
AdditionalContainerStorageEnabled: pulumi.Bool(false),
ContainerStoragePath: pulumi.String("string"),
Id: pulumi.String("string"),
ImageId: pulumi.String("string"),
KeepInstanceName: pulumi.Bool(false),
Phase: pulumi.String("string"),
},
},
Tags: vke.DefaultNodePoolTagArray{
&vke.DefaultNodePoolTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var defaultNodePoolResource = new DefaultNodePool("defaultNodePoolResource", DefaultNodePoolArgs.builder()
.clusterId("string")
.kubernetesConfig(DefaultNodePoolKubernetesConfigArgs.builder()
.cordon(false)
.labels(DefaultNodePoolKubernetesConfigLabelArgs.builder()
.key("string")
.value("string")
.build())
.namePrefix("string")
.taints(DefaultNodePoolKubernetesConfigTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.build())
.nodeConfig(DefaultNodePoolNodeConfigArgs.builder()
.security(DefaultNodePoolNodeConfigSecurityArgs.builder()
.login(DefaultNodePoolNodeConfigSecurityLoginArgs.builder()
.password("string")
.sshKeyPairName("string")
.build())
.securityGroupIds("string")
.securityStrategies("string")
.build())
.ecsTags(DefaultNodePoolNodeConfigEcsTagArgs.builder()
.key("string")
.value("string")
.build())
.initializeScript("string")
.namePrefix("string")
.build())
.instances(DefaultNodePoolInstanceArgs.builder()
.instanceId("string")
.additionalContainerStorageEnabled(false)
.containerStoragePath("string")
.id("string")
.imageId("string")
.keepInstanceName(false)
.phase("string")
.build())
.tags(DefaultNodePoolTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
default_node_pool_resource = volcengine.vke.DefaultNodePool("defaultNodePoolResource",
cluster_id="string",
kubernetes_config={
"cordon": False,
"labels": [{
"key": "string",
"value": "string",
}],
"name_prefix": "string",
"taints": [{
"effect": "string",
"key": "string",
"value": "string",
}],
},
node_config={
"security": {
"login": {
"password": "string",
"ssh_key_pair_name": "string",
},
"security_group_ids": ["string"],
"security_strategies": ["string"],
},
"ecs_tags": [{
"key": "string",
"value": "string",
}],
"initialize_script": "string",
"name_prefix": "string",
},
instances=[{
"instance_id": "string",
"additional_container_storage_enabled": False,
"container_storage_path": "string",
"id": "string",
"image_id": "string",
"keep_instance_name": False,
"phase": "string",
}],
tags=[{
"key": "string",
"value": "string",
}])
const defaultNodePoolResource = new volcengine.vke.DefaultNodePool("defaultNodePoolResource", {
clusterId: "string",
kubernetesConfig: {
cordon: false,
labels: [{
key: "string",
value: "string",
}],
namePrefix: "string",
taints: [{
effect: "string",
key: "string",
value: "string",
}],
},
nodeConfig: {
security: {
login: {
password: "string",
sshKeyPairName: "string",
},
securityGroupIds: ["string"],
securityStrategies: ["string"],
},
ecsTags: [{
key: "string",
value: "string",
}],
initializeScript: "string",
namePrefix: "string",
},
instances: [{
instanceId: "string",
additionalContainerStorageEnabled: false,
containerStoragePath: "string",
id: "string",
imageId: "string",
keepInstanceName: false,
phase: "string",
}],
tags: [{
key: "string",
value: "string",
}],
});
type: volcengine:vke:DefaultNodePool
properties:
clusterId: string
instances:
- additionalContainerStorageEnabled: false
containerStoragePath: string
id: string
imageId: string
instanceId: string
keepInstanceName: false
phase: string
kubernetesConfig:
cordon: false
labels:
- key: string
value: string
namePrefix: string
taints:
- effect: string
key: string
value: string
nodeConfig:
ecsTags:
- key: string
value: string
initializeScript: string
namePrefix: string
security:
login:
password: string
sshKeyPairName: string
securityGroupIds:
- string
securityStrategies:
- string
tags:
- key: string
value: string
DefaultNodePool 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 DefaultNodePool resource accepts the following input properties:
- Cluster
Id string - The ClusterId of NodePool.
- Kubernetes
Config DefaultNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- Node
Config DefaultNode Pool Node Config - The Config of NodePool.
- Instances
List<Default
Node Pool Instance> - The ECS InstanceIds add to NodePool.
- List<Default
Node Pool Tag> - Tags.
- Cluster
Id string - The ClusterId of NodePool.
- Kubernetes
Config DefaultNode Pool Kubernetes Config Args - The KubernetesConfig of NodeConfig.
- Node
Config DefaultNode Pool Node Config Args - The Config of NodePool.
- Instances
[]Default
Node Pool Instance Args - The ECS InstanceIds add to NodePool.
- []Default
Node Pool Tag Args - Tags.
- cluster
Id String - The ClusterId of NodePool.
- kubernetes
Config DefaultNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- node
Config DefaultNode Pool Node Config - The Config of NodePool.
- instances
List<Default
Node Pool Instance> - The ECS InstanceIds add to NodePool.
- List<Default
Node Pool Tag> - Tags.
- cluster
Id string - The ClusterId of NodePool.
- kubernetes
Config DefaultNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- node
Config DefaultNode Pool Node Config - The Config of NodePool.
- instances
Default
Node Pool Instance[] - The ECS InstanceIds add to NodePool.
- Default
Node Pool Tag[] - Tags.
- cluster_
id str - The ClusterId of NodePool.
- kubernetes_
config DefaultNode Pool Kubernetes Config Args - The KubernetesConfig of NodeConfig.
- node_
config DefaultNode Pool Node Config Args - The Config of NodePool.
- instances
Sequence[Default
Node Pool Instance Args] - The ECS InstanceIds add to NodePool.
- Sequence[Default
Node Pool Tag Args] - Tags.
- cluster
Id String - The ClusterId of NodePool.
- kubernetes
Config Property Map - The KubernetesConfig of NodeConfig.
- node
Config Property Map - The Config of NodePool.
- instances List<Property Map>
- The ECS InstanceIds add to NodePool.
- List<Property Map>
- Tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the DefaultNodePool resource produces the following output properties:
Look up Existing DefaultNodePool Resource
Get an existing DefaultNodePool 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?: DefaultNodePoolState, opts?: CustomResourceOptions): DefaultNodePool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
instances: Optional[Sequence[DefaultNodePoolInstanceArgs]] = None,
is_import: Optional[bool] = None,
kubernetes_config: Optional[DefaultNodePoolKubernetesConfigArgs] = None,
node_config: Optional[DefaultNodePoolNodeConfigArgs] = None,
tags: Optional[Sequence[DefaultNodePoolTagArgs]] = None) -> DefaultNodePool
func GetDefaultNodePool(ctx *Context, name string, id IDInput, state *DefaultNodePoolState, opts ...ResourceOption) (*DefaultNodePool, error)
public static DefaultNodePool Get(string name, Input<string> id, DefaultNodePoolState? state, CustomResourceOptions? opts = null)
public static DefaultNodePool get(String name, Output<String> id, DefaultNodePoolState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Cluster
Id string - The ClusterId of NodePool.
- Instances
List<Default
Node Pool Instance> - The ECS InstanceIds add to NodePool.
- Is
Import bool - Is import of the DefaultNodePool. It only works when imported, set to true.
- Kubernetes
Config DefaultNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- Node
Config DefaultNode Pool Node Config - The Config of NodePool.
- List<Default
Node Pool Tag> - Tags.
- Cluster
Id string - The ClusterId of NodePool.
- Instances
[]Default
Node Pool Instance Args - The ECS InstanceIds add to NodePool.
- Is
Import bool - Is import of the DefaultNodePool. It only works when imported, set to true.
- Kubernetes
Config DefaultNode Pool Kubernetes Config Args - The KubernetesConfig of NodeConfig.
- Node
Config DefaultNode Pool Node Config Args - The Config of NodePool.
- []Default
Node Pool Tag Args - Tags.
- cluster
Id String - The ClusterId of NodePool.
- instances
List<Default
Node Pool Instance> - The ECS InstanceIds add to NodePool.
- is
Import Boolean - Is import of the DefaultNodePool. It only works when imported, set to true.
- kubernetes
Config DefaultNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- node
Config DefaultNode Pool Node Config - The Config of NodePool.
- List<Default
Node Pool Tag> - Tags.
- cluster
Id string - The ClusterId of NodePool.
- instances
Default
Node Pool Instance[] - The ECS InstanceIds add to NodePool.
- is
Import boolean - Is import of the DefaultNodePool. It only works when imported, set to true.
- kubernetes
Config DefaultNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- node
Config DefaultNode Pool Node Config - The Config of NodePool.
- Default
Node Pool Tag[] - Tags.
- cluster_
id str - The ClusterId of NodePool.
- instances
Sequence[Default
Node Pool Instance Args] - The ECS InstanceIds add to NodePool.
- is_
import bool - Is import of the DefaultNodePool. It only works when imported, set to true.
- kubernetes_
config DefaultNode Pool Kubernetes Config Args - The KubernetesConfig of NodeConfig.
- node_
config DefaultNode Pool Node Config Args - The Config of NodePool.
- Sequence[Default
Node Pool Tag Args] - Tags.
- cluster
Id String - The ClusterId of NodePool.
- instances List<Property Map>
- The ECS InstanceIds add to NodePool.
- is
Import Boolean - Is import of the DefaultNodePool. It only works when imported, set to true.
- kubernetes
Config Property Map - The KubernetesConfig of NodeConfig.
- node
Config Property Map - The Config of NodePool.
- List<Property Map>
- Tags.
Supporting Types
DefaultNodePoolInstance, DefaultNodePoolInstanceArgs
- Instance
Id string - The instance id.
- Additional
Container boolStorage Enabled - The flag of additional container storage enable, the value is
true
orfalse
..Default isfalse
. - Container
Storage stringPath - The container storage path.When additional_container_storage_enabled is
false
will ignore. - Id string
- ID of the resource.
- Image
Id string - The Image Id to the ECS Instance.
- Keep
Instance boolName - The flag of keep instance name, the value is
true
orfalse
.Default isfalse
. - Phase string
- Instance
Id string - The instance id.
- Additional
Container boolStorage Enabled - The flag of additional container storage enable, the value is
true
orfalse
..Default isfalse
. - Container
Storage stringPath - The container storage path.When additional_container_storage_enabled is
false
will ignore. - Id string
- ID of the resource.
- Image
Id string - The Image Id to the ECS Instance.
- Keep
Instance boolName - The flag of keep instance name, the value is
true
orfalse
.Default isfalse
. - Phase string
- instance
Id String - The instance id.
- additional
Container BooleanStorage Enabled - The flag of additional container storage enable, the value is
true
orfalse
..Default isfalse
. - container
Storage StringPath - The container storage path.When additional_container_storage_enabled is
false
will ignore. - id String
- ID of the resource.
- image
Id String - The Image Id to the ECS Instance.
- keep
Instance BooleanName - The flag of keep instance name, the value is
true
orfalse
.Default isfalse
. - phase String
- instance
Id string - The instance id.
- additional
Container booleanStorage Enabled - The flag of additional container storage enable, the value is
true
orfalse
..Default isfalse
. - container
Storage stringPath - The container storage path.When additional_container_storage_enabled is
false
will ignore. - id string
- ID of the resource.
- image
Id string - The Image Id to the ECS Instance.
- keep
Instance booleanName - The flag of keep instance name, the value is
true
orfalse
.Default isfalse
. - phase string
- instance_
id str - The instance id.
- additional_
container_ boolstorage_ enabled - The flag of additional container storage enable, the value is
true
orfalse
..Default isfalse
. - container_
storage_ strpath - The container storage path.When additional_container_storage_enabled is
false
will ignore. - id str
- ID of the resource.
- image_
id str - The Image Id to the ECS Instance.
- keep_
instance_ boolname - The flag of keep instance name, the value is
true
orfalse
.Default isfalse
. - phase str
- instance
Id String - The instance id.
- additional
Container BooleanStorage Enabled - The flag of additional container storage enable, the value is
true
orfalse
..Default isfalse
. - container
Storage StringPath - The container storage path.When additional_container_storage_enabled is
false
will ignore. - id String
- ID of the resource.
- image
Id String - The Image Id to the ECS Instance.
- keep
Instance BooleanName - The flag of keep instance name, the value is
true
orfalse
.Default isfalse
. - phase String
DefaultNodePoolKubernetesConfig, DefaultNodePoolKubernetesConfigArgs
- Cordon bool
- The Cordon of KubernetesConfig.
- Labels
List<Default
Node Pool Kubernetes Config Label> - The Labels of KubernetesConfig.
- Name
Prefix string - The NamePrefix of node metadata.
- Taints
List<Default
Node Pool Kubernetes Config Taint> - The Taints of KubernetesConfig.
- Cordon bool
- The Cordon of KubernetesConfig.
- Labels
[]Default
Node Pool Kubernetes Config Label - The Labels of KubernetesConfig.
- Name
Prefix string - The NamePrefix of node metadata.
- Taints
[]Default
Node Pool Kubernetes Config Taint - The Taints of KubernetesConfig.
- cordon Boolean
- The Cordon of KubernetesConfig.
- labels
List<Default
Node Pool Kubernetes Config Label> - The Labels of KubernetesConfig.
- name
Prefix String - The NamePrefix of node metadata.
- taints
List<Default
Node Pool Kubernetes Config Taint> - The Taints of KubernetesConfig.
- cordon boolean
- The Cordon of KubernetesConfig.
- labels
Default
Node Pool Kubernetes Config Label[] - The Labels of KubernetesConfig.
- name
Prefix string - The NamePrefix of node metadata.
- taints
Default
Node Pool Kubernetes Config Taint[] - The Taints of KubernetesConfig.
- cordon bool
- The Cordon of KubernetesConfig.
- labels
Sequence[Default
Node Pool Kubernetes Config Label] - The Labels of KubernetesConfig.
- name_
prefix str - The NamePrefix of node metadata.
- taints
Sequence[Default
Node Pool Kubernetes Config Taint] - The Taints of KubernetesConfig.
- cordon Boolean
- The Cordon of KubernetesConfig.
- labels List<Property Map>
- The Labels of KubernetesConfig.
- name
Prefix String - The NamePrefix of node metadata.
- taints List<Property Map>
- The Taints of KubernetesConfig.
DefaultNodePoolKubernetesConfigLabel, DefaultNodePoolKubernetesConfigLabelArgs
DefaultNodePoolKubernetesConfigTaint, DefaultNodePoolKubernetesConfigTaintArgs
DefaultNodePoolNodeConfig, DefaultNodePoolNodeConfigArgs
- Security
Default
Node Pool Node Config Security - The Security of NodeConfig.
- List<Default
Node Pool Node Config Ecs Tag> - Tags for Ecs.
- Initialize
Script string - The initializeScript of NodeConfig.
- Name
Prefix string - The NamePrefix of NodeConfig.
- Security
Default
Node Pool Node Config Security - The Security of NodeConfig.
- []Default
Node Pool Node Config Ecs Tag - Tags for Ecs.
- Initialize
Script string - The initializeScript of NodeConfig.
- Name
Prefix string - The NamePrefix of NodeConfig.
- security
Default
Node Pool Node Config Security - The Security of NodeConfig.
- List<Default
Node Pool Node Config Ecs Tag> - Tags for Ecs.
- initialize
Script String - The initializeScript of NodeConfig.
- name
Prefix String - The NamePrefix of NodeConfig.
- security
Default
Node Pool Node Config Security - The Security of NodeConfig.
- Default
Node Pool Node Config Ecs Tag[] - Tags for Ecs.
- initialize
Script string - The initializeScript of NodeConfig.
- name
Prefix string - The NamePrefix of NodeConfig.
- security
Default
Node Pool Node Config Security - The Security of NodeConfig.
- Sequence[Default
Node Pool Node Config Ecs Tag] - Tags for Ecs.
- initialize_
script str - The initializeScript of NodeConfig.
- name_
prefix str - The NamePrefix of NodeConfig.
- security Property Map
- The Security of NodeConfig.
- List<Property Map>
- Tags for Ecs.
- initialize
Script String - The initializeScript of NodeConfig.
- name
Prefix String - The NamePrefix of NodeConfig.
DefaultNodePoolNodeConfigEcsTag, DefaultNodePoolNodeConfigEcsTagArgs
DefaultNodePoolNodeConfigSecurity, DefaultNodePoolNodeConfigSecurityArgs
- Login
Default
Node Pool Node Config Security Login - The Login of Security.
- Security
Group List<string>Ids - The SecurityGroupIds of Security.
- Security
Strategies List<string> - The SecurityStrategies of Security.
- Login
Default
Node Pool Node Config Security Login - The Login of Security.
- Security
Group []stringIds - The SecurityGroupIds of Security.
- Security
Strategies []string - The SecurityStrategies of Security.
- login
Default
Node Pool Node Config Security Login - The Login of Security.
- security
Group List<String>Ids - The SecurityGroupIds of Security.
- security
Strategies List<String> - The SecurityStrategies of Security.
- login
Default
Node Pool Node Config Security Login - The Login of Security.
- security
Group string[]Ids - The SecurityGroupIds of Security.
- security
Strategies string[] - The SecurityStrategies of Security.
- login
Default
Node Pool Node Config Security Login - The Login of Security.
- security_
group_ Sequence[str]ids - The SecurityGroupIds of Security.
- security_
strategies Sequence[str] - The SecurityStrategies of Security.
- login Property Map
- The Login of Security.
- security
Group List<String>Ids - The SecurityGroupIds of Security.
- security
Strategies List<String> - The SecurityStrategies of Security.
DefaultNodePoolNodeConfigSecurityLogin, DefaultNodePoolNodeConfigSecurityLoginArgs
- Password string
- The Password of Security.
- Ssh
Key stringPair Name - The SshKeyPairName of Security.
- Password string
- The Password of Security.
- Ssh
Key stringPair Name - The SshKeyPairName of Security.
- password String
- The Password of Security.
- ssh
Key StringPair Name - The SshKeyPairName of Security.
- password string
- The Password of Security.
- ssh
Key stringPair Name - The SshKeyPairName of Security.
- password str
- The Password of Security.
- ssh_
key_ strpair_ name - The SshKeyPairName of Security.
- password String
- The Password of Security.
- ssh
Key StringPair Name - The SshKeyPairName of Security.
DefaultNodePoolTag, DefaultNodePoolTagArgs
Import
VKE default node can be imported using the node id, e.g.
$ pulumi import volcengine:vke/defaultNodePool:DefaultNodePool default nc5t5epmrsf****
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.