public static class NodeEvictionNodePoolSettings.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NodeEvictionNodePoolSettings |
build() |
NodeEvictionNodePoolSettings.Builder |
copy(NodeEvictionNodePoolSettings model) |
NodeEvictionNodePoolSettings.Builder |
evictionGraceDuration(String evictionGraceDuration)
Duration after which OKE will give up eviction of the pods on the node.
|
NodeEvictionNodePoolSettings.Builder |
isForceDeleteAfterGraceDuration(Boolean isForceDeleteAfterGraceDuration)
If the underlying compute instance should be deleted if you cannot evict all the pods in
grace period
|
public NodeEvictionNodePoolSettings.Builder evictionGraceDuration(String evictionGraceDuration)
Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
evictionGraceDuration
- the value to setpublic NodeEvictionNodePoolSettings.Builder isForceDeleteAfterGraceDuration(Boolean isForceDeleteAfterGraceDuration)
If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
isForceDeleteAfterGraceDuration
- the value to setpublic NodeEvictionNodePoolSettings build()
public NodeEvictionNodePoolSettings.Builder copy(NodeEvictionNodePoolSettings model)
Copyright © 2016–2024. All rights reserved.