ApplyInterruptibleNodeAffinity
Configures the node-affinity for the pod using the configuration specified.
def ApplyInterruptibleNodeAffinity(
interruptible: bool,
podSpec: *v1.PodSpec
)
Configures the node-affinity for the pod using the specified configuration.
Parameters
| Name | Type | Description |
|---|---|---|
| interruptible | bool | A boolean value indicating whether the node affinity should be configured for interruptible nodes. |
| podSpec | *v1.PodSpec | A pointer to the PodSpec object to which the node affinity configuration will be applied. |