Kubernetes and Dockerfile
People using Docker have probably used dockerfiles as master templates for their containers.
One Solution collect form web for “Kubernetes and Dockerfile”
I’m not aware of tools for doing so or people that have been trying this.
Dockerfiles and the Kubernetes resource manifests (the yaml files) are somewhat orthogonal. While you could pull some information from the Dockerfile to prepopulate the Kubernetes manifest, it’d only be able to fill in a very small subset of the options available.
You can think of Dockerfiles as describing what is packaged into your container image, while the Kubernetes manifests specify how your container image is deployed — which ports are exposed, environment variables are added, volumes are mounted, services made available to it; how it should be scheduled, health checked, restarted; what its resource requirements are; etc.