Deploying a daemon onto Kubernetes

Hi All.

I am trying to put together the yaml file and the steps required to convert a daemon to a container and deploy it onto a kubernetes cluster.

The daemon listens on tcp port 4040.

Thanks in advance.