Mapping Host Paths To K8s Containers


If we want to map a host path to a path in a docker container i.e. kubelet or controller-manager, in the Rancher Kubernetes stack, what’s the best way?

  1. Do we update the Rancher K8s docker compose Template? I’ve updated private catalog templates, but the Rancher K8s template seems more internal. I’m not sure where to go and how to load it? I see this repo: but am not sure which is the correct branch.

  2. Is there a UI setting that could be configured for the Rancher Kubernetes template?

  3. Or something else I don’t know about?

Thanks for any directions