I am using Airflow 1.10.9 via AKS ( Azure ) Kubernetes.
The issue that I am facing is that if the pod status gets terminated completed, the job is still showing as Running on airflow.
The solution I found on the web is to upgrade the Airflow to 2.0 + version, however due to major code changes in the production environment, I am unable to upgrade the Airflow version.
The details about the solution is available at this Link
It says that I need to have enable_tcp_keepalive = True
Is there a way that I can implement this in Airflow 1.10.9 ? Or are there any other solutions to resolve this ?
Below are the screenshot for references.

