Class UpdateNodePoolDetails
The properties that define a request to update a node pool.
Inheritance
UpdateNodePoolDetails
Assembly: OCI.DotNetSDK.Containerengine.dll
Syntax
public class UpdateNodePoolDetails
Properties
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"}
|
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 to which the nodes in the node pool should be upgraded.
|
Name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type |
Description |
string |
The new name for the cluster. Avoid entering confidential information.
|
NodeConfigDetails
Declaration
[JsonProperty(PropertyName = "nodeConfigDetails")]
public UpdateNodePoolNodeConfigDetails NodeConfigDetails { get; set; }
Property Value
Type |
Description |
UpdateNodePoolNodeConfigDetails |
The configuration of nodes in the node pool. Only one of the subnetIds or nodeConfigDetails
properties should be specified. If the current value of quantityPerSubnet is greater than 0, the node
pool may still be scaled using quantityPerSubnet. Before you can use nodeConfigDetails,
you must first scale the node pool to 0 nodes using quantityPerSubnet.
|
NodeEvictionNodePoolSettings
Declaration
[JsonProperty(PropertyName = "nodeEvictionNodePoolSettings")]
public NodeEvictionNodePoolSettings NodeEvictionNodePoolSettings { get; set; }
Property Value
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 used on launch.
|
NodeShapeConfig
Declaration
[JsonProperty(PropertyName = "nodeShapeConfig")]
public UpdateNodeShapeConfigDetails NodeShapeConfig { get; set; }
Property Value
NodeSourceDetails
Declaration
[JsonProperty(PropertyName = "nodeSourceDetails")]
public NodeSourceDetails NodeSourceDetails { get; set; }
Property Value
Type |
Description |
NodeSourceDetails |
Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
|
QuantityPerSubnet
Declaration
[JsonProperty(PropertyName = "quantityPerSubnet")]
public int? QuantityPerSubnet { get; set; }
Property Value
Type |
Description |
int? |
The number of nodes to have in each subnet specified in the subnetIds property. This property is deprecated,
use nodeConfigDetails instead. If the current value of quantityPerSubnet is greater than 0, you can only
use quantityPerSubnet to scale the node pool. If the current value of quantityPerSubnet is equal to 0 and
the current value of size in nodeConfigDetails is greater than 0, before you can use quantityPerSubnet,
you must first scale the node pool to 0 nodes using nodeConfigDetails.
|
SshPublicKey
Declaration
[JsonProperty(PropertyName = "sshPublicKey")]
public string SshPublicKey { get; set; }
Property Value
Type |
Description |
string |
The SSH public key to add to 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. This property is deprecated,
use nodeConfigDetails instead. Only one of the subnetIds or nodeConfigDetails
properties can be specified.
|