Understanding Cloud Deploy target types
A target is a Cloud Deploy construct, and each target represents a specific runtime instance where you are deploying your application. A target type represents a type of runtime environment that Cloud Deploy supports. The following are the target types that Cloud Deploy supports:
- Google Kubernetes Engine (GKE) clusters
- Cloud Run services
- GKE Enterprise user clusters
These are the same runtime environments that we discussed in Chapter 7.
Cloud Deploy supports all three of these runtimes, but there are some rules to follow regarding target types:
- Within a delivery pipeline, all targets must be of the same type.
For example, you can’t deploy to a GKE cluster and a Cloud Run service using the same delivery pipeline.
- If you’re using parallel deployment, all child targets for a given multi-target must be of the same type (though they can be in different locations).