PerfectScale Autoscaler Objects' Events

Explore PerfectScale autoscaler objects' events

Event name
Object
Event type
Event message
Description

RefObjectNotFound

WorkloadAutomationConfig

Warning

Workload specified in TargetRef not found.

The event indicates that the K8s object specified in the TargetRef of the Workload Automation Config does not exist. The event could appear only in the config creation stage.

UpdatingWorkload

WorkloadAutomationStatus (k8s object associated with the workload, e.g. Job/CronJob)

Normal

Received new resource recommendations for {objectNamespace}/{objectName}

This event is applicable only to non-restartable workloads, such as Jobs and CronJobs.

The event indicates that new resource recommendations have been applied to WorkloadAutomationStatus (moved from target to current section).

Since the autoscaler cannot restart such workloads, new recommendations will be applied to pods during the next pod creation scheduled by K8s.

RestartingWorkload

WorkloadAutomationStatus (k8s object associated with the workload, e.g. Deployment/DaemonSet/StatefulSet)

Normal

Received new resource recommendations for {objectNamespace}/{objectName}

The event is only relevant for the restartable workloads (e.g., Deployment/DaemonSet/StatefulSet).

The event indicates that new resource recommendations have been applied to WorkloadAutomationStatus (moved from target to current section), AND autoscaler started rollout-restart for the workload (to apply the new recommendations).

Restart is needed for pod re-creation to apply the new recommendations.

RestartFailed

WorkloadAutomationStatus (k8s object associated with the workload, e.g. Deployment/DaemonSet/StatefulSet)

Warning

Failed to restart {objectNamespace}/{objectName}: {errorMessage}

The event is only relevant for restartable workloads (e.g., Deployment/DaemonSet/StatefulSet).

The event indicates that the restart failed from the autoscaler perspective. Possible reasons:

  • We failed to start the restart process (the k8s client returned an error on the http patch request).

  • The deadline for restarting all pods has been exceeded (means not all pods have our latest restartedAt annotation and have running state).

MutatingPod

WorkloadAutomationStatus

Normal

Applying PerfectScale recommendations to {podNamespace}/{podName}

The event indicates that recommendations for the specified pod exist and can be applied (no R1 happened, etc.).

MutatedPod

WorkloadAutomationStatus

Normal

Successfully applied PerfectScale recommendations to {podNamespace}/{podName}

The event indicates that recommendations for the specified pod were properly converted to JSON and returned to k8s. Therefore, recommendations should be applied to the pod.

MutatePodFailed

WorkloadAutomationStatus

Warning

Failed to apply PerfectScale recommendations to {podNamespace}/{podName}

The event indicates that recommendations for the specified pod can not be properly converted to JSON and, as a result - were not returned to K8s. Therefore, recommendations will not be applied to the pod.

Last updated