-
Notifications
You must be signed in to change notification settings - Fork 738
Migration path for v0.17.0
- Merging Gateway and EventSource CR into a single EventSource CR.
- Introducing EventBus as the transport layer and removing the
subscription
field from the Sensor.
Please read this document to understand the rationale behind the changes described above.
The existing Gateway and EventSource CRs are merged into a single EventSource CR. The container
template and service
fields are now available in the new EventSource CR. Take a look at the complete specification for the EventSource CR here for more info.
-
Deploy the gateway-controller with v0.17.0 which is configured to delete existing gateway deployments and services.
-
Update existing EventSource CR and fields
service
andtemplate
if required to configure container/service-specific fields. You can migrate these fields from existing Gateway CR. The examples for event-source are available here. -
Deploy the event-source controller along with eventbus and sensor controller.
-
Delete the Gateway CR objects, the CRD and gateway controller.
-
If you have installed v0.16.0, you need to delete the CRD
eventbuses.argoproj.io
which is incorrect CRD introduced in v0.16.0.
The gatewayName
field under the dependencies
is renamed to eventSourceName
.
With v0.17.0, the events will flow over the eventbus (backed by NATS streaming) from the EventSource to the Sensor which means the subscription
field in the sensor will have no effect. With introduction of eventbus, we are aiming to abstract away the complexity of subscriptions, but at the same time providing better stability and delivery guarantees.
Make sure to install eventbus controller and a eventbus custom resource from the steps outlined in the installation section.