### Description

Add a process_line callback to KubernetesPodOperator 
Like https://github.com/apache/airflow/blob/main/airflow/providers/apache/beam/operators/beam.py#LL304C36-L304C57 the `BeamRunPythonPipelineOperator`, which allows the user to add stateful plugins based on the logging from docker job 

### Use case/motivation

I can add a plugin based on the logging and also allow cleanup on_kill based on the job creation log. 

### Related issues

_No response_

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

pod=pod, container_name=container_name, follow=follow_logs
                        )
                        pod_logging_statuses.append(status)
                else:
                    self.log.error(
                        "False is not a valid value for container_logs",
                    )
            else:
                
                if isinstance(container_logs, Iterable):
                    for container in container_logs:
                        if container in all_containers:
                            status = self.fetch_container_logs(
                                pod=pod, container_name=container, follow=follow_logs
                            )
                            pod_logging_statuses.append(status)
                        else:
                            self.log.error(
                                "Container %s whose logs were requests not found in the pod %s",
                                container,
                                pod.metadata.name,
                            )
                else:
                    self.log.error(
                        "Invalid type %s specified for container names input parameter", type(container_logs)
                    )
        else:
            self.log.error("Could not retrieve containers for the pod: %s", pod.metadata.name)
        return pod_logging_statuses
    def await_container_completion(self, pod: V1Pod, container_name: str) -> None: