argoproj / argoproj/argo-workflows

Archive Logs for init and wait container

Open
#12,640 10 comments 15 reactions 0 assignees View on GitHub
area/archive-logs
Dominant language
Go
Stars
17k
Forks
3.7k
Avg merge
1d 15h
Merged PRs (30d)
138

Description

# Summary

Currently argo `ArchiveLogs` only supports logs from `main` container.
From time to time user is asking if it supports `init` and `wait` container log.

I'm aware the archivelog docs recommend a proper logging facility for logging,
Maybe this is still something we could consider if there's enough 👍

## Use Cases

When would you use this?
Archive `init` and `wait` container log for debugging purpose

---

**Message from the maintainers**:

Love this enhancement proposal? Give it a 👍. We prioritize the proposals with the most 👍.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how ArchiveLogs currently handles logs from the main container and identify the entry points responsible for selecting archived container logs. Compare the existing behavior for main with the init and wait containers. Done means logs from init and wait can also be archived for debugging, with appropriate coverage of the changed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.