Skip to content

Conversation

@rynge
Copy link
Member

@rynge rynge commented Aug 13, 2025

SIGTERM and SIGINT will be trapped and mapped to the appropriate condor_off command.

You can choose strategy by setting the SHUTDOWN_STRATEGY environment variable to one of peaceful, graceful or fast.

graceful provides 24 hours for jobs to finish.

fast is default for now, matching the current behavior. We could have policy discussion on how for example the RPM should shutdown. For K8s deployments, graceful with something like this works well:

spec:
  terminationGracePeriodSeconds: 86400
  containers:
  ...
    env:
      - name: SHUTDOWN_STRATEGY
        value: "graceful"

@rynge
Copy link
Member Author

rynge commented Oct 8, 2025

@brianhlin @matyasselmeci How do we feel about this approach? I would like to see a decision either way.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant