ForVic opened a new pull request, #52068: URL: https://github.com/apache/spark/pull/52068
### What changes were proposed in this pull request? 1. Provide a way for users to configure applications which run on kubernetes to store diagnostics. ### Why are the changes needed? For jobs which run on kubernetes there is no native concept of diagnostics (like there is in YARN), which means that for debugging and triaging errors users _must_ go to logs. For jobs which run on YARN this is often not necessary, since the diagnostics contains the root cause reason for failure. Additionally, for platforms which provide automation of failure insights, or make decisions based on failures, there must be a custom solution or deciding why the application failed (e.g. log and stack trace parsing). ### Does this PR introduce _any_ user-facing change? Yes, a config, which is defaulted to false. ### How was this patch tested? unit tested + verified in production k8s cluster. ### Was this patch authored or co-authored using generative AI tooling? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org