I'm playing around wiht minikube and I have a config in my values.yaml
defined like this
image:
repository: mydocker.jfrog.io/mysql
I want it to point a to a local docker image that lives locally mysql/docker/dockerfile
I'm not sure what the syntax is can't find it in the docs
Kubernetes use local docker image is nothing but create Kubernetes image locally and deploy the same on Kubernetes cluster locally; the first step is to deploy our application on Kubernetes to build the docker image. Next, we need to use minikube to run the Kubernetes in our local environment.
Required image pull If you would like to always force a pull, you can do one of the following: Set the imagePullPolicy of the container to Always . Omit the imagePullPolicy and use :latest as the tag for the image to use; Kubernetes will set the policy to Always when you submit the Pod.
Helm charts are stored in chart repositories that are hosted in container registries, either on a local system or online.
Helm is a package manager, it uses Docker images as part of charts. Helm charts have configs for Kubernetes and it uses Docker images which are built from Dockerfile.
Check the list of images on your local machine with docker image ls
. Let’s say rajesh12/mysql
is the image you want to use:
image:
repository: rajesh12/mysql
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With