Skip to content

Add option to create one-off job from cron job #4116

@muenchdo

Description

@muenchdo

Summary

Add a button to create a one-off job from a cron job.

Motivation

We often deploy cron jobs using Argo CD, but want to do test run of the job after deployment. Using kubectl you can easily create a job from a cron job using kubectl create job --from=cronjob/foo foo. As most of our engineers don't actually have cluster access using kubectl, integrating this into Argo CD (including RBAC, easily browsable logs, etc.) would be tremendously useful.

Proposal

Similar to the Restart option for deployments, this could be included in the dropdown when clicking a cron job object in the resource tree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions