Skip to main content

PerfectScale Autoscaler Objects' Events — SaaS

Event nameObjectEvent typeEvent messageDescription
RefObjectNotFound

WorkloadAutomationConfig

WarningWorkload 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.
UpdatingWorkloadWorkloadAutomationStatus (k8s object associated with the workload, e.g. Job/CronJob)NormalReceived 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.

RestartingWorkloadWorkloadAutomationStatus (k8s object associated with the workload, e.g. Deployment/DaemonSet/StatefulSet)NormalReceived 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.

RestartFailedWorkloadAutomationStatus (k8s object associated with the workload, e.g. Deployment/DaemonSet/StatefulSet)WarningFailed 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).
MutatingPodWorkloadAutomationStatusNormalApplying PerfectScale recommendations to {podNamespace}/{podName}The event indicates that recommendations for the specified pod exist and can be applied (no R1 happened, etc.).
MutatedPodWorkloadAutomationStatusNormalSuccessfully 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.
MutatePodFailedWorkloadAutomationStatusWarningFailed 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.