Skip to content

Cronjob in pod vs native k8s check improvements #443

@shreddedbacon

Description

@shreddedbacon

The current check for if a cronjob runs in a pod or as a native k8s job doesn't work properly for all cases.

Need to refactor to properly check if the cronjob is less than 30 minutes that it goes into the pod instead of native k8s.

Examples of some schedules that should run in pod, but the check passes as "false"

schedule: "2-59/10 * * * *"
schedule: "1-59/10 * * * *"
schedule: "3-59/5 * * * *"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions