You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
// Purposely do nothing. We leverage the job TTL feature in Kube 1.19+
This is actually really nice, because without this there's no way to inspect the logs of a failed poll-based task. Maybe we can call stop after some delay period, or otherwise store the logs somewhere.
Waypoint Platform Versions
Additional version and platform information to help triage the issue if
applicable:
It might not always be important to keep the logs around, because sophisticated users will probably all pod logs shipped somewhere (like elasticsearch) that they can look at after the fact.
We can probably leave errored pods around, because I think Kubernetes has some kind of auto-reaping policy for errored pods.
Describe the bug
If k8s tasks do not complete (or error), they will stick around forever.
Steps to Reproduce
Expected behavior
This is because we aren't ever calling
stop
on k8s tasks:waypoint/builtin/k8s/task.go
Line 138 in 283a474
This is actually really nice, because without this there's no way to inspect the logs of a failed poll-based task. Maybe we can call
stop
after some delay period, or otherwise store the logs somewhere.Waypoint Platform Versions
Additional version and platform information to help triage the issue if
applicable:
Additional context
Slack thread: https://hashicorp.slack.com/archives/C013QT1KG9W/p1635804287310700
The text was updated successfully, but these errors were encountered: