Skip to content

Refactored preStop windows script#193

Merged
mskwierczynski982 merged 1 commit into
masterfrom
adoAgentTweaks2
Feb 10, 2026
Merged

Refactored preStop windows script#193
mskwierczynski982 merged 1 commit into
masterfrom
adoAgentTweaks2

Conversation

@mskwierczynski982

Copy link
Copy Markdown
Contributor

Description

Previously if pod was not running container it would simply sleep for as long as terminationGracePeriodSeconds, which is not optimal, if job is running we want to remove pod and agent immidiately.
This script meets this goal, if job is running it will keep trying to remove agent (it will fail if job is running) and once job is completed it will remove agent and pod

Chart

Select the chart that you are modifying:

  • core
  • dotnet-core
  • cron-job
  • job
  • app-reverse-proxy
  • pact-broker
  • ado-build-agents
  • ado-agent-cleaner
  • event-worker

Checklist

  • Description provided
  • Linked issue
  • Chart version bumped
  • README.md updated with any new values or changes
  • Updated template tests in ${CHART}/tests/*.py

@mskwierczynski982
mskwierczynski982 requested a review from a team as a code owner February 10, 2026 11:34
@mskwierczynski982
mskwierczynski982 merged commit a33d51b into master Feb 10, 2026
1 check passed
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.

2 participants