Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

fix(typo): comupute -> compute #1317

Merged
merged 1 commit into from
Jun 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ periodically redraw the status charts.

[*gapi.js*][gapi] contains all the API requests used by Simple MIG Dashboard. Once the user chooses the project, the Dashboard fetches the list of Managed Instance Groups that belong to this project using [*compute.instanceGroupManagers.aggregatedList*][igms-list]. The call returns both zonal and regional Managed Instance Groups. Next, the user chooses the Managed Instance Group they want to monitor. The dashboard fetches the list of instances in the selected Managed Instance Group. Depending on the type of the Managed Instance Group, it either makes a call to [*compute.regionInstanceGroupManagers.listManagedInstances*][rmig-list] for Regional Managed Instance Group or [*compute.instanceGroupManagers.listManagedInstances*][mig-list] for Zonal Managed Instance Group. Both methods return a single *managedInstances* object that lists all the instances from the Managed Instance Group together with their *currentAction* (e.g. CREATING, RUNNING) and *version*. *version* defines which Instance Template was used to create the instance.

To display health of instances, the Dashboard first fetches all Backend Services defined in the project using [*compute.backendServices.list*][bs-list]. Then it finds the particular Backend Service connected to the selected Managed Instance Group by looking at *group* field of Backend Service resources. It gets health statuses of Managed Instance Group instances by calling [*comupute.backendServices.getHealth*][get-health]. The request returns a list of *healthStatus* objects that map instances from the Managed Instance Group to their *healthState*.
To display health of instances, the Dashboard first fetches all Backend Services defined in the project using [*compute.backendServices.list*][bs-list]. Then it finds the particular Backend Service connected to the selected Managed Instance Group by looking at *group* field of Backend Service resources. It gets health statuses of Managed Instance Group instances by calling [*compute.backendServices.getHealth*][get-health]. The request returns a list of *healthStatus* objects that map instances from the Managed Instance Group to their *healthState*.


[index]: https://github.com/GoogleCloudPlatform/community/blob/master/tutorials/compute-managed-instance-groups-dashboard/webapp/index.html
Expand Down