Injected containers handling
Explore PerfectScale’s approach to handling injected (immutable) containers
PerfectScale identifies sidecar containers within pods. Due to the immutable nature of sidecar container resource allocations, Automation does not apply changes to sidecar containers. Instead, PerfectScale focuses on pod-level recommendations, ensuring safe and effective optimization without impacting sidecar functionality.
When the injected sidecar is detected:
PerfectScale will indicate such container as
injected sidecar
.Limited by Rule Automation status will be raised for the automated workloads.
Automation executes pod-level recommendations only.
Automation won’t make changes that could trigger HPA (if such is introduced) due to under-provisioned sidecars. Current values are kept to maintain stability.
Injected sidecar is detected
When PerfectScale identifies the immutable container within the pod, the Automation status will be updated to the Limited by Rule, and injected sidecar
badge will appear for this container.

In this case, PerfectScale Automation will not apply the recommendations, and a tooltip will appear next to the resource utilization chart and recommendations section.
HPA and Sidecar Detected
When an immutable container is detected in a pod with HPA enabled, Automation will also be restricted for the other containers in that pod. This prevents triggering the HPA due to under-provisioned sidecar allocations and ensures workload stability.
In this case, PerfectScale retains the current values in order to maintain stability and avoid potential risks.

Last updated