-1

I am looking for a way to see if I can print the recommendations for a GCP instance using gcloud cli or any of the available Google API so far no luck.

1 Answers1

0

If you are referring to Specifying a Minimum CPU Platform for VM Instances feature or to the gcloud command (link):

$ gcloud alpha compute instances set-min-cpu-platform

You can print the official documentation added in the above links.

HopsHops
  • 55
  • 4
  • thank you for your answer but it's not what I was looking for. In the column section of compute engine we can see a column called recommendations. I want to print/use it by using cli tools like gcloud or any of the available Google API's. – Kishore Kumar A Jun 12 '19 at 08:56
  • The [Monitoring Agent](https://cloud.google.com/compute/docs/instances/apply-sizing-recommendations-for-instances#using_the_monitoring_agent_for_more_precise_recommendations) gives you recommendations and you can use it with gcloud command. – HopsHops Jun 17 '19 at 09:14