Load Data Java Transform Pipeline

By going through the document, I would like to understand how the Transform Pipeline would work for a Java based program where SinglestoreDB is deployed in Kubernetes.

From the docs, I understand that the respective programing language should be deployed in the Leaf node, but in case of K8S deployment, how it will be handled by Singlestore.