Apply Recommendations

Applying Recommendations Using The StormForge UI

With the StormForge Applier installed, you can now apply Optimize Live’s recommendations directly from the StormForge UI.

If you deployed the StormForge sample application earlier in the workshop, you can navigate back to “Workloads” > “optlive-showcase-app” (or any other test service on your choice):

StormForge Applier

Click the Apply Now button

Optimize Live will now make the patch available for the StormForge Applier in our cluster and the patch will be applied directly to the workload.

We can confirm that the patch has been applied by running the following command kubectl rollout history -n <namespace> deploy/<app name>. For our sample application it would be:

 kubectl rollout history -n default deploy/optlive-showcase-app

You should see an output that looks like this:

deployment.apps/optlive-showcase-app
REVISION  CHANGE-CAUSE
1         <none>
2         Optimize Live (1713298260)

You can see that Optimize Live is listed as the CHANGE-CAUSE for the latest rollout.

We can also use the following command to inspect the running configuration of the Pod kubectl describe pod -n <namespace> <pod name>, for example:

kubectl describe pod -n default optlive-showcase-app123456abcde

Note: You will want to replace the name of the pod above with the name of the pod in your cluster.

You should see an output that includes the following:

Limits:
  cpu:     1
  memory:  128Mi
Requests:
  cpu:        575m
  memory:     12Mi

The new running configuration for the resource Requests and Limits has been updated to reflect the values provided by Optimize Live.

Finally, we can return to the StormForge UI and see that the patch has been successfully applied.

StormForge applier time stamp

With our Kubernetes workload properly right sized, our workshop is now completed!

You may now continue to explore by deploying and right-sizing additional workloads for the remainder of your 30-day trial of Optimize Live.

For More Information on Stormforge

Next: Cleanup

Proceed to the next step to clean up any resources from this workshop.