Scope Mapping
StaticPolicyis namespaced and references anAutomationStrategyin the same namespace.ClusterStaticPolicyis cluster-scoped and references aClusterAutomationStrategy.
Field Reference
StaticPolicy.spec
ClusterStaticPolicy.spec
Example: Namespaced Static Policy
Example: Cluster Static Policy
Notes
- Use static policies when exact values matter more than recommendation-driven tuning.
resources.containers."*"applies a default to every scoped container, and named values override wildcard values for the same resource.- When
scope.containersis set, entries for other containers are removed and wildcard values expand into each listed name. - Container targets include regular containers and native sidecar init containers (
restartPolicy: Always). One-shot init containers are not automated. Modelis included in default workload types. Usespec.scope.workloadTypes: [Model]when you want to restrict scope to KubeAIModelobjects only. Recommendations and rollback state are stored on theModelowner, then inherited by model-owned pods.- By default, only one same-kind static policy contributes to a workload. With
globalConfiguration.multiPolicyContainerRightsizingEnabled: true, separate container/resource targets can come from different policies;PolicyEvaluationresolves overlapping targets. See Multi-Policy Container Rightsizing.

