Panfactum LogoPanfactum
Infrastructure ModulesSubmodulesKuberneteskube_argo_event_source
kube_argo_event_source
Beta
Submodule
Source Code Link

Argo Event Source

Deploys an EventSource resource as a part of the Argo Events architecture.

The EventSource is a Deployment that consumes data from external sources (push and pull) and then publishes events on an EventBus.

Providers

The following providers are needed by this module:

  • kubectl (2.0.4)

  • kubernetes (2.27.0)

  • pf (0.0.3)

  • random (3.6.0)

Required Inputs

The following input variables are required:

event_source_spec

Description: The specification of the EventSource. See https://github.com/argoproj/argo-events/blob/master/api/event-source.md#eventsourcespec

Type: any

name

Description: The name of the Sensor

Type: string

namespace

Description: The namespace to deploy the Sensor into.

Type: string

Optional Inputs

The following input variables are optional (have default values):

az_spread_preferred

Description: Whether to enable topology spread constraints to spread pods across availability zones (with ScheduleAnyways)

Type: bool

Default: true

event_bus_name

Description: The EventBus to read from. Should almost always be 'default'.

Type: string

Default: "default"

instance_type_anti_affinity_required

Description: Whether to enable anti-affinity to prevent pods from being scheduled on the same instance type

Type: bool

Default: true

panfactum_scheduler_enabled

Description: Whether to use the Panfactum pod scheduler with enhanced bin-packing

Type: bool

Default: true

replicas

Description: The number of replicas to run in the underlying deployment. Read this before changing the defaults: https://argoproj.github.io/argo-events/eventsources/ha/. Do NOT mix active-active and active-passive if using more than one replica.

Type: number

Default: 1

spot_nodes_enabled

Description: Whether EventSource pods can be run on spot nodes

Type: bool

Default: true

vpa_enabled

Description: Whether the VPA resources should be enabled

Type: bool

Default: true

Outputs

No outputs.