KubernetesPodOperatorCallback

Hi all, I need to implement an on_pod_clean_up callback for the KubernetesPodOperator, but the example in the documentation is not very clear to me. Could someone share an example of a KubernetesPodOperator callback that simply executes some script inside the container/pod?