Migrate triggers from Events for Cloud Run for Anthos to Eventarc

If your Cloud Run for Anthos service is running in a Google Kubernetes Engine (GKE) cluster, you can migrate any existing event triggers so that a Cloud Run for Anthos service can receive events using Eventarc.

Note that the following migration path avoids the loss of events while minimizing their duplication. If you want to avoid duplicate events and can accept the possibility of lost events, we recommend removing the existing trigger before creating an Eventarc trigger:

  1. Identify existing Events for Cloud Run for Anthos triggers.
  2. Create an Eventarc trigger that points to the same Cloud Run for Anthos service as the original trigger.
  3. Confirm that the Eventarc trigger is delivering events as expected.
  4. After testing and verifying the migration of your trigger to Eventarc, you can delete the original Events for Cloud Run for Anthos trigger.