简体   繁体   中英

How to install docker registry with helm on linod

I am following the documentation in this page and towards the bottom there is this code

helm install docker-registry stable/docker-registry -f docker-configs.yaml

When i run it, i get this error

WARNING: This chart is deprecated Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "extensions/v1beta1"

Is there an update to this command or is there something that am missing?

This is the source of the chart that gets installed. The apiVersion there is set to extensions/v1beta1 and that has been deprecated. Try using https://github.com/twuni/docker-registry.helm

helm repo add twuni https://helm.twun.io && helm repo update helm install twuni/docker-registry -f docker-configs.yaml

After that, I got this error: Getting this error: Error: INSTALLATION FAILED: Ingress.extensions "docker-registry" is invalid: annotations.kubernetes.io/ingress.class: Invalid value: "nginx": can not be set when the class field is also set

Removing kubernetes.io/ingress.class: nginx from the docker-configs.yaml file helped me get rid of this error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM