I think you might need a sidecar container or daemonset to collect the Flink logs and store into a persistent storage. You could find more information here[1].
[1]. https://www.alibabacloud.com/blog/best-practices-of-kubernetes-log-collection_596356 Best, Yang hjw <hjw_em...@163.com> 于2022年12月22日周四 23:28写道: > On Flink Native K8s mode, the pod of JM and TM will disappear if the > streaming job failed.Are there any ways to get the log of the failed > Streaming job? > I only think of a solution that is to mount job logs to NFS for > persistence through pv-pvc defined in pod-template. > > ENV: > Flink version:1.15.0 > Mode: Flink kubernetes Operator 1.2.0(Application Mode) > > -- > Best, > Hjw >