published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI
Create PodMutation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PodMutation(name: string, args: PodMutationArgs, opts?: CustomResourceOptions);@overload
def PodMutation(resource_name: str,
args: PodMutationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PodMutation(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
filter_v2: Optional[PodMutationFilterV2Args] = None,
cluster_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
distribution_groups: Optional[Sequence[PodMutationDistributionGroupArgs]] = None,
annotations: Optional[Mapping[str, str]] = None,
affinity: Optional[PodMutationAffinityArgs] = None,
name: Optional[str] = None,
node_selector: Optional[PodMutationNodeSelectorArgs] = None,
node_templates_to_consolidates: Optional[Sequence[str]] = None,
organization_id: Optional[str] = None,
patch: Optional[str] = None,
pod_eviction: Optional[PodMutationPodEvictionArgs] = None,
spot_config: Optional[PodMutationSpotConfigArgs] = None,
tolerations: Optional[Sequence[PodMutationTolerationArgs]] = None)func NewPodMutation(ctx *Context, name string, args PodMutationArgs, opts ...ResourceOption) (*PodMutation, error)public PodMutation(string name, PodMutationArgs args, CustomResourceOptions? opts = null)
public PodMutation(String name, PodMutationArgs args)
public PodMutation(String name, PodMutationArgs args, CustomResourceOptions options)
type: castai:PodMutation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "castai_pod_mutation" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PodMutationArgs
- 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 PodMutationArgs
- 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 PodMutationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PodMutationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PodMutationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var podMutationResource = new CastAI.PodMutation("podMutationResource", new()
{
Enabled = false,
FilterV2 = new CastAI.Inputs.PodMutationFilterV2Args
{
Pod = new CastAI.Inputs.PodMutationFilterV2PodArgs
{
ExcludeLabelsFilter = new CastAI.Inputs.PodMutationFilterV2PodExcludeLabelsFilterArgs
{
Matchers = new[]
{
new CastAI.Inputs.PodMutationFilterV2PodExcludeLabelsFilterMatcherArgs
{
Key = new CastAI.Inputs.PodMutationFilterV2PodExcludeLabelsFilterMatcherKeyArgs
{
Type = "string",
Value = "string",
},
Value = new CastAI.Inputs.PodMutationFilterV2PodExcludeLabelsFilterMatcherValueArgs
{
Type = "string",
Value = "string",
},
},
},
Operator = "string",
},
LabelsFilter = new CastAI.Inputs.PodMutationFilterV2PodLabelsFilterArgs
{
Matchers = new[]
{
new CastAI.Inputs.PodMutationFilterV2PodLabelsFilterMatcherArgs
{
Key = new CastAI.Inputs.PodMutationFilterV2PodLabelsFilterMatcherKeyArgs
{
Type = "string",
Value = "string",
},
Value = new CastAI.Inputs.PodMutationFilterV2PodLabelsFilterMatcherValueArgs
{
Type = "string",
Value = "string",
},
},
},
Operator = "string",
},
TolerationsFilter = new CastAI.Inputs.PodMutationFilterV2PodTolerationsFilterArgs
{
Matchers = new[]
{
new CastAI.Inputs.PodMutationFilterV2PodTolerationsFilterMatcherArgs
{
Key = new CastAI.Inputs.PodMutationFilterV2PodTolerationsFilterMatcherKeyArgs
{
Type = "string",
Value = "string",
},
Operator = new CastAI.Inputs.PodMutationFilterV2PodTolerationsFilterMatcherOperatorArgs
{
Type = "string",
Value = "string",
},
Value = new CastAI.Inputs.PodMutationFilterV2PodTolerationsFilterMatcherValueArgs
{
Type = "string",
Value = "string",
},
},
},
Operator = "string",
},
},
Workload = new CastAI.Inputs.PodMutationFilterV2WorkloadArgs
{
ExcludeKinds = new[]
{
new CastAI.Inputs.PodMutationFilterV2WorkloadExcludeKindArgs
{
Type = "string",
Value = "string",
},
},
ExcludeNames = new[]
{
new CastAI.Inputs.PodMutationFilterV2WorkloadExcludeNameArgs
{
Type = "string",
Value = "string",
},
},
ExcludeNamespaces = new[]
{
new CastAI.Inputs.PodMutationFilterV2WorkloadExcludeNamespaceArgs
{
Type = "string",
Value = "string",
},
},
Kinds = new[]
{
new CastAI.Inputs.PodMutationFilterV2WorkloadKindArgs
{
Type = "string",
Value = "string",
},
},
Names = new[]
{
new CastAI.Inputs.PodMutationFilterV2WorkloadNameArgs
{
Type = "string",
Value = "string",
},
},
Namespaces = new[]
{
new CastAI.Inputs.PodMutationFilterV2WorkloadNamespaceArgs
{
Type = "string",
Value = "string",
},
},
},
},
ClusterId = "string",
Labels =
{
{ "string", "string" },
},
DistributionGroups = new[]
{
new CastAI.Inputs.PodMutationDistributionGroupArgs
{
Configuration = new CastAI.Inputs.PodMutationDistributionGroupConfigurationArgs
{
Affinity = new CastAI.Inputs.PodMutationDistributionGroupConfigurationAffinityArgs
{
NodeAffinity = new CastAI.Inputs.PodMutationDistributionGroupConfigurationAffinityNodeAffinityArgs
{
PreferredDuringSchedulingIgnoredDuringExecutions = new[]
{
new CastAI.Inputs.PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs
{
Preference = new CastAI.Inputs.PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs
{
MatchExpressions = new[]
{
new CastAI.Inputs.PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs
{
Key = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
},
Weight = 0,
},
},
},
},
Annotations =
{
{ "string", "string" },
},
Labels =
{
{ "string", "string" },
},
NodeSelector = new CastAI.Inputs.PodMutationDistributionGroupConfigurationNodeSelectorArgs
{
Add =
{
{ "string", "string" },
},
Remove =
{
{ "string", "string" },
},
},
NodeTemplatesToConsolidates = new[]
{
"string",
},
Patch = "string",
SpotType = "string",
Tolerations = new[]
{
new CastAI.Inputs.PodMutationDistributionGroupConfigurationTolerationArgs
{
Effect = "string",
Key = "string",
Operator = "string",
TolerationSeconds = 0,
Value = "string",
},
},
},
Name = "string",
Percentage = 0,
},
},
Annotations =
{
{ "string", "string" },
},
Affinity = new CastAI.Inputs.PodMutationAffinityArgs
{
NodeAffinity = new CastAI.Inputs.PodMutationAffinityNodeAffinityArgs
{
PreferredDuringSchedulingIgnoredDuringExecutions = new[]
{
new CastAI.Inputs.PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs
{
Preference = new CastAI.Inputs.PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs
{
MatchExpressions = new[]
{
new CastAI.Inputs.PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs
{
Key = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
},
Weight = 0,
},
},
},
},
Name = "string",
NodeSelector = new CastAI.Inputs.PodMutationNodeSelectorArgs
{
Add =
{
{ "string", "string" },
},
Remove =
{
{ "string", "string" },
},
},
NodeTemplatesToConsolidates = new[]
{
"string",
},
OrganizationId = "string",
Patch = "string",
PodEviction = new CastAI.Inputs.PodMutationPodEvictionArgs
{
Enabled = false,
},
SpotConfig = new CastAI.Inputs.PodMutationSpotConfigArgs
{
DistributionPercentage = 0,
SpotMode = "string",
},
Tolerations = new[]
{
new CastAI.Inputs.PodMutationTolerationArgs
{
Effect = "string",
Key = "string",
Operator = "string",
TolerationSeconds = 0,
Value = "string",
},
},
});
example, err := castai.NewPodMutation(ctx, "podMutationResource", &castai.PodMutationArgs{
Enabled: pulumi.Bool(false),
FilterV2: &castai.PodMutationFilterV2Args{
Pod: &castai.PodMutationFilterV2PodArgs{
ExcludeLabelsFilter: &castai.PodMutationFilterV2PodExcludeLabelsFilterArgs{
Matchers: castai.PodMutationFilterV2PodExcludeLabelsFilterMatcherArray{
&castai.PodMutationFilterV2PodExcludeLabelsFilterMatcherArgs{
Key: &castai.PodMutationFilterV2PodExcludeLabelsFilterMatcherKeyArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
Value: &castai.PodMutationFilterV2PodExcludeLabelsFilterMatcherValueArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Operator: pulumi.String("string"),
},
LabelsFilter: &castai.PodMutationFilterV2PodLabelsFilterArgs{
Matchers: castai.PodMutationFilterV2PodLabelsFilterMatcherArray{
&castai.PodMutationFilterV2PodLabelsFilterMatcherArgs{
Key: &castai.PodMutationFilterV2PodLabelsFilterMatcherKeyArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
Value: &castai.PodMutationFilterV2PodLabelsFilterMatcherValueArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Operator: pulumi.String("string"),
},
TolerationsFilter: &castai.PodMutationFilterV2PodTolerationsFilterArgs{
Matchers: castai.PodMutationFilterV2PodTolerationsFilterMatcherArray{
&castai.PodMutationFilterV2PodTolerationsFilterMatcherArgs{
Key: &castai.PodMutationFilterV2PodTolerationsFilterMatcherKeyArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
Operator: &castai.PodMutationFilterV2PodTolerationsFilterMatcherOperatorArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
Value: &castai.PodMutationFilterV2PodTolerationsFilterMatcherValueArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Operator: pulumi.String("string"),
},
},
Workload: &castai.PodMutationFilterV2WorkloadArgs{
ExcludeKinds: castai.PodMutationFilterV2WorkloadExcludeKindArray{
&castai.PodMutationFilterV2WorkloadExcludeKindArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
ExcludeNames: castai.PodMutationFilterV2WorkloadExcludeNameArray{
&castai.PodMutationFilterV2WorkloadExcludeNameArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
ExcludeNamespaces: castai.PodMutationFilterV2WorkloadExcludeNamespaceArray{
&castai.PodMutationFilterV2WorkloadExcludeNamespaceArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Kinds: castai.PodMutationFilterV2WorkloadKindArray{
&castai.PodMutationFilterV2WorkloadKindArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Names: castai.PodMutationFilterV2WorkloadNameArray{
&castai.PodMutationFilterV2WorkloadNameArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Namespaces: castai.PodMutationFilterV2WorkloadNamespaceArray{
&castai.PodMutationFilterV2WorkloadNamespaceArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
ClusterId: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
DistributionGroups: castai.PodMutationDistributionGroupArray{
&castai.PodMutationDistributionGroupArgs{
Configuration: &castai.PodMutationDistributionGroupConfigurationArgs{
Affinity: &castai.PodMutationDistributionGroupConfigurationAffinityArgs{
NodeAffinity: &castai.PodMutationDistributionGroupConfigurationAffinityNodeAffinityArgs{
PreferredDuringSchedulingIgnoredDuringExecutions: castai.PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArray{
&castai.PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs{
Preference: &castai.PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs{
MatchExpressions: castai.PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArray{
&castai.PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Weight: pulumi.Int(0),
},
},
},
},
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
NodeSelector: &castai.PodMutationDistributionGroupConfigurationNodeSelectorArgs{
Add: pulumi.StringMap{
"string": pulumi.String("string"),
},
Remove: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
NodeTemplatesToConsolidates: pulumi.StringArray{
pulumi.String("string"),
},
Patch: pulumi.String("string"),
SpotType: pulumi.String("string"),
Tolerations: castai.PodMutationDistributionGroupConfigurationTolerationArray{
&castai.PodMutationDistributionGroupConfigurationTolerationArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
TolerationSeconds: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
Percentage: pulumi.Int(0),
},
},
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Affinity: &castai.PodMutationAffinityArgs{
NodeAffinity: &castai.PodMutationAffinityNodeAffinityArgs{
PreferredDuringSchedulingIgnoredDuringExecutions: castai.PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArray{
&castai.PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs{
Preference: &castai.PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs{
MatchExpressions: castai.PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArray{
&castai.PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Weight: pulumi.Int(0),
},
},
},
},
Name: pulumi.String("string"),
NodeSelector: &castai.PodMutationNodeSelectorArgs{
Add: pulumi.StringMap{
"string": pulumi.String("string"),
},
Remove: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
NodeTemplatesToConsolidates: pulumi.StringArray{
pulumi.String("string"),
},
OrganizationId: pulumi.String("string"),
Patch: pulumi.String("string"),
PodEviction: &castai.PodMutationPodEvictionArgs{
Enabled: pulumi.Bool(false),
},
SpotConfig: &castai.PodMutationSpotConfigArgs{
DistributionPercentage: pulumi.Int(0),
SpotMode: pulumi.String("string"),
},
Tolerations: castai.PodMutationTolerationArray{
&castai.PodMutationTolerationArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
TolerationSeconds: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
})
resource "castai_pod_mutation" "podMutationResource" {
lifecycle {
create_before_destroy = true
}
enabled = false
filter_v2 = {
pod = {
exclude_labels_filter = {
matchers = [{
key = {
type = "string"
value = "string"
}
value = {
type = "string"
value = "string"
}
}]
operator = "string"
}
labels_filter = {
matchers = [{
key = {
type = "string"
value = "string"
}
value = {
type = "string"
value = "string"
}
}]
operator = "string"
}
tolerations_filter = {
matchers = [{
key = {
type = "string"
value = "string"
}
operator = {
type = "string"
value = "string"
}
value = {
type = "string"
value = "string"
}
}]
operator = "string"
}
}
workload = {
exclude_kinds = [{
type = "string"
value = "string"
}]
exclude_names = [{
type = "string"
value = "string"
}]
exclude_namespaces = [{
type = "string"
value = "string"
}]
kinds = [{
type = "string"
value = "string"
}]
names = [{
type = "string"
value = "string"
}]
namespaces = [{
type = "string"
value = "string"
}]
}
}
cluster_id = "string"
labels = {
"string" = "string"
}
distribution_groups {
configuration = {
affinity = {
node_affinity = {
preferred_during_scheduling_ignored_during_executions = [{
preference = {
match_expressions = [{
key = "string"
operator = "string"
values = ["string"]
}]
}
weight = 0
}]
}
}
annotations = {
"string" = "string"
}
labels = {
"string" = "string"
}
node_selector = {
add = {
"string" = "string"
}
remove = {
"string" = "string"
}
}
node_templates_to_consolidates = ["string"]
patch = "string"
spot_type = "string"
tolerations = [{
effect = "string"
key = "string"
operator = "string"
toleration_seconds = 0
value = "string"
}]
}
name = "string"
percentage = 0
}
annotations = {
"string" = "string"
}
affinity = {
node_affinity = {
preferred_during_scheduling_ignored_during_executions = [{
preference = {
match_expressions = [{
key = "string"
operator = "string"
values = ["string"]
}]
}
weight = 0
}]
}
}
name = "string"
node_selector = {
add = {
"string" = "string"
}
remove = {
"string" = "string"
}
}
node_templates_to_consolidates = ["string"]
organization_id = "string"
patch = "string"
pod_eviction = {
enabled = false
}
spot_config = {
distribution_percentage = 0
spot_mode = "string"
}
tolerations {
effect = "string"
key = "string"
operator = "string"
toleration_seconds = 0
value = "string"
}
}
var podMutationResource = new PodMutation("podMutationResource", PodMutationArgs.builder()
.enabled(false)
.filterV2(PodMutationFilterV2Args.builder()
.pod(PodMutationFilterV2PodArgs.builder()
.excludeLabelsFilter(PodMutationFilterV2PodExcludeLabelsFilterArgs.builder()
.matchers(PodMutationFilterV2PodExcludeLabelsFilterMatcherArgs.builder()
.key(PodMutationFilterV2PodExcludeLabelsFilterMatcherKeyArgs.builder()
.type("string")
.value("string")
.build())
.value(PodMutationFilterV2PodExcludeLabelsFilterMatcherValueArgs.builder()
.type("string")
.value("string")
.build())
.build())
.operator("string")
.build())
.labelsFilter(PodMutationFilterV2PodLabelsFilterArgs.builder()
.matchers(PodMutationFilterV2PodLabelsFilterMatcherArgs.builder()
.key(PodMutationFilterV2PodLabelsFilterMatcherKeyArgs.builder()
.type("string")
.value("string")
.build())
.value(PodMutationFilterV2PodLabelsFilterMatcherValueArgs.builder()
.type("string")
.value("string")
.build())
.build())
.operator("string")
.build())
.tolerationsFilter(PodMutationFilterV2PodTolerationsFilterArgs.builder()
.matchers(PodMutationFilterV2PodTolerationsFilterMatcherArgs.builder()
.key(PodMutationFilterV2PodTolerationsFilterMatcherKeyArgs.builder()
.type("string")
.value("string")
.build())
.operator(PodMutationFilterV2PodTolerationsFilterMatcherOperatorArgs.builder()
.type("string")
.value("string")
.build())
.value(PodMutationFilterV2PodTolerationsFilterMatcherValueArgs.builder()
.type("string")
.value("string")
.build())
.build())
.operator("string")
.build())
.build())
.workload(PodMutationFilterV2WorkloadArgs.builder()
.excludeKinds(PodMutationFilterV2WorkloadExcludeKindArgs.builder()
.type("string")
.value("string")
.build())
.excludeNames(PodMutationFilterV2WorkloadExcludeNameArgs.builder()
.type("string")
.value("string")
.build())
.excludeNamespaces(PodMutationFilterV2WorkloadExcludeNamespaceArgs.builder()
.type("string")
.value("string")
.build())
.kinds(PodMutationFilterV2WorkloadKindArgs.builder()
.type("string")
.value("string")
.build())
.names(PodMutationFilterV2WorkloadNameArgs.builder()
.type("string")
.value("string")
.build())
.namespaces(PodMutationFilterV2WorkloadNamespaceArgs.builder()
.type("string")
.value("string")
.build())
.build())
.build())
.clusterId("string")
.labels(Map.of("string", "string"))
.distributionGroups(PodMutationDistributionGroupArgs.builder()
.configuration(PodMutationDistributionGroupConfigurationArgs.builder()
.affinity(PodMutationDistributionGroupConfigurationAffinityArgs.builder()
.nodeAffinity(PodMutationDistributionGroupConfigurationAffinityNodeAffinityArgs.builder()
.preferredDuringSchedulingIgnoredDuringExecutions(PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs.builder()
.preference(PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs.builder()
.matchExpressions(PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs.builder()
.key("string")
.operator("string")
.values("string")
.build())
.build())
.weight(0)
.build())
.build())
.build())
.annotations(Map.of("string", "string"))
.labels(Map.of("string", "string"))
.nodeSelector(PodMutationDistributionGroupConfigurationNodeSelectorArgs.builder()
.add(Map.of("string", "string"))
.remove(Map.of("string", "string"))
.build())
.nodeTemplatesToConsolidates("string")
.patch("string")
.spotType("string")
.tolerations(PodMutationDistributionGroupConfigurationTolerationArgs.builder()
.effect("string")
.key("string")
.operator("string")
.tolerationSeconds(0)
.value("string")
.build())
.build())
.name("string")
.percentage(0)
.build())
.annotations(Map.of("string", "string"))
.affinity(PodMutationAffinityArgs.builder()
.nodeAffinity(PodMutationAffinityNodeAffinityArgs.builder()
.preferredDuringSchedulingIgnoredDuringExecutions(PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs.builder()
.preference(PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs.builder()
.matchExpressions(PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs.builder()
.key("string")
.operator("string")
.values("string")
.build())
.build())
.weight(0)
.build())
.build())
.build())
.name("string")
.nodeSelector(PodMutationNodeSelectorArgs.builder()
.add(Map.of("string", "string"))
.remove(Map.of("string", "string"))
.build())
.nodeTemplatesToConsolidates("string")
.organizationId("string")
.patch("string")
.podEviction(PodMutationPodEvictionArgs.builder()
.enabled(false)
.build())
.spotConfig(PodMutationSpotConfigArgs.builder()
.distributionPercentage(0)
.spotMode("string")
.build())
.tolerations(PodMutationTolerationArgs.builder()
.effect("string")
.key("string")
.operator("string")
.tolerationSeconds(0)
.value("string")
.build())
.build());
pod_mutation_resource = castai.PodMutation("podMutationResource",
enabled=False,
filter_v2={
"pod": {
"exclude_labels_filter": {
"matchers": [{
"key": {
"type": "string",
"value": "string",
},
"value": {
"type": "string",
"value": "string",
},
}],
"operator": "string",
},
"labels_filter": {
"matchers": [{
"key": {
"type": "string",
"value": "string",
},
"value": {
"type": "string",
"value": "string",
},
}],
"operator": "string",
},
"tolerations_filter": {
"matchers": [{
"key": {
"type": "string",
"value": "string",
},
"operator": {
"type": "string",
"value": "string",
},
"value": {
"type": "string",
"value": "string",
},
}],
"operator": "string",
},
},
"workload": {
"exclude_kinds": [{
"type": "string",
"value": "string",
}],
"exclude_names": [{
"type": "string",
"value": "string",
}],
"exclude_namespaces": [{
"type": "string",
"value": "string",
}],
"kinds": [{
"type": "string",
"value": "string",
}],
"names": [{
"type": "string",
"value": "string",
}],
"namespaces": [{
"type": "string",
"value": "string",
}],
},
},
cluster_id="string",
labels={
"string": "string",
},
distribution_groups=[{
"configuration": {
"affinity": {
"node_affinity": {
"preferred_during_scheduling_ignored_during_executions": [{
"preference": {
"match_expressions": [{
"key": "string",
"operator": "string",
"values": ["string"],
}],
},
"weight": 0,
}],
},
},
"annotations": {
"string": "string",
},
"labels": {
"string": "string",
},
"node_selector": {
"add": {
"string": "string",
},
"remove": {
"string": "string",
},
},
"node_templates_to_consolidates": ["string"],
"patch": "string",
"spot_type": "string",
"tolerations": [{
"effect": "string",
"key": "string",
"operator": "string",
"toleration_seconds": 0,
"value": "string",
}],
},
"name": "string",
"percentage": 0,
}],
annotations={
"string": "string",
},
affinity={
"node_affinity": {
"preferred_during_scheduling_ignored_during_executions": [{
"preference": {
"match_expressions": [{
"key": "string",
"operator": "string",
"values": ["string"],
}],
},
"weight": 0,
}],
},
},
name="string",
node_selector={
"add": {
"string": "string",
},
"remove": {
"string": "string",
},
},
node_templates_to_consolidates=["string"],
organization_id="string",
patch="string",
pod_eviction={
"enabled": False,
},
spot_config={
"distribution_percentage": 0,
"spot_mode": "string",
},
tolerations=[{
"effect": "string",
"key": "string",
"operator": "string",
"toleration_seconds": 0,
"value": "string",
}])
const podMutationResource = new castai.PodMutation("podMutationResource", {
enabled: false,
filterV2: {
pod: {
excludeLabelsFilter: {
matchers: [{
key: {
type: "string",
value: "string",
},
value: {
type: "string",
value: "string",
},
}],
operator: "string",
},
labelsFilter: {
matchers: [{
key: {
type: "string",
value: "string",
},
value: {
type: "string",
value: "string",
},
}],
operator: "string",
},
tolerationsFilter: {
matchers: [{
key: {
type: "string",
value: "string",
},
operator: {
type: "string",
value: "string",
},
value: {
type: "string",
value: "string",
},
}],
operator: "string",
},
},
workload: {
excludeKinds: [{
type: "string",
value: "string",
}],
excludeNames: [{
type: "string",
value: "string",
}],
excludeNamespaces: [{
type: "string",
value: "string",
}],
kinds: [{
type: "string",
value: "string",
}],
names: [{
type: "string",
value: "string",
}],
namespaces: [{
type: "string",
value: "string",
}],
},
},
clusterId: "string",
labels: {
string: "string",
},
distributionGroups: [{
configuration: {
affinity: {
nodeAffinity: {
preferredDuringSchedulingIgnoredDuringExecutions: [{
preference: {
matchExpressions: [{
key: "string",
operator: "string",
values: ["string"],
}],
},
weight: 0,
}],
},
},
annotations: {
string: "string",
},
labels: {
string: "string",
},
nodeSelector: {
add: {
string: "string",
},
remove: {
string: "string",
},
},
nodeTemplatesToConsolidates: ["string"],
patch: "string",
spotType: "string",
tolerations: [{
effect: "string",
key: "string",
operator: "string",
tolerationSeconds: 0,
value: "string",
}],
},
name: "string",
percentage: 0,
}],
annotations: {
string: "string",
},
affinity: {
nodeAffinity: {
preferredDuringSchedulingIgnoredDuringExecutions: [{
preference: {
matchExpressions: [{
key: "string",
operator: "string",
values: ["string"],
}],
},
weight: 0,
}],
},
},
name: "string",
nodeSelector: {
add: {
string: "string",
},
remove: {
string: "string",
},
},
nodeTemplatesToConsolidates: ["string"],
organizationId: "string",
patch: "string",
podEviction: {
enabled: false,
},
spotConfig: {
distributionPercentage: 0,
spotMode: "string",
},
tolerations: [{
effect: "string",
key: "string",
operator: "string",
tolerationSeconds: 0,
value: "string",
}],
});
type: castai:PodMutation
properties:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecutions:
- preference:
matchExpressions:
- key: string
operator: string
values:
- string
weight: 0
annotations:
string: string
clusterId: string
distributionGroups:
- configuration:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecutions:
- preference:
matchExpressions:
- key: string
operator: string
values:
- string
weight: 0
annotations:
string: string
labels:
string: string
nodeSelector:
add:
string: string
remove:
string: string
nodeTemplatesToConsolidates:
- string
patch: string
spotType: string
tolerations:
- effect: string
key: string
operator: string
tolerationSeconds: 0
value: string
name: string
percentage: 0
enabled: false
filterV2:
pod:
excludeLabelsFilter:
matchers:
- key:
type: string
value: string
value:
type: string
value: string
operator: string
labelsFilter:
matchers:
- key:
type: string
value: string
value:
type: string
value: string
operator: string
tolerationsFilter:
matchers:
- key:
type: string
value: string
operator:
type: string
value: string
value:
type: string
value: string
operator: string
workload:
excludeKinds:
- type: string
value: string
excludeNames:
- type: string
value: string
excludeNamespaces:
- type: string
value: string
kinds:
- type: string
value: string
names:
- type: string
value: string
namespaces:
- type: string
value: string
labels:
string: string
name: string
nodeSelector:
add:
string: string
remove:
string: string
nodeTemplatesToConsolidates:
- string
organizationId: string
patch: string
podEviction:
enabled: false
spotConfig:
distributionPercentage: 0
spotMode: string
tolerations:
- effect: string
key: string
operator: string
tolerationSeconds: 0
value: string
PodMutation 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 PodMutation resource accepts the following input properties:
- Cluster
Id string - ID of the cluster.
- Enabled bool
- Whether the pod mutation is enabled.
- Filter
V2 Pulumi.Cast AI. Inputs. Pod Mutation Filter V2 - Advanced object filter with support for exact and regex matching.
- Affinity
Pulumi.
Cast AI. Inputs. Pod Mutation Affinity - Affinity to apply to the pods.
- Annotations Dictionary<string, string>
- Annotations to add to the pods.
- Distribution
Groups List<Pulumi.Cast AI. Inputs. Pod Mutation Distribution Group> - Distribution groups for percentage-based pod distribution.
- Labels Dictionary<string, string>
- Labels to add to the pods.
- Name string
- Name of the pod mutation.
- Node
Selector Pulumi.Cast AI. Inputs. Pod Mutation Node Selector - Node selector to apply to the pods (add/remove key-value pairs).
- Node
Templates List<string>To Consolidates - Node template names to consolidate.
- Organization
Id string - ID of the organization. If not provided, will be inferred from the API client.
- Patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- Pod
Eviction Pulumi.Cast AI. Inputs. Pod Mutation Pod Eviction - Eviction settings for enforcement of pod mutations.
- Spot
Config Pulumi.Cast AI. Inputs. Pod Mutation Spot Config - Spot configuration for the mutation.
- Tolerations
List<Pulumi.
Cast AI. Inputs. Pod Mutation Toleration> - Tolerations to apply to the pods.
- Cluster
Id string - ID of the cluster.
- Enabled bool
- Whether the pod mutation is enabled.
- Filter
V2 PodMutation Filter V2Args - Advanced object filter with support for exact and regex matching.
- Affinity
Pod
Mutation Affinity Args - Affinity to apply to the pods.
- Annotations map[string]string
- Annotations to add to the pods.
- Distribution
Groups []PodMutation Distribution Group Args - Distribution groups for percentage-based pod distribution.
- Labels map[string]string
- Labels to add to the pods.
- Name string
- Name of the pod mutation.
- Node
Selector PodMutation Node Selector Args - Node selector to apply to the pods (add/remove key-value pairs).
- Node
Templates []stringTo Consolidates - Node template names to consolidate.
- Organization
Id string - ID of the organization. If not provided, will be inferred from the API client.
- Patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- Pod
Eviction PodMutation Pod Eviction Args - Eviction settings for enforcement of pod mutations.
- Spot
Config PodMutation Spot Config Args - Spot configuration for the mutation.
- Tolerations
[]Pod
Mutation Toleration Args - Tolerations to apply to the pods.
- cluster_
id string - ID of the cluster.
- enabled bool
- Whether the pod mutation is enabled.
- filter_
v2 object - Advanced object filter with support for exact and regex matching.
- affinity object
- Affinity to apply to the pods.
- annotations map(string)
- Annotations to add to the pods.
- distribution_
groups list(object) - Distribution groups for percentage-based pod distribution.
- labels map(string)
- Labels to add to the pods.
- name string
- Name of the pod mutation.
- node_
selector object - Node selector to apply to the pods (add/remove key-value pairs).
- node_
templates_ list(string)to_ consolidates - Node template names to consolidate.
- organization_
id string - ID of the organization. If not provided, will be inferred from the API client.
- patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- pod_
eviction object - Eviction settings for enforcement of pod mutations.
- spot_
config object - Spot configuration for the mutation.
- tolerations list(object)
- Tolerations to apply to the pods.
- cluster
Id String - ID of the cluster.
- enabled Boolean
- Whether the pod mutation is enabled.
- filter
V2 PodMutation Filter V2 - Advanced object filter with support for exact and regex matching.
- affinity
Pod
Mutation Affinity - Affinity to apply to the pods.
- annotations Map<String,String>
- Annotations to add to the pods.
- distribution
Groups List<PodMutation Distribution Group> - Distribution groups for percentage-based pod distribution.
- labels Map<String,String>
- Labels to add to the pods.
- name String
- Name of the pod mutation.
- node
Selector PodMutation Node Selector - Node selector to apply to the pods (add/remove key-value pairs).
- node
Templates List<String>To Consolidates - Node template names to consolidate.
- organization
Id String - ID of the organization. If not provided, will be inferred from the API client.
- patch String
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- pod
Eviction PodMutation Pod Eviction - Eviction settings for enforcement of pod mutations.
- spot
Config PodMutation Spot Config - Spot configuration for the mutation.
- tolerations
List<Pod
Mutation Toleration> - Tolerations to apply to the pods.
- cluster
Id string - ID of the cluster.
- enabled boolean
- Whether the pod mutation is enabled.
- filter
V2 PodMutation Filter V2 - Advanced object filter with support for exact and regex matching.
- affinity
Pod
Mutation Affinity - Affinity to apply to the pods.
- annotations {[key: string]: string}
- Annotations to add to the pods.
- distribution
Groups PodMutation Distribution Group[] - Distribution groups for percentage-based pod distribution.
- labels {[key: string]: string}
- Labels to add to the pods.
- name string
- Name of the pod mutation.
- node
Selector PodMutation Node Selector - Node selector to apply to the pods (add/remove key-value pairs).
- node
Templates string[]To Consolidates - Node template names to consolidate.
- organization
Id string - ID of the organization. If not provided, will be inferred from the API client.
- patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- pod
Eviction PodMutation Pod Eviction - Eviction settings for enforcement of pod mutations.
- spot
Config PodMutation Spot Config - Spot configuration for the mutation.
- tolerations
Pod
Mutation Toleration[] - Tolerations to apply to the pods.
- cluster_
id str - ID of the cluster.
- enabled bool
- Whether the pod mutation is enabled.
- filter_
v2 PodMutation Filter V2Args - Advanced object filter with support for exact and regex matching.
- affinity
Pod
Mutation Affinity Args - Affinity to apply to the pods.
- annotations Mapping[str, str]
- Annotations to add to the pods.
- distribution_
groups Sequence[PodMutation Distribution Group Args] - Distribution groups for percentage-based pod distribution.
- labels Mapping[str, str]
- Labels to add to the pods.
- name str
- Name of the pod mutation.
- node_
selector PodMutation Node Selector Args - Node selector to apply to the pods (add/remove key-value pairs).
- node_
templates_ Sequence[str]to_ consolidates - Node template names to consolidate.
- organization_
id str - ID of the organization. If not provided, will be inferred from the API client.
- patch str
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- pod_
eviction PodMutation Pod Eviction Args - Eviction settings for enforcement of pod mutations.
- spot_
config PodMutation Spot Config Args - Spot configuration for the mutation.
- tolerations
Sequence[Pod
Mutation Toleration Args] - Tolerations to apply to the pods.
- cluster
Id String - ID of the cluster.
- enabled Boolean
- Whether the pod mutation is enabled.
- filter
V2 Property Map - Advanced object filter with support for exact and regex matching.
- affinity Property Map
- Affinity to apply to the pods.
- annotations Map<String>
- Annotations to add to the pods.
- distribution
Groups List<Property Map> - Distribution groups for percentage-based pod distribution.
- labels Map<String>
- Labels to add to the pods.
- name String
- Name of the pod mutation.
- node
Selector Property Map - Node selector to apply to the pods (add/remove key-value pairs).
- node
Templates List<String>To Consolidates - Node template names to consolidate.
- organization
Id String - ID of the organization. If not provided, will be inferred from the API client.
- patch String
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- pod
Eviction Property Map - Eviction settings for enforcement of pod mutations.
- spot
Config Property Map - Spot configuration for the mutation.
- tolerations List<Property Map>
- Tolerations to apply to the pods.
Outputs
All input properties are implicitly available as output properties. Additionally, the PodMutation resource produces the following output properties:
Look up Existing PodMutation Resource
Get an existing PodMutation 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?: PodMutationState, opts?: CustomResourceOptions): PodMutation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
affinity: Optional[PodMutationAffinityArgs] = None,
annotations: Optional[Mapping[str, str]] = None,
cluster_id: Optional[str] = None,
distribution_groups: Optional[Sequence[PodMutationDistributionGroupArgs]] = None,
enabled: Optional[bool] = None,
filter_v2: Optional[PodMutationFilterV2Args] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
node_selector: Optional[PodMutationNodeSelectorArgs] = None,
node_templates_to_consolidates: Optional[Sequence[str]] = None,
organization_id: Optional[str] = None,
patch: Optional[str] = None,
pod_eviction: Optional[PodMutationPodEvictionArgs] = None,
source: Optional[str] = None,
spot_config: Optional[PodMutationSpotConfigArgs] = None,
tolerations: Optional[Sequence[PodMutationTolerationArgs]] = None) -> PodMutationfunc GetPodMutation(ctx *Context, name string, id IDInput, state *PodMutationState, opts ...ResourceOption) (*PodMutation, error)public static PodMutation Get(string name, Input<string> id, PodMutationState? state, CustomResourceOptions? opts = null)public static PodMutation get(String name, Output<String> id, PodMutationState state, CustomResourceOptions options)resources: _: type: castai:PodMutation get: id: ${id}import {
to = castai_pod_mutation.example
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.
- Affinity
Pulumi.
Cast AI. Inputs. Pod Mutation Affinity - Affinity to apply to the pods.
- Annotations Dictionary<string, string>
- Annotations to add to the pods.
- Cluster
Id string - ID of the cluster.
- Distribution
Groups List<Pulumi.Cast AI. Inputs. Pod Mutation Distribution Group> - Distribution groups for percentage-based pod distribution.
- Enabled bool
- Whether the pod mutation is enabled.
- Filter
V2 Pulumi.Cast AI. Inputs. Pod Mutation Filter V2 - Advanced object filter with support for exact and regex matching.
- Labels Dictionary<string, string>
- Labels to add to the pods.
- Name string
- Name of the pod mutation.
- Node
Selector Pulumi.Cast AI. Inputs. Pod Mutation Node Selector - Node selector to apply to the pods (add/remove key-value pairs).
- Node
Templates List<string>To Consolidates - Node template names to consolidate.
- Organization
Id string - ID of the organization. If not provided, will be inferred from the API client.
- Patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- Pod
Eviction Pulumi.Cast AI. Inputs. Pod Mutation Pod Eviction - Eviction settings for enforcement of pod mutations.
- Source string
- Source of the pod mutation (API or CUSTOM_RESOURCE).
- Spot
Config Pulumi.Cast AI. Inputs. Pod Mutation Spot Config - Spot configuration for the mutation.
- Tolerations
List<Pulumi.
Cast AI. Inputs. Pod Mutation Toleration> - Tolerations to apply to the pods.
- Affinity
Pod
Mutation Affinity Args - Affinity to apply to the pods.
- Annotations map[string]string
- Annotations to add to the pods.
- Cluster
Id string - ID of the cluster.
- Distribution
Groups []PodMutation Distribution Group Args - Distribution groups for percentage-based pod distribution.
- Enabled bool
- Whether the pod mutation is enabled.
- Filter
V2 PodMutation Filter V2Args - Advanced object filter with support for exact and regex matching.
- Labels map[string]string
- Labels to add to the pods.
- Name string
- Name of the pod mutation.
- Node
Selector PodMutation Node Selector Args - Node selector to apply to the pods (add/remove key-value pairs).
- Node
Templates []stringTo Consolidates - Node template names to consolidate.
- Organization
Id string - ID of the organization. If not provided, will be inferred from the API client.
- Patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- Pod
Eviction PodMutation Pod Eviction Args - Eviction settings for enforcement of pod mutations.
- Source string
- Source of the pod mutation (API or CUSTOM_RESOURCE).
- Spot
Config PodMutation Spot Config Args - Spot configuration for the mutation.
- Tolerations
[]Pod
Mutation Toleration Args - Tolerations to apply to the pods.
- affinity object
- Affinity to apply to the pods.
- annotations map(string)
- Annotations to add to the pods.
- cluster_
id string - ID of the cluster.
- distribution_
groups list(object) - Distribution groups for percentage-based pod distribution.
- enabled bool
- Whether the pod mutation is enabled.
- filter_
v2 object - Advanced object filter with support for exact and regex matching.
- labels map(string)
- Labels to add to the pods.
- name string
- Name of the pod mutation.
- node_
selector object - Node selector to apply to the pods (add/remove key-value pairs).
- node_
templates_ list(string)to_ consolidates - Node template names to consolidate.
- organization_
id string - ID of the organization. If not provided, will be inferred from the API client.
- patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- pod_
eviction object - Eviction settings for enforcement of pod mutations.
- source string
- Source of the pod mutation (API or CUSTOM_RESOURCE).
- spot_
config object - Spot configuration for the mutation.
- tolerations list(object)
- Tolerations to apply to the pods.
- affinity
Pod
Mutation Affinity - Affinity to apply to the pods.
- annotations Map<String,String>
- Annotations to add to the pods.
- cluster
Id String - ID of the cluster.
- distribution
Groups List<PodMutation Distribution Group> - Distribution groups for percentage-based pod distribution.
- enabled Boolean
- Whether the pod mutation is enabled.
- filter
V2 PodMutation Filter V2 - Advanced object filter with support for exact and regex matching.
- labels Map<String,String>
- Labels to add to the pods.
- name String
- Name of the pod mutation.
- node
Selector PodMutation Node Selector - Node selector to apply to the pods (add/remove key-value pairs).
- node
Templates List<String>To Consolidates - Node template names to consolidate.
- organization
Id String - ID of the organization. If not provided, will be inferred from the API client.
- patch String
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- pod
Eviction PodMutation Pod Eviction - Eviction settings for enforcement of pod mutations.
- source String
- Source of the pod mutation (API or CUSTOM_RESOURCE).
- spot
Config PodMutation Spot Config - Spot configuration for the mutation.
- tolerations
List<Pod
Mutation Toleration> - Tolerations to apply to the pods.
- affinity
Pod
Mutation Affinity - Affinity to apply to the pods.
- annotations {[key: string]: string}
- Annotations to add to the pods.
- cluster
Id string - ID of the cluster.
- distribution
Groups PodMutation Distribution Group[] - Distribution groups for percentage-based pod distribution.
- enabled boolean
- Whether the pod mutation is enabled.
- filter
V2 PodMutation Filter V2 - Advanced object filter with support for exact and regex matching.
- labels {[key: string]: string}
- Labels to add to the pods.
- name string
- Name of the pod mutation.
- node
Selector PodMutation Node Selector - Node selector to apply to the pods (add/remove key-value pairs).
- node
Templates string[]To Consolidates - Node template names to consolidate.
- organization
Id string - ID of the organization. If not provided, will be inferred from the API client.
- patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- pod
Eviction PodMutation Pod Eviction - Eviction settings for enforcement of pod mutations.
- source string
- Source of the pod mutation (API or CUSTOM_RESOURCE).
- spot
Config PodMutation Spot Config - Spot configuration for the mutation.
- tolerations
Pod
Mutation Toleration[] - Tolerations to apply to the pods.
- affinity
Pod
Mutation Affinity Args - Affinity to apply to the pods.
- annotations Mapping[str, str]
- Annotations to add to the pods.
- cluster_
id str - ID of the cluster.
- distribution_
groups Sequence[PodMutation Distribution Group Args] - Distribution groups for percentage-based pod distribution.
- enabled bool
- Whether the pod mutation is enabled.
- filter_
v2 PodMutation Filter V2Args - Advanced object filter with support for exact and regex matching.
- labels Mapping[str, str]
- Labels to add to the pods.
- name str
- Name of the pod mutation.
- node_
selector PodMutation Node Selector Args - Node selector to apply to the pods (add/remove key-value pairs).
- node_
templates_ Sequence[str]to_ consolidates - Node template names to consolidate.
- organization_
id str - ID of the organization. If not provided, will be inferred from the API client.
- patch str
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- pod_
eviction PodMutation Pod Eviction Args - Eviction settings for enforcement of pod mutations.
- source str
- Source of the pod mutation (API or CUSTOM_RESOURCE).
- spot_
config PodMutation Spot Config Args - Spot configuration for the mutation.
- tolerations
Sequence[Pod
Mutation Toleration Args] - Tolerations to apply to the pods.
- affinity Property Map
- Affinity to apply to the pods.
- annotations Map<String>
- Annotations to add to the pods.
- cluster
Id String - ID of the cluster.
- distribution
Groups List<Property Map> - Distribution groups for percentage-based pod distribution.
- enabled Boolean
- Whether the pod mutation is enabled.
- filter
V2 Property Map - Advanced object filter with support for exact and regex matching.
- labels Map<String>
- Labels to add to the pods.
- name String
- Name of the pod mutation.
- node
Selector Property Map - Node selector to apply to the pods (add/remove key-value pairs).
- node
Templates List<String>To Consolidates - Node template names to consolidate.
- organization
Id String - ID of the organization. If not provided, will be inferred from the API client.
- patch String
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- pod
Eviction Property Map - Eviction settings for enforcement of pod mutations.
- source String
- Source of the pod mutation (API or CUSTOM_RESOURCE).
- spot
Config Property Map - Spot configuration for the mutation.
- tolerations List<Property Map>
- Tolerations to apply to the pods.
Supporting Types
PodMutationAffinity, PodMutationAffinityArgs
PodMutationAffinityNodeAffinity, PodMutationAffinityNodeAffinityArgs
PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution, PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs
- Preference
Pulumi.
Cast AI. Inputs. Pod Mutation Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - Weight int
- Weight of the node affinity term.
- Preference
Pod
Mutation Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - Weight int
- Weight of the node affinity term.
- preference object
- weight number
- Weight of the node affinity term.
- preference
Pod
Mutation Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - weight Integer
- Weight of the node affinity term.
- preference
Pod
Mutation Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - weight number
- Weight of the node affinity term.
- preference
Pod
Mutation Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - weight int
- Weight of the node affinity term.
- preference Property Map
- weight Number
- Weight of the node affinity term.
PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs
PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpression, PodMutationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs
PodMutationDistributionGroup, PodMutationDistributionGroupArgs
- Configuration
Pulumi.
Cast AI. Inputs. Pod Mutation Distribution Group Configuration - Name string
- Unique name for this distribution group.
- Percentage int
- Percentage of pods (0-100) that should receive this configuration.
- Configuration
Pod
Mutation Distribution Group Configuration - Name string
- Unique name for this distribution group.
- Percentage int
- Percentage of pods (0-100) that should receive this configuration.
- configuration object
- name string
- Unique name for this distribution group.
- percentage number
- Percentage of pods (0-100) that should receive this configuration.
- configuration
Pod
Mutation Distribution Group Configuration - name String
- Unique name for this distribution group.
- percentage Integer
- Percentage of pods (0-100) that should receive this configuration.
- configuration
Pod
Mutation Distribution Group Configuration - name string
- Unique name for this distribution group.
- percentage number
- Percentage of pods (0-100) that should receive this configuration.
- configuration
Pod
Mutation Distribution Group Configuration - name str
- Unique name for this distribution group.
- percentage int
- Percentage of pods (0-100) that should receive this configuration.
- configuration Property Map
- name String
- Unique name for this distribution group.
- percentage Number
- Percentage of pods (0-100) that should receive this configuration.
PodMutationDistributionGroupConfiguration, PodMutationDistributionGroupConfigurationArgs
- Affinity
Pulumi.
Cast AI. Inputs. Pod Mutation Distribution Group Configuration Affinity - Affinity to apply to the pods.
- Annotations Dictionary<string, string>
- Annotations to add to the pods.
- Labels Dictionary<string, string>
- Labels to add to the pods.
- Node
Selector Pulumi.Cast AI. Inputs. Pod Mutation Distribution Group Configuration Node Selector - Node selector to apply to the pods (add/remove key-value pairs).
- Node
Templates List<string>To Consolidates - Node template names to consolidate.
- Patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- Spot
Type string - Spot instance type: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- Tolerations
List<Pulumi.
Cast AI. Inputs. Pod Mutation Distribution Group Configuration Toleration> - Tolerations to apply to the pods.
- Affinity
Pod
Mutation Distribution Group Configuration Affinity - Affinity to apply to the pods.
- Annotations map[string]string
- Annotations to add to the pods.
- Labels map[string]string
- Labels to add to the pods.
- Node
Selector PodMutation Distribution Group Configuration Node Selector - Node selector to apply to the pods (add/remove key-value pairs).
- Node
Templates []stringTo Consolidates - Node template names to consolidate.
- Patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- Spot
Type string - Spot instance type: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- Tolerations
[]Pod
Mutation Distribution Group Configuration Toleration - Tolerations to apply to the pods.
- affinity object
- Affinity to apply to the pods.
- annotations map(string)
- Annotations to add to the pods.
- labels map(string)
- Labels to add to the pods.
- node_
selector object - Node selector to apply to the pods (add/remove key-value pairs).
- node_
templates_ list(string)to_ consolidates - Node template names to consolidate.
- patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- spot_
type string - Spot instance type: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- tolerations list(object)
- Tolerations to apply to the pods.
- affinity
Pod
Mutation Distribution Group Configuration Affinity - Affinity to apply to the pods.
- annotations Map<String,String>
- Annotations to add to the pods.
- labels Map<String,String>
- Labels to add to the pods.
- node
Selector PodMutation Distribution Group Configuration Node Selector - Node selector to apply to the pods (add/remove key-value pairs).
- node
Templates List<String>To Consolidates - Node template names to consolidate.
- patch String
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- spot
Type String - Spot instance type: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- tolerations
List<Pod
Mutation Distribution Group Configuration Toleration> - Tolerations to apply to the pods.
- affinity
Pod
Mutation Distribution Group Configuration Affinity - Affinity to apply to the pods.
- annotations {[key: string]: string}
- Annotations to add to the pods.
- labels {[key: string]: string}
- Labels to add to the pods.
- node
Selector PodMutation Distribution Group Configuration Node Selector - Node selector to apply to the pods (add/remove key-value pairs).
- node
Templates string[]To Consolidates - Node template names to consolidate.
- patch string
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- spot
Type string - Spot instance type: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- tolerations
Pod
Mutation Distribution Group Configuration Toleration[] - Tolerations to apply to the pods.
- affinity
Pod
Mutation Distribution Group Configuration Affinity - Affinity to apply to the pods.
- annotations Mapping[str, str]
- Annotations to add to the pods.
- labels Mapping[str, str]
- Labels to add to the pods.
- node_
selector PodMutation Distribution Group Configuration Node Selector - Node selector to apply to the pods (add/remove key-value pairs).
- node_
templates_ Sequence[str]to_ consolidates - Node template names to consolidate.
- patch str
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- spot_
type str - Spot instance type: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- tolerations
Sequence[Pod
Mutation Distribution Group Configuration Toleration] - Tolerations to apply to the pods.
- affinity Property Map
- Affinity to apply to the pods.
- annotations Map<String>
- Annotations to add to the pods.
- labels Map<String>
- Labels to add to the pods.
- node
Selector Property Map - Node selector to apply to the pods (add/remove key-value pairs).
- node
Templates List<String>To Consolidates - Node template names to consolidate.
- patch String
- JSON patch to apply to pods. Must be a JSON array of patch operations.
- spot
Type String - Spot instance type: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- tolerations List<Property Map>
- Tolerations to apply to the pods.
PodMutationDistributionGroupConfigurationAffinity, PodMutationDistributionGroupConfigurationAffinityArgs
PodMutationDistributionGroupConfigurationAffinityNodeAffinity, PodMutationDistributionGroupConfigurationAffinityNodeAffinityArgs
PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution, PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs
- Preference
Pod
Mutation Distribution Group Configuration Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - Weight int
- Weight of the node affinity term.
- preference object
- weight number
- Weight of the node affinity term.
- preference
Pod
Mutation Distribution Group Configuration Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - weight Integer
- Weight of the node affinity term.
- preference
Pod
Mutation Distribution Group Configuration Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - weight number
- Weight of the node affinity term.
- preference
Pod
Mutation Distribution Group Configuration Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - weight int
- Weight of the node affinity term.
- preference Property Map
- weight Number
- Weight of the node affinity term.
PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs
PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpression, PodMutationDistributionGroupConfigurationAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs
PodMutationDistributionGroupConfigurationNodeSelector, PodMutationDistributionGroupConfigurationNodeSelectorArgs
PodMutationDistributionGroupConfigurationToleration, PodMutationDistributionGroupConfigurationTolerationArgs
- Effect string
- Toleration effect.
- Key string
- Toleration key.
- Operator string
- Toleration operator.
- Toleration
Seconds int - Toleration seconds.
- Value string
- Toleration value.
- Effect string
- Toleration effect.
- Key string
- Toleration key.
- Operator string
- Toleration operator.
- Toleration
Seconds int - Toleration seconds.
- Value string
- Toleration value.
- effect string
- Toleration effect.
- key string
- Toleration key.
- operator string
- Toleration operator.
- toleration_
seconds number - Toleration seconds.
- value string
- Toleration value.
- effect String
- Toleration effect.
- key String
- Toleration key.
- operator String
- Toleration operator.
- toleration
Seconds Integer - Toleration seconds.
- value String
- Toleration value.
- effect string
- Toleration effect.
- key string
- Toleration key.
- operator string
- Toleration operator.
- toleration
Seconds number - Toleration seconds.
- value string
- Toleration value.
- effect str
- Toleration effect.
- key str
- Toleration key.
- operator str
- Toleration operator.
- toleration_
seconds int - Toleration seconds.
- value str
- Toleration value.
- effect String
- Toleration effect.
- key String
- Toleration key.
- operator String
- Toleration operator.
- toleration
Seconds Number - Toleration seconds.
- value String
- Toleration value.
PodMutationFilterV2, PodMutationFilterV2Args
- Pod
Pulumi.
Cast AI. Inputs. Pod Mutation Filter V2Pod - Pod filter for labels.
- Workload
Pulumi.
Cast AI. Inputs. Pod Mutation Filter V2Workload - Workload filter for kinds, names, and namespaces.
- Pod
Pod
Mutation Filter V2Pod - Pod filter for labels.
- Workload
Pod
Mutation Filter V2Workload - Workload filter for kinds, names, and namespaces.
- pod
Pod
Mutation Filter V2Pod - Pod filter for labels.
- workload
Pod
Mutation Filter V2Workload - Workload filter for kinds, names, and namespaces.
- pod
Pod
Mutation Filter V2Pod - Pod filter for labels.
- workload
Pod
Mutation Filter V2Workload - Workload filter for kinds, names, and namespaces.
- pod
Pod
Mutation Filter V2Pod - Pod filter for labels.
- workload
Pod
Mutation Filter V2Workload - Workload filter for kinds, names, and namespaces.
- pod Property Map
- Pod filter for labels.
- workload Property Map
- Workload filter for kinds, names, and namespaces.
PodMutationFilterV2Pod, PodMutationFilterV2PodArgs
- Exclude
Labels Pulumi.Filter Cast AI. Inputs. Pod Mutation Filter V2Pod Exclude Labels Filter - Labels
Filter Pulumi.Cast AI. Inputs. Pod Mutation Filter V2Pod Labels Filter - Tolerations
Filter Pulumi.Cast AI. Inputs. Pod Mutation Filter V2Pod Tolerations Filter - Tolerations filter for matching pods by their tolerations.
- Exclude
Labels PodFilter Mutation Filter V2Pod Exclude Labels Filter - Labels
Filter PodMutation Filter V2Pod Labels Filter - Tolerations
Filter PodMutation Filter V2Pod Tolerations Filter - Tolerations filter for matching pods by their tolerations.
- exclude_
labels_ objectfilter - labels_
filter object - tolerations_
filter object - Tolerations filter for matching pods by their tolerations.
- exclude
Labels PodFilter Mutation Filter V2Pod Exclude Labels Filter - labels
Filter PodMutation Filter V2Pod Labels Filter - tolerations
Filter PodMutation Filter V2Pod Tolerations Filter - Tolerations filter for matching pods by their tolerations.
- exclude
Labels PodFilter Mutation Filter V2Pod Exclude Labels Filter - labels
Filter PodMutation Filter V2Pod Labels Filter - tolerations
Filter PodMutation Filter V2Pod Tolerations Filter - Tolerations filter for matching pods by their tolerations.
- exclude_
labels_ Podfilter Mutation Filter V2Pod Exclude Labels Filter - labels_
filter PodMutation Filter V2Pod Labels Filter - tolerations_
filter PodMutation Filter V2Pod Tolerations Filter - Tolerations filter for matching pods by their tolerations.
- exclude
Labels Property MapFilter - labels
Filter Property Map - tolerations
Filter Property Map - Tolerations filter for matching pods by their tolerations.
PodMutationFilterV2PodExcludeLabelsFilter, PodMutationFilterV2PodExcludeLabelsFilterArgs
- Matchers
List<Pulumi.
Cast AI. Inputs. Pod Mutation Filter V2Pod Exclude Labels Filter Matcher> - Operator string
- Logical operator to combine label matchers: AND or OR.
- Matchers
[]Pod
Mutation Filter V2Pod Exclude Labels Filter Matcher - Operator string
- Logical operator to combine label matchers: AND or OR.
- matchers list(object)
- operator string
- Logical operator to combine label matchers: AND or OR.
- matchers
List<Pod
Mutation Filter V2Pod Exclude Labels Filter Matcher> - operator String
- Logical operator to combine label matchers: AND or OR.
- matchers
Pod
Mutation Filter V2Pod Exclude Labels Filter Matcher[] - operator string
- Logical operator to combine label matchers: AND or OR.
- matchers
Sequence[Pod
Mutation Filter V2Pod Exclude Labels Filter Matcher] - operator str
- Logical operator to combine label matchers: AND or OR.
- matchers List<Property Map>
- operator String
- Logical operator to combine label matchers: AND or OR.
PodMutationFilterV2PodExcludeLabelsFilterMatcher, PodMutationFilterV2PodExcludeLabelsFilterMatcherArgs
PodMutationFilterV2PodExcludeLabelsFilterMatcherKey, PodMutationFilterV2PodExcludeLabelsFilterMatcherKeyArgs
PodMutationFilterV2PodExcludeLabelsFilterMatcherValue, PodMutationFilterV2PodExcludeLabelsFilterMatcherValueArgs
PodMutationFilterV2PodLabelsFilter, PodMutationFilterV2PodLabelsFilterArgs
- Matchers
List<Pulumi.
Cast AI. Inputs. Pod Mutation Filter V2Pod Labels Filter Matcher> - Operator string
- Logical operator to combine label matchers: AND or OR.
- Matchers
[]Pod
Mutation Filter V2Pod Labels Filter Matcher - Operator string
- Logical operator to combine label matchers: AND or OR.
- matchers list(object)
- operator string
- Logical operator to combine label matchers: AND or OR.
- matchers
List<Pod
Mutation Filter V2Pod Labels Filter Matcher> - operator String
- Logical operator to combine label matchers: AND or OR.
- matchers
Pod
Mutation Filter V2Pod Labels Filter Matcher[] - operator string
- Logical operator to combine label matchers: AND or OR.
- matchers
Sequence[Pod
Mutation Filter V2Pod Labels Filter Matcher] - operator str
- Logical operator to combine label matchers: AND or OR.
- matchers List<Property Map>
- operator String
- Logical operator to combine label matchers: AND or OR.
PodMutationFilterV2PodLabelsFilterMatcher, PodMutationFilterV2PodLabelsFilterMatcherArgs
PodMutationFilterV2PodLabelsFilterMatcherKey, PodMutationFilterV2PodLabelsFilterMatcherKeyArgs
PodMutationFilterV2PodLabelsFilterMatcherValue, PodMutationFilterV2PodLabelsFilterMatcherValueArgs
PodMutationFilterV2PodTolerationsFilter, PodMutationFilterV2PodTolerationsFilterArgs
- Matchers
List<Pulumi.
Cast AI. Inputs. Pod Mutation Filter V2Pod Tolerations Filter Matcher> - Operator string
- Logical operator to combine toleration matchers: AND or OR.
- Matchers
[]Pod
Mutation Filter V2Pod Tolerations Filter Matcher - Operator string
- Logical operator to combine toleration matchers: AND or OR.
- matchers list(object)
- operator string
- Logical operator to combine toleration matchers: AND or OR.
- matchers
List<Pod
Mutation Filter V2Pod Tolerations Filter Matcher> - operator String
- Logical operator to combine toleration matchers: AND or OR.
- matchers
Pod
Mutation Filter V2Pod Tolerations Filter Matcher[] - operator string
- Logical operator to combine toleration matchers: AND or OR.
- matchers
Sequence[Pod
Mutation Filter V2Pod Tolerations Filter Matcher] - operator str
- Logical operator to combine toleration matchers: AND or OR.
- matchers List<Property Map>
- operator String
- Logical operator to combine toleration matchers: AND or OR.
PodMutationFilterV2PodTolerationsFilterMatcher, PodMutationFilterV2PodTolerationsFilterMatcherArgs
PodMutationFilterV2PodTolerationsFilterMatcherKey, PodMutationFilterV2PodTolerationsFilterMatcherKeyArgs
PodMutationFilterV2PodTolerationsFilterMatcherOperator, PodMutationFilterV2PodTolerationsFilterMatcherOperatorArgs
PodMutationFilterV2PodTolerationsFilterMatcherValue, PodMutationFilterV2PodTolerationsFilterMatcherValueArgs
PodMutationFilterV2Workload, PodMutationFilterV2WorkloadArgs
- Exclude
Kinds List<Pulumi.Cast AI. Inputs. Pod Mutation Filter V2Workload Exclude Kind> - Exclude
Names List<Pulumi.Cast AI. Inputs. Pod Mutation Filter V2Workload Exclude Name> - Exclude
Namespaces List<Pulumi.Cast AI. Inputs. Pod Mutation Filter V2Workload Exclude Namespace> - Kinds
List<Pulumi.
Cast AI. Inputs. Pod Mutation Filter V2Workload Kind> - Names
List<Pulumi.
Cast AI. Inputs. Pod Mutation Filter V2Workload Name> - Namespaces
List<Pulumi.
Cast AI. Inputs. Pod Mutation Filter V2Workload Namespace>
- exclude
Kinds List<PodMutation Filter V2Workload Exclude Kind> - exclude
Names List<PodMutation Filter V2Workload Exclude Name> - exclude
Namespaces List<PodMutation Filter V2Workload Exclude Namespace> - kinds
List<Pod
Mutation Filter V2Workload Kind> - names
List<Pod
Mutation Filter V2Workload Name> - namespaces
List<Pod
Mutation Filter V2Workload Namespace>
- exclude_
kinds Sequence[PodMutation Filter V2Workload Exclude Kind] - exclude_
names Sequence[PodMutation Filter V2Workload Exclude Name] - exclude_
namespaces Sequence[PodMutation Filter V2Workload Exclude Namespace] - kinds
Sequence[Pod
Mutation Filter V2Workload Kind] - names
Sequence[Pod
Mutation Filter V2Workload Name] - namespaces
Sequence[Pod
Mutation Filter V2Workload Namespace]
PodMutationFilterV2WorkloadExcludeKind, PodMutationFilterV2WorkloadExcludeKindArgs
PodMutationFilterV2WorkloadExcludeName, PodMutationFilterV2WorkloadExcludeNameArgs
PodMutationFilterV2WorkloadExcludeNamespace, PodMutationFilterV2WorkloadExcludeNamespaceArgs
PodMutationFilterV2WorkloadKind, PodMutationFilterV2WorkloadKindArgs
PodMutationFilterV2WorkloadName, PodMutationFilterV2WorkloadNameArgs
PodMutationFilterV2WorkloadNamespace, PodMutationFilterV2WorkloadNamespaceArgs
PodMutationNodeSelector, PodMutationNodeSelectorArgs
PodMutationPodEviction, PodMutationPodEvictionArgs
- Enabled bool
- Whether non-conforming pods are eligible for eviction.
- Enabled bool
- Whether non-conforming pods are eligible for eviction.
- enabled bool
- Whether non-conforming pods are eligible for eviction.
- enabled Boolean
- Whether non-conforming pods are eligible for eviction.
- enabled boolean
- Whether non-conforming pods are eligible for eviction.
- enabled bool
- Whether non-conforming pods are eligible for eviction.
- enabled Boolean
- Whether non-conforming pods are eligible for eviction.
PodMutationSpotConfig, PodMutationSpotConfigArgs
- Distribution
Percentage int - Percentage of pods (0-100) that receive spot scheduling constraints.
- Spot
Mode string - Spot mode: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- Distribution
Percentage int - Percentage of pods (0-100) that receive spot scheduling constraints.
- Spot
Mode string - Spot mode: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- distribution_
percentage number - Percentage of pods (0-100) that receive spot scheduling constraints.
- spot_
mode string - Spot mode: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- distribution
Percentage Integer - Percentage of pods (0-100) that receive spot scheduling constraints.
- spot
Mode String - Spot mode: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- distribution
Percentage number - Percentage of pods (0-100) that receive spot scheduling constraints.
- spot
Mode string - Spot mode: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- distribution_
percentage int - Percentage of pods (0-100) that receive spot scheduling constraints.
- spot_
mode str - Spot mode: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
- distribution
Percentage Number - Percentage of pods (0-100) that receive spot scheduling constraints.
- spot
Mode String - Spot mode: OPTIONAL_SPOT, USE_ONLY_SPOT, or PREFERRED_SPOT.
PodMutationToleration, PodMutationTolerationArgs
- Effect string
- Toleration effect.
- Key string
- Toleration key.
- Operator string
- Toleration operator.
- Toleration
Seconds int - Toleration seconds.
- Value string
- Toleration value.
- Effect string
- Toleration effect.
- Key string
- Toleration key.
- Operator string
- Toleration operator.
- Toleration
Seconds int - Toleration seconds.
- Value string
- Toleration value.
- effect string
- Toleration effect.
- key string
- Toleration key.
- operator string
- Toleration operator.
- toleration_
seconds number - Toleration seconds.
- value string
- Toleration value.
- effect String
- Toleration effect.
- key String
- Toleration key.
- operator String
- Toleration operator.
- toleration
Seconds Integer - Toleration seconds.
- value String
- Toleration value.
- effect string
- Toleration effect.
- key string
- Toleration key.
- operator string
- Toleration operator.
- toleration
Seconds number - Toleration seconds.
- value string
- Toleration value.
- effect str
- Toleration effect.
- key str
- Toleration key.
- operator str
- Toleration operator.
- toleration_
seconds int - Toleration seconds.
- value str
- Toleration value.
- effect String
- Toleration effect.
- key String
- Toleration key.
- operator String
- Toleration operator.
- toleration
Seconds Number - Toleration seconds.
- value String
- Toleration value.
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
published on Wednesday, Aug 19, 2026 by CAST AI