DUNE-DAQ / pocket

A pocket DAQ infrastructure
7 stars 1 forks source link

Wait for Kafka to start with Init containers on the consumers #84

Closed TiagoTAlves closed 1 year ago

TiagoTAlves commented 1 year ago

When initialising make setup.local, the erskafka and kafka2influx pods would start but because kafka had not initialised yet, they would have to restart multiple times until getting created. This makes the pods wait until the kafka service is up and running before beginning the initialisation process of these pods.

TiagoTAlves commented 1 year ago

Added init container to erskafka and kafka2influx as busybox images to run a nslookup command to wait for kafka to initialise