Class NodePool (2.4.0)

public sealed class NodePool : IMessage<NodePool>, IEquatable<NodePool>, IDeepCloneable<NodePool>, IBufferMessage, IMessage

NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.

Inheritance

Object > NodePool

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

NodePool()

public NodePool()

NodePool(NodePool)

public NodePool(NodePool other)
Parameter
NameDescription
otherNodePool

Properties

Autoscaling

public NodePoolAutoscaling Autoscaling { get; set; }

Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.

Property Value
TypeDescription
NodePoolAutoscaling

Conditions

public RepeatedField<StatusCondition> Conditions { get; }

Which conditions caused the current node pool state.

Property Value
TypeDescription
RepeatedField<StatusCondition>

Config

public NodeConfig Config { get; set; }

The node configuration of the pool.

Property Value
TypeDescription
NodeConfig

InitialNodeCount

public int InitialNodeCount { get; set; }

The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota.

Property Value
TypeDescription
Int32

InstanceGroupUrls

public RepeatedField<string> InstanceGroupUrls { get; }

[Output only] The resource URLs of the managed instance groups associated with this node pool.

Property Value
TypeDescription
RepeatedField<String>

Locations

public RepeatedField<string> Locations { get; }

The list of Google Compute Engine zones in which the NodePool's nodes should be located.

If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead.

Warning: changing node pool locations will result in nodes being added and/or removed.

Property Value
TypeDescription
RepeatedField<String>

Management

public NodeManagement Management { get; set; }

NodeManagement configuration for this NodePool.

Property Value
TypeDescription
NodeManagement

MaxPodsConstraint

public MaxPodsConstraint MaxPodsConstraint { get; set; }

The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.

Property Value
TypeDescription
MaxPodsConstraint

Name

public string Name { get; set; }

The name of the node pool.

Property Value
TypeDescription
String

PodIpv4CidrSize

public int PodIpv4CidrSize { get; set; }

[Output only] The pod CIDR block size per node in this node pool.

Property Value
TypeDescription
Int32
public string SelfLink { get; set; }

[Output only] Server-defined URL for the resource.

Property Value
TypeDescription
String

Status

public NodePool.Types.Status Status { get; set; }

[Output only] The status of the nodes in this pool instance.

Property Value
TypeDescription
NodePool.Types.Status

StatusMessage

[Obsolete]
public string StatusMessage { get; set; }

[Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.

Property Value
TypeDescription
String

UpgradeSettings

public NodePool.Types.UpgradeSettings UpgradeSettings { get; set; }

Upgrade settings control disruption and speed of the upgrade.

Property Value
TypeDescription
NodePool.Types.UpgradeSettings

Version

public string Version { get; set; }

The version of the Kubernetes of this node.

Property Value
TypeDescription
String