Show / Hide Table of Contents

Class KubernetesClusterNodePool

Manages a Node Pool within a Kubernetes Cluster

NOTE: Multiple Node Pools are only supported when the Kubernetes Cluster is using Virtual Machine Scale Sets.

Inheritance
System.Object
Resource
CustomResource
KubernetesClusterNodePool
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.ContainerService
Assembly: Pulumi.Azure.dll
Syntax
public class KubernetesClusterNodePool : CustomResource

Constructors

View Source

KubernetesClusterNodePool(String, KubernetesClusterNodePoolArgs, CustomResourceOptions)

Create a KubernetesClusterNodePool resource with the given unique name, arguments, and options.

Declaration
public KubernetesClusterNodePool(string name, KubernetesClusterNodePoolArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

KubernetesClusterNodePoolArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AvailabilityZones

A list of Availability Zones where the Nodes in this Node Pool should be created in.

Declaration
public Output<ImmutableArray<string>> AvailabilityZones { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

EnableAutoScaling

Whether to enable auto-scaler. Defaults to false.

Declaration
public Output<bool?> EnableAutoScaling { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

EnableNodePublicIp

Should each node have a Public IP Address? Defaults to false.

Declaration
public Output<bool?> EnableNodePublicIp { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

KubernetesClusterId

The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.

Declaration
public Output<string> KubernetesClusterId { get; }
Property Value
Type Description
Output<System.String>
View Source

MaxCount

The maximum number of nodes which should exist within this Node Pool. Valid values are between 1 and 100 and must be greater than or equal to min_count.

Declaration
public Output<int?> MaxCount { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

MaxPods

The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.

Declaration
public Output<int> MaxPods { get; }
Property Value
Type Description
Output<System.Int32>
View Source

MinCount

The minimum number of nodes which should exist within this Node Pool. Valid values are between 1 and 100 and must be less than or equal to max_count.

Declaration
public Output<int?> MinCount { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Name

The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

NodeCount

The initial number of nodes which should exist within this Node Pool. Valid values are between 1 and 100 and must be a value in the range min_count - max_count.

Declaration
public Output<int> NodeCount { get; }
Property Value
Type Description
Output<System.Int32>
View Source

NodeLabels

A map of Kubernetes labels which should be applied to nodes in this Node Pool.

Declaration
public Output<ImmutableDictionary<string, string>> NodeLabels { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

NodeTaints

A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g key=value:NoSchedule).

Declaration
public Output<ImmutableArray<string>> NodeTaints { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

OsDiskSizeGb

The Agent Operating System disk size in GB. Changing this forces a new resource to be created.

Declaration
public Output<int> OsDiskSizeGb { get; }
Property Value
Type Description
Output<System.Int32>
View Source

OsType

The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are Linux and Windows. Defaults to Linux.

Declaration
public Output<string> OsType { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

VmSize

The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.

Declaration
public Output<string> VmSize { get; }
Property Value
Type Description
Output<System.String>
View Source

VnetSubnetId

The ID of the Subnet where this Node Pool should exist.

Declaration
public Output<string> VnetSubnetId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, KubernetesClusterNodePoolState, CustomResourceOptions)

Get an existing KubernetesClusterNodePool resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static KubernetesClusterNodePool Get(string name, Input<string> id, KubernetesClusterNodePoolState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

KubernetesClusterNodePoolState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
KubernetesClusterNodePool
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.