Configuration
Along with the shared group fields, enter the Autoscaler name attached to the managed instance group. The target’s Minimum replicas and Maximum replicas are written to the autoscaler’sminNumReplicas and maxNumReplicas settings.
Required permissions
The selected GCP Service Account credential needs:Add an autoscaler target
1
Open scale targets
Go to Scale Targets, click New scale target, and select GCP managed instance group.
2
Identify the group
Enter its project, location type, location, instance group manager, and autoscaler name.
3
Select authentication
Choose the GCP Service Account credential with permission to read the group and update its autoscaler.
4
Select capacity
Choose the destination or shared pool served by the group.
5
Set the envelope
Enter the minimum and maximum replicas available to the GCP autoscaler.
6
Save
Create the target and confirm that the observed target size belongs to the expected group.