/workload-eviction/v1/clusters/{clusterId}/config

Updates basic evictor configuration for the target cluster.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the cluster.

Body Params

Config defines the basic evictor component settings.
This was previously nested in Policies.NodeDownscaler.Evictor in V1.

boolean

Enable/disable the Evictor policy. This will either install or uninstall the Evictor component in your cluster.
Default: false

boolean
Defaults to false

Enable/disable dry-run. This property allows you to prevent the Evictor from carrying any operations out and
preview the actions it would take.
Default: false

boolean
Defaults to false

Enable/disable aggressive mode. By default, Evictor does not target nodes that are running unreplicated pods.
This mode will make the Evictor start considering application with just a single replica.
Default: false

boolean
Defaults to false

Enable/disable scoped mode. By default, Evictor targets all nodes in the cluster. This mode will constrain in to
just the nodes which were created by CAST AI.
Default: false

string
Defaults to 60s

Configure the interval duration between Evictor operations. This property can be used to lower or raise the
frequency of the Evictor's find-and-drain operations.
Default: 1 minute

int32
Defaults to 5

Configure the node grace period which controls the duration which must pass after a node has been created before
Evictor starts considering that node.
Default: 5 minutes

string
Defaults to 5s

Configure the pod eviction failure back off interval. If pod eviction fails then Evictor will attempt
to evict it again after the amount of time specified here.
Default: 5 seconds

boolean
Defaults to false

If enabled then Evictor will attempt to evict pods that have pod disruption budgets configured.
Default: false

boolean
Defaults to false

If enabled, Evictor will use soft tainting (PreferNoSchedule) instead of hard cordoning after eviction.
Default: false

boolean

If enabled, Evictor emits Kubernetes events on pods when they are evicted
as part of a node drain.
Default: false

string

Maximum time the evictor waits for a node to fully drain before giving up.
Default: 10 minutes

string

How long the evictor waits before rolling back a cordon when a drain attempt fails.
Default: 1 minute

boolean

If enabled, Evictor will evict pods and nodes running Windows workloads.
Default: false

boolean

If enabled, disables LIVE pod migration even when the cluster capability is detected.
Default: false

boolean

If enabled, disables WOOP scheduling recommendations even when the cluster capability is detected.
Default: false

boolean

If enabled, disables PodMutation CR application during scheduling simulation
even when the cluster capability is detected.
Default: false

boolean

If enabled, disables Karpenter-aware scheduling simulation even when Karpenter is detected.
Default: false

int32

Upper bound on nodes drained in a single cycle.
Default: 0 (no limit)

int32

Lower bound on nodes considered per cycle.
Default: 0

int32

Percentage of eligible nodes to consider per cycle, applied after min/max bounds.
Default: 0

boolean

If enabled, the evictor factors node cost into drain candidate selection,
preferring to drain more expensive nodes first.
Default: false

pricingModel
object

PricingModel overrides the cost coefficients used for pricing-aware candidate selection.

boolean

If enabled, indicates arm64 nodes are present so the scheduling simulation
includes them as valid bin-packing targets.
Default: false

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json