Class NodePool
A pool of compute nodes attached to a cluster. Avoid entering confidential information.
Assembly: OCI.DotNetSDK.Containerengine.dll
Syntax
Properties
ClusterId
Declaration
[JsonProperty(PropertyName = "clusterId")]
public string ClusterId { get; set; }
Property Value
Type |
Description |
string |
The OCID of the cluster to which this node pool is attached.
|
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type |
Description |
string |
The OCID of the compartment in which the node pool exists.
|
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type |
Description |
Dictionary<string, string> |
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
Example: {"Department": "Finance"}
|
Id
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type |
Description |
string |
The OCID of the node pool.
|
InitialNodeLabels
Declaration
[JsonProperty(PropertyName = "initialNodeLabels")]
public List<KeyValue> InitialNodeLabels { get; set; }
Property Value
Type |
Description |
List<KeyValue> |
A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
|
KubernetesVersion
Declaration
[JsonProperty(PropertyName = "kubernetesVersion")]
public string KubernetesVersion { get; set; }
Property Value
Type |
Description |
string |
The version of Kubernetes running on the nodes in the node pool.
|
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type |
Description |
string |
Details about the state of the nodepool.
|
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public NodePoolLifecycleState? LifecycleState { get; set; }
Property Value
Name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type |
Description |
string |
The name of the node pool.
|
NodeConfigDetails
Declaration
[JsonProperty(PropertyName = "nodeConfigDetails")]
public NodePoolNodeConfigDetails NodeConfigDetails { get; set; }
Property Value
NodeEvictionNodePoolSettings
Declaration
[JsonProperty(PropertyName = "nodeEvictionNodePoolSettings")]
public NodeEvictionNodePoolSettings NodeEvictionNodePoolSettings { get; set; }
Property Value
NodeImageId
Declaration
[JsonProperty(PropertyName = "nodeImageId")]
public string NodeImageId { get; set; }
Property Value
Type |
Description |
string |
Deprecated. see nodeSource . The OCID of the image running on the nodes in the node pool.
|
NodeImageName
Declaration
[JsonProperty(PropertyName = "nodeImageName")]
public string NodeImageName { get; set; }
Property Value
Type |
Description |
string |
Deprecated. see nodeSource . The name of the image running on the nodes in the node pool.
|
Declaration
[JsonProperty(PropertyName = "nodeMetadata")]
public Dictionary<string, string> NodeMetadata { get; set; }
Property Value
Type |
Description |
Dictionary<string, string> |
A list of key/value pairs to add to each underlying OCI instance in the node pool on launch.
|
NodePoolCyclingDetails
Declaration
[JsonProperty(PropertyName = "nodePoolCyclingDetails")]
public NodePoolCyclingDetails NodePoolCyclingDetails { get; set; }
Property Value
NodeShape
Declaration
[JsonProperty(PropertyName = "nodeShape")]
public string NodeShape { get; set; }
Property Value
Type |
Description |
string |
The name of the node shape of the nodes in the node pool.
|
NodeShapeConfig
Declaration
[JsonProperty(PropertyName = "nodeShapeConfig")]
public NodeShapeConfig NodeShapeConfig { get; set; }
Property Value
NodeSource
Declaration
[JsonProperty(PropertyName = "nodeSource")]
public NodeSourceOption NodeSource { get; set; }
Property Value
Type |
Description |
NodeSourceOption |
Deprecated. see nodeSourceDetails . Source running on the nodes in the node pool.
|
NodeSourceDetails
Declaration
[JsonProperty(PropertyName = "nodeSourceDetails")]
public NodeSourceDetails NodeSourceDetails { get; set; }
Property Value
Nodes
Declaration
[JsonProperty(PropertyName = "nodes")]
public List<Node> Nodes { get; set; }
Property Value
Type |
Description |
List<Node> |
The nodes in the node pool.
|
QuantityPerSubnet
Declaration
[JsonProperty(PropertyName = "quantityPerSubnet")]
public int? QuantityPerSubnet { get; set; }
Property Value
Type |
Description |
int? |
The number of nodes in each subnet.
|
SshPublicKey
Declaration
[JsonProperty(PropertyName = "sshPublicKey")]
public string SshPublicKey { get; set; }
Property Value
Type |
Description |
string |
The SSH public key on each node in the node pool on launch.
|
SubnetIds
Declaration
[JsonProperty(PropertyName = "subnetIds")]
public List<string> SubnetIds { get; set; }
Property Value
Type |
Description |
List<string> |
The OCIDs of the subnets in which to place nodes for this node pool.
|
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type |
Description |
Dictionary<string, Dictionary<string, object>> |
Usage of system tag keys. These predefined keys are scoped to namespaces.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
|