Kubernetes-Helm Charts pointing to a local docker image

我的梦境 提交于 2020-07-20 17:19:05

问题


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


回答1:


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



回答2:


This is a late reply. But I solved it by this way...

image:
  registry: <docker_username>
  name: <docker_image_name>


来源:https://stackoverflow.com/questions/56839317/kubernetes-helm-charts-pointing-to-a-local-docker-image

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!