| name | argo-events-setup-guide |
| description | Deploy event-driven automation with EventSource, EventBus, and Sensor configuration. Complete setup guide for production Argo Events on Kubernetes clusters. |
Argo Events Setup Guide
When to Use This Skill
This guide covers EventSource, EventBus, and Sensor configuration for event-driven automation.
Implementation
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
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
Troubleshooting
See troubleshooting.md for common issues and solutions.
Related Patterns
- Argo Workflows Patterns
- ConfigMap as Cache Pattern
- Event-Driven Deployments