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.
Implements
IMessage<NodePool>, IEquatable<NodePool>, IDeepCloneable<NodePool>, IBufferMessage, IMessageNamespace
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 |
Conditions
public RepeatedField<StatusCondition> Conditions { get; }
Which conditions caused the current node pool state.
Property Value | |
---|---|
Type | Description |
RepeatedField<StatusCondition> |
Config
public NodeConfig Config { get; set; }
The node configuration of the pool.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Int32 |
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 |
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 | |
---|---|
Type | Description |
RepeatedField<String> |
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 |
PodIpv4CidrSize
public int PodIpv4CidrSize { get; set; }
[Output only] The pod CIDR block size per node in this node pool.
Property Value | |
---|---|
Type | Description |
Int32 |
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 |
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 | |
---|---|
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 |
NodePool.Types.UpdateInfo |
UpgradeSettings
public NodePool.Types.UpgradeSettings UpgradeSettings { get; set; }
Upgrade settings control disruption and speed of the upgrade.
Property Value | |
---|---|
Type | Description |
NodePool.Types.UpgradeSettings |
Version
public string Version { get; set; }
The version of the Kubernetes of this node.
Property Value | |
---|---|
Type | Description |
String |