Virtual machine actions
If you have included Red Hat OpenShift Virtualization with a target configuration for Red Hat OpenShift, the following actions are supported for virtual machines:
Actions for virtual machines
-
Move
Move a resource, such as a container pod, to another node (virtual machine) to address performance issues or improve infrastructure efficiency. For example, if a particular node is congested for CPU, you can move pods to a node with sufficient capacity. When a move is completed, the underlying resource entity in Red Hat OpenShift Virtualization is moved, not the workload controller that represents the resource.Note: Turbonomic respects any affinity or anti-affinity rule configurations for Red Hat OpenShift Virtualization virtual machines. For more information about affinity and anti-affinity rules, see Pod affinity and anti-affinity rules. -
CPU memory resize
Resize actions for a Red Hat OpenShift Virtualization workload controller (virtual machine) resize the container specs to assure optimal utilization of resources. The workload controller then rolls out the changes in the running environment.
Note:- Turbonomic prevents resizes below resource requirements. For instance, if a VM on operating system A has a configuration within Red Hat OpenShift Virtualization that defines the minimum resources required for that VM to run, such as 2 VCPUs and 2 GiB of memory, Turbonomic reads these requirements and takes them into consideration when generating resize actions. This consideration ensures that Turbonomic does not resize the VM below the minimum resource requirements.
- Turbonomic does not resize VMs that are configured using instance types.
For actions that are associated with Red Hat OpenShift Virtualization virtual machines pods, Turbonomic takes into consideration any run strategy that is defined in the virtual machine spec (RunStrategy field). For instance, if a run strategy is defined so that a virtual machine runs only once, Turbonomic does not recommend resize actions for that virtual machine. For move actions, Turbonomic can change the run strategy to generate a disruptive resize action for the move. After the resize is completed, the run strategy is reset.
The preceding actions are supported for Red Hat OpenShift Virtualization. For more information about the additional actions that are supported for an overall Red Hat OpenShift target, see Container platform actions.