Skip to content

Cleanup CronJob fails #11146

@alikhtag

Description

@alikhtag

Apache Airflow version: 1.10.12

Kubernetes version : 1.17.9

Environment:

  • Cloud provider or hardware configuration: Azure Kubernetes Service
  • OS (e.g. from /etc/os-release): Linux
  • Install tools: Helm chart (/chart in repo)
  • Others:

What happened:
Pod cannot run since airflow-cleanup-pods is not in $PATH

Error: failed to start container "airflow-cleanup-pods": Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"airflow-cleanup-pods\": executable file not found in $PATH": unknown

What you expected to happen:
Cleanup job pod runs

How to reproduce it:

  • Deploy Helm Chart
  • Manually trigger airflow-cleanup CronJob
  • See it cannot run since airflow-cleanup-pods is not in $PATH

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions