I have 2 naive noob questions slight_smile: if they were answered somwhere, sorry and please, give me a link :
Here is my szenario : i have dockerhub image, and have to host a pod from that image with additional file on the pod. (configuration file)
I know i can do that with kubectl cp after the pod is running, but … can i allready host a pod WITH the file in it ?
Second Question (kinda trying to solve the first one
I can create a docker image localy. Can i use it in a kubernetes yaml file, WITHOUT upploading it to a image registry first ?
Because somebody would ask “but why?” :Because of company policies, it is a bit pain in the
“bottom part of your body” to create and upload a new docker image for further usage.
- Can i start a pod with files from that place, where i run the kubectl command ?
- Can i use localy created docker image in kubecctl, WITHOUT uploading it to image registry first ?
Thanks and have a good day everyone