Does kubernetes have to build the application into an image before deploying the application?
Novice orz
Does kubernetes have to build the application into an image before deploying the application?
Can you select an image in kubernetes and run specific programs on this image.
Or do you have to build an application into an image before deployment, so how do you use docker to build an application into an image?,yes.
Build the image through dockerfile.,The image should be constructed and finally transferred to the private image warehouse, so that kubernetes can be deployed directly and quickly.,
yes. You need an existing docker image, private image or shared image. When creating a deployment or RC, configure the corresponding image. When kubernetes automatically creates a pod, it will actively pull the image to the local.,You can refer to the draft project in GitHub to automatically create an image
Read more here: Source link