Google MIG Deploy
Deploy step for Google Cloud Managed Instance Groups.
The Google MIG Deploy step creates a new version of the instance template and, if the instance group doesn't exist, creates the instance group.
Deployment flow
Download Manifests: Fetches all manifest files (instance template, MIG configuration, autoscaler, health check) from your configured manifest store and makes them available for subsequent steps.
Google MIG Deploy: Reads the downloaded manifests and executes the deployment by creating the instance template version and provisioning the MIG in GCP.

What this step does
Creates a new version of the instance template based on your manifest configuration
Creates the instance group if it doesn't exist
Applies the target size configuration to the MIG
Required manifests
This step requires the following manifest files configured in your service:
Instance template: Defines the VM configuration (machine type, boot disk, network interfaces, startup scripts, metadata, labels)
MIG manifest: Defines the Managed Instance Group configuration (distribution policy, update policy, constraints)
Autoscaler manifest (optional): Defines autoscaling rules based on metrics
Health check configuration (optional): Defines health check settings for instance monitoring
Step parameters
MIG Name
The name of the Managed Instance Group to deploy. This should be a unique identifier for your MIG (e.g., basic-deploy-testing-2).
Yes
Target Size
The desired number of instances to maintain in the MIG (e.g., 1, 3, 5).
Yes
Timeout
Maximum time allowed for the step to complete (default: 10m).
No
Container configuration
Container Registry
Harness connector for authenticating to your container registry. This connector pulls the deployment plugin image.
Image
The deployment plugin container image. Use the official Harness image: harness/google-mig-deploy:0.0.1-linux-amd64
Stepgroup YAML
Last updated
Was this helpful?
