public sealed class NodePool : IMessage<NodePool>, IEquatable<NodePool>, IDeepCloneable<NodePool>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class NodePool.
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.
Namespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
NodePool()
public NodePool()
NodePool(NodePool)
public NodePool(NodePool other)
Parameter | |
---|---|
Name | Description |
other | NodePool |
Properties
Autoscaling
public NodePoolAutoscaling Autoscaling { get; set; }
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
Property Value | |
---|---|
Type | Description |
NodePoolAutoscaling |
BestEffortProvisioning
public BestEffortProvisioning BestEffortProvisioning { get; set; }
Enable best effort provisioning for nodes
Property Value | |
---|---|
Type | Description |
BestEffortProvisioning |
Conditions
public RepeatedField<StatusCondition> Conditions { get; }
Which conditions caused the current node pool state.
Property Value | |
---|---|
Type | Description |
RepeatedFieldStatusCondition |
Config
public NodeConfig Config { get; set; }
The node configuration of the pool.
Property Value | |
---|---|
Type | Description |
NodeConfig |
Etag
public string Etag { get; set; }
This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
Property Value | |
---|---|
Type | Description |
string |
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 | |
---|---|
Type | Description |
int |
InstanceGroupUrls
public RepeatedField<string> InstanceGroupUrls { get; }
[Output only] The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
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 | |
---|---|
Type | Description |
RepeatedFieldstring |
Management
public NodeManagement Management { get; set; }
NodeManagement configuration for this NodePool.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
MaxPodsConstraint |
Name
public string Name { get; set; }
The name of the node pool.
Property Value | |
---|---|
Type | Description |
string |
NetworkConfig
public NodeNetworkConfig NetworkConfig { get; set; }
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
Property Value | |
---|---|
Type | Description |
NodeNetworkConfig |
PlacementPolicy
public NodePool.Types.PlacementPolicy PlacementPolicy { get; set; }
Specifies the node placement policy.
Property Value | |
---|---|
Type | Description |
NodePoolTypesPlacementPolicy |
PodIpv4CidrSize
public int PodIpv4CidrSize { get; set; }
[Output only] The pod CIDR block size per node in this node pool.
Property Value | |
---|---|
Type | Description |
int |
QueuedProvisioning
public NodePool.Types.QueuedProvisioning QueuedProvisioning { get; set; }
Specifies the configuration of queued provisioning.
Property Value | |
---|---|
Type | Description |
NodePoolTypesQueuedProvisioning |
SelfLink
public string SelfLink { get; set; }
[Output only] Server-defined URL for the resource.
Property Value | |
---|---|
Type | Description |
string |
Status
public NodePool.Types.Status Status { get; set; }
[Output only] The status of the nodes in this pool instance.
Property Value | |
---|---|
Type | Description |
NodePoolTypesStatus |
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 | |
---|---|
Type | Description |
string |
UpdateInfo
public NodePool.Types.UpdateInfo UpdateInfo { get; set; }
Output only. [Output only] Update info contains relevant information during a node pool update.
Property Value | |
---|---|
Type | Description |
NodePoolTypesUpdateInfo |
UpgradeSettings
public NodePool.Types.UpgradeSettings UpgradeSettings { get; set; }
Upgrade settings control disruption and speed of the upgrade.
Property Value | |
---|---|
Type | Description |
NodePoolTypesUpgradeSettings |
Version
public string Version { get; set; }
The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described here.
Property Value | |
---|---|
Type | Description |
string |