CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
castai.EvictorAdvancedConfig
Create EvictorAdvancedConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EvictorAdvancedConfig(name: string, args: EvictorAdvancedConfigArgs, opts?: CustomResourceOptions);@overload
def EvictorAdvancedConfig(resource_name: str,
args: EvictorAdvancedConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EvictorAdvancedConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
evictor_advanced_configs: Optional[Sequence[_autoscaling.EvictorAdvancedConfigEvictorAdvancedConfigArgs]] = None)func NewEvictorAdvancedConfig(ctx *Context, name string, args EvictorAdvancedConfigArgs, opts ...ResourceOption) (*EvictorAdvancedConfig, error)public EvictorAdvancedConfig(string name, EvictorAdvancedConfigArgs args, CustomResourceOptions? opts = null)
public EvictorAdvancedConfig(String name, EvictorAdvancedConfigArgs args)
public EvictorAdvancedConfig(String name, EvictorAdvancedConfigArgs args, CustomResourceOptions options)
type: castai:autoscaling:EvictorAdvancedConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EvictorAdvancedConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EvictorAdvancedConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EvictorAdvancedConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EvictorAdvancedConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EvictorAdvancedConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EvictorAdvancedConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EvictorAdvancedConfig resource accepts the following input properties:
- Cluster
Id string - CAST AI cluster id.
- Evictor
Advanced List<Pulumi.Configs Cast AI. Autoscaling. Inputs. Evictor Advanced Config Evictor Advanced Config> - evictor advanced configuration to target specific node/pod
- Cluster
Id string - CAST AI cluster id.
- Evictor
Advanced EvictorConfigs Advanced Config Evictor Advanced Config Args - evictor advanced configuration to target specific node/pod
- cluster
Id String - CAST AI cluster id.
- evictor
Advanced List<EvictorConfigs Advanced Config Evictor Advanced Config> - evictor advanced configuration to target specific node/pod
- cluster
Id string - CAST AI cluster id.
- evictor
Advanced autoscalingConfigs Evictor Advanced Config Evictor Advanced Config[] - evictor advanced configuration to target specific node/pod
- cluster_
id str - CAST AI cluster id.
- evictor_
advanced_ Sequence[autoscaling.configs Evictor Advanced Config Evictor Advanced Config Args] - evictor advanced configuration to target specific node/pod
- cluster
Id String - CAST AI cluster id.
- evictor
Advanced List<Property Map>Configs - evictor advanced configuration to target specific node/pod
Outputs
All input properties are implicitly available as output properties. Additionally, the EvictorAdvancedConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing EvictorAdvancedConfig Resource
Get an existing EvictorAdvancedConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EvictorAdvancedConfigState, opts?: CustomResourceOptions): EvictorAdvancedConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
evictor_advanced_configs: Optional[Sequence[_autoscaling.EvictorAdvancedConfigEvictorAdvancedConfigArgs]] = None) -> EvictorAdvancedConfigfunc GetEvictorAdvancedConfig(ctx *Context, name string, id IDInput, state *EvictorAdvancedConfigState, opts ...ResourceOption) (*EvictorAdvancedConfig, error)public static EvictorAdvancedConfig Get(string name, Input<string> id, EvictorAdvancedConfigState? state, CustomResourceOptions? opts = null)public static EvictorAdvancedConfig get(String name, Output<String> id, EvictorAdvancedConfigState state, CustomResourceOptions options)resources: _: type: castai:autoscaling:EvictorAdvancedConfig get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cluster
Id string - CAST AI cluster id.
- Evictor
Advanced List<Pulumi.Configs Cast AI. Autoscaling. Inputs. Evictor Advanced Config Evictor Advanced Config> - evictor advanced configuration to target specific node/pod
- Cluster
Id string - CAST AI cluster id.
- Evictor
Advanced EvictorConfigs Advanced Config Evictor Advanced Config Args - evictor advanced configuration to target specific node/pod
- cluster
Id String - CAST AI cluster id.
- evictor
Advanced List<EvictorConfigs Advanced Config Evictor Advanced Config> - evictor advanced configuration to target specific node/pod
- cluster
Id string - CAST AI cluster id.
- evictor
Advanced autoscalingConfigs Evictor Advanced Config Evictor Advanced Config[] - evictor advanced configuration to target specific node/pod
- cluster_
id str - CAST AI cluster id.
- evictor_
advanced_ Sequence[autoscaling.configs Evictor Advanced Config Evictor Advanced Config Args] - evictor advanced configuration to target specific node/pod
- cluster
Id String - CAST AI cluster id.
- evictor
Advanced List<Property Map>Configs - evictor advanced configuration to target specific node/pod
Supporting Types
EvictorAdvancedConfigEvictorAdvancedConfig, EvictorAdvancedConfigEvictorAdvancedConfigArgs
- Aggressive bool
- Apply Aggressive mode to Evictor
- Disposable bool
- Mark node as disposable
- Node
Selectors List<Pulumi.Cast AI. Autoscaling. Inputs. Evictor Advanced Config Evictor Advanced Config Node Selector> - node selector
- Pod
Selectors List<Pulumi.Cast AI. Autoscaling. Inputs. Evictor Advanced Config Evictor Advanced Config Pod Selector> - pod selector
- Removal
Disabled bool - Mark pods as removal disabled
- Aggressive bool
- Apply Aggressive mode to Evictor
- Disposable bool
- Mark node as disposable
- Node
Selectors EvictorAdvanced Config Evictor Advanced Config Node Selector - node selector
- Pod
Selectors EvictorAdvanced Config Evictor Advanced Config Pod Selector - pod selector
- Removal
Disabled bool - Mark pods as removal disabled
- aggressive Boolean
- Apply Aggressive mode to Evictor
- disposable Boolean
- Mark node as disposable
- node
Selectors List<EvictorAdvanced Config Evictor Advanced Config Node Selector> - node selector
- pod
Selectors List<EvictorAdvanced Config Evictor Advanced Config Pod Selector> - pod selector
- removal
Disabled Boolean - Mark pods as removal disabled
- aggressive boolean
- Apply Aggressive mode to Evictor
- disposable boolean
- Mark node as disposable
- node
Selectors autoscalingEvictor Advanced Config Evictor Advanced Config Node Selector[] - node selector
- pod
Selectors autoscalingEvictor Advanced Config Evictor Advanced Config Pod Selector[] - pod selector
- removal
Disabled boolean - Mark pods as removal disabled
- aggressive bool
- Apply Aggressive mode to Evictor
- disposable bool
- Mark node as disposable
- node_
selectors Sequence[autoscaling.Evictor Advanced Config Evictor Advanced Config Node Selector] - node selector
- pod_
selectors Sequence[autoscaling.Evictor Advanced Config Evictor Advanced Config Pod Selector] - pod selector
- removal_
disabled bool - Mark pods as removal disabled
- aggressive Boolean
- Apply Aggressive mode to Evictor
- disposable Boolean
- Mark node as disposable
- node
Selectors List<Property Map> - node selector
- pod
Selectors List<Property Map> - pod selector
- removal
Disabled Boolean - Mark pods as removal disabled
EvictorAdvancedConfigEvictorAdvancedConfigNodeSelector, EvictorAdvancedConfigEvictorAdvancedConfigNodeSelectorArgs
- match
Expressions List<Property Map> - match
Labels Map<String>
EvictorAdvancedConfigEvictorAdvancedConfigNodeSelectorMatchExpression, EvictorAdvancedConfigEvictorAdvancedConfigNodeSelectorMatchExpressionArgs
EvictorAdvancedConfigEvictorAdvancedConfigPodSelector, EvictorAdvancedConfigEvictorAdvancedConfigPodSelectorArgs
- Kind string
- Match
Expressions List<Pulumi.Cast AI. Autoscaling. Inputs. Evictor Advanced Config Evictor Advanced Config Pod Selector Match Expression> - Match
Labels Dictionary<string, string> - Namespace string
- Kind string
- Match
Expressions EvictorAdvanced Config Evictor Advanced Config Pod Selector Match Expression - Match
Labels map[string]string - Namespace string
- kind String
- match
Expressions List<EvictorAdvanced Config Evictor Advanced Config Pod Selector Match Expression> - match
Labels Map<String,String> - namespace String
- kind string
- match
Expressions autoscalingEvictor Advanced Config Evictor Advanced Config Pod Selector Match Expression[] - match
Labels {[key: string]: string} - namespace string
- kind String
- match
Expressions List<Property Map> - match
Labels Map<String> - namespace String
EvictorAdvancedConfigEvictorAdvancedConfigPodSelectorMatchExpression, EvictorAdvancedConfigEvictorAdvancedConfigPodSelectorMatchExpressionArgs
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
