Argo Events Setup Guide¶
This guide covers EventSource, EventBus, and Sensor configuration for event-driven automation.
Components¶
| Component | Purpose | Guide |
|---|---|---|
| EventSource | Connect to external systems (Pub/Sub, webhooks) | EventSource Configuration |
| EventBus | Message broker for event delivery | EventBus Configuration |
| Sensor | Filter events and trigger workflows | Sensor Configuration |
Quick Start¶
- Deploy EventBus - Start with JetStream for production
- Configure EventSource - Connect your Pub/Sub topic or GitHub webhooks
- Create Sensor - Define event filters and triggers
EventBus First
Deploy the EventBus before creating EventSources or Sensors. Without a running EventBus, events have nowhere to go.
Troubleshooting¶
Events Not Arriving¶
- Check EventSource logs:
kubectl logs -n argo-events -l eventsource-name=<name> - Verify Pub/Sub subscription exists in GCP console
- Confirm service account has
pubsub.subscriberrole
Events Arriving But Not Triggering¶
- Check Sensor logs:
kubectl logs -n argo-events -l sensor-name=<name> - Verify filter conditions match event payload
- Test with a simple sensor that logs all events
Events Lost During Restarts¶
- Enable persistence on EventBus
- Increase
maxAgeretention - Monitor EventBus storage usage
Related¶
- Argo Workflows Patterns - WorkflowTemplate design and error handling
- ConfigMap as Cache Pattern - Volume mounts for zero-API reads
- Event-Driven Deployments - The journey to zero-latency automation