Skip to content

⏲ Add initContainers to jobs to wait for dependencies instead of crashing (demos) #208

Open
@NickLarsenNZ

Description

@NickLarsenNZ

Note

This came out of the 25.3.0 Release Retro

Many demos have (Job or other) pods showing CrashLoopBackoff until their dependencies are satisfied.

This causes confusion when launching demos, especially during demo testing.

Each stack/demo should make use of initContainers to wait for dependencies to be satisfied without giving false failure indications.

Tip

List of demos

List generation command
cat demos/demos-v2.yaml | yq -yr '.demos | keys' | sed 's/^-/- [ ]/'
  • airflow-scheduled-job
  • data-lakehouse-iceberg-trino-spark
  • end-to-end-security
  • hbase-hdfs-load-cycling-data
  • jupyterhub-keycloak
  • jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data
  • logging
  • nifi-kafka-druid-earthquake-data
  • nifi-kafka-druid-water-level-data
  • signal-processing
  • spark-k8s-anomaly-detection-taxi-data
  • trino-iceberg
  • trino-taxi-data

Warning

It is possible that some stacks also need the same treatment, but most of the waiting can be done in the actual demo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    release-retro/25.3.0Indicates this issue or PR is part of improvements resulting from the Release Retro 25.3.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions