UpdateablePropertiesNodePoolProperties interface

The template for adding updateable properties.

Properties

autoScaling

Representation of a autoscaling in a node pool.

labels

Kubernetes labels to propagate to the NodePool Nodes Note that when the labels are updated this is only applied to newly create nodes in the Nodepool, existing node labels remain unchanged.

nodeDrainTimeoutMinutes

nodeDrainTimeoutMinutes is the grace period for how long Pod Disruption Budget-protected workloads will be respected during any node draining operation. After this grace period, any workloads protected by Pod Disruption Budgets that have not been successfully drained from a node will be forcibly evicted. This is especially relevant to cluster upgrades.

Valid values are from 0 to 10080 minutes (1 week) . 0 means that the NodePool can be drained without any time limitation.

If unset the cluster nodeDrainTimeoutMinutes value is used as a default.

replicas

The number of worker nodes, it cannot be used together with autoscaling. Validation:

  • Minimum: 0
  • Maximum: 200 (only when availabilityZone is not specified)
  • No maximum when availabilityZone is specified
taints

Taints for the nodes

version

OpenShift version for the nodepool

Property Details

autoScaling

Representation of a autoscaling in a node pool.

autoScaling?: NodePoolAutoScaling

Property Value

labels

Kubernetes labels to propagate to the NodePool Nodes Note that when the labels are updated this is only applied to newly create nodes in the Nodepool, existing node labels remain unchanged.

labels?: Label[]

Property Value

Label[]

nodeDrainTimeoutMinutes

nodeDrainTimeoutMinutes is the grace period for how long Pod Disruption Budget-protected workloads will be respected during any node draining operation. After this grace period, any workloads protected by Pod Disruption Budgets that have not been successfully drained from a node will be forcibly evicted. This is especially relevant to cluster upgrades.

Valid values are from 0 to 10080 minutes (1 week) . 0 means that the NodePool can be drained without any time limitation.

If unset the cluster nodeDrainTimeoutMinutes value is used as a default.

nodeDrainTimeoutMinutes?: number

Property Value

number

replicas

The number of worker nodes, it cannot be used together with autoscaling. Validation:

  • Minimum: 0
  • Maximum: 200 (only when availabilityZone is not specified)
  • No maximum when availabilityZone is specified
replicas?: number

Property Value

number

taints

Taints for the nodes

taints?: Taint[]

Property Value

Taint[]

version

OpenShift version for the nodepool

version?: NodePoolVersionProfile

Property Value