Migrate triggers from Events for Knative serving to Eventarc
Stay organized with collections
Save and categorize content based on your preferences.
If your Knative serving service is running in a
Google Kubernetes Engine (GKE) cluster, you can migrate any existing event
triggers so that a Knative serving 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:
Identify existing Events for Knative serving triggers.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eEvents for Knative serving is no longer actively supported, and migration to Eventarc triggers is recommended.\u003c/p\u003e\n"],["\u003cp\u003eExisting Knative serving event triggers in Google Kubernetes Engine (GKE) clusters can be migrated to Eventarc.\u003c/p\u003e\n"],["\u003cp\u003eThe recommended migration process involves creating an Eventarc trigger, testing it, and then deleting the old trigger.\u003c/p\u003e\n"],["\u003cp\u003eThe migration path is designed to minimize event loss and duplication during the transition.\u003c/p\u003e\n"]]],[],null,["# Migrate triggers from Events for Knative serving to Eventarc\n\n| **Important:** Events for Knative serving is no longer actively supported. For details, see [Feature deprecations](/anthos/run/archive/docs/deprecations). We recommend that you [create an Eventarc trigger](/eventarc/docs/targets#triggers) so that you can receive events using Eventarc.\n\nIf your Knative serving service is running in a\nGoogle Kubernetes Engine (GKE) cluster, you can migrate any existing event\ntriggers so that a Knative serving service can receive events using\nEventarc.\n\nNote that the following migration path avoids the loss of events while\nminimizing their duplication. If you want to avoid duplicate events and can\naccept the possibility of lost events, we recommend removing the existing\ntrigger before creating an Eventarc trigger:\n\n1. Identify existing Events for Knative serving triggers.\n2. [Create an Eventarc trigger](/eventarc/docs/targets#triggers) that points to the same Knative serving service as the original trigger.\n3. Confirm that the Eventarc trigger is delivering events as expected.\n4. After testing and verifying the migration of your trigger to Eventarc, you can delete the original Events for Knative serving trigger."]]