Skip to content

disable native kubernetes cronjobs when environment is idled #54

Open

Description

@shreddedbacon

To prevent cronjobs from causing issues in an idled environment by trying to run tasks or other things on resources that may not be available, we should change the active state of cronjobs to false when an environment is idled

Activity

  1. smlx commented on Jul 29, 2025

    @smlx
    Member

    I guess that unidling should also re-enable cronjobs?

  2. shreddedbacon commented on Jul 29, 2025

    @shreddedbacon
    MemberAuthor

    I guess that unidling should also re-enable cronjobs?

    Yes

  3. smlx commented on Aug 7, 2025

    @smlx
    Member

    Since I was looking at this code in ssh-portal yesterday, maybe it makes sense to add idling labels on cronjobs when implementing this? That way it makes it easier to select the cronjobs that need to be unidled.

  4. shreddedbacon commented on Aug 7, 2025

    @shreddedbacon
    MemberAuthor

    We're going to do some refactoring on how this works to make it easier for the ssh-portal and ssh service in core to handle unidling processes without needing to know which things specifically need to be unidled and how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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