k8s集群中通过helm部署harbor
·
帮助:k8s集群中pod显示ImagePullBackOff
安装helm
$ curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
1、使用helm添加harbor的repo
$ helm repo add harbor Harbor Chart Repository
$ helm repo update
2、拉取harbor到本地
$ helm pull harbor/harbor --untar
3、按照下图所示,修改harbor的yaml文件
$ cd harbor
$ sudo gedit values.yaml



4、安装harbor
$ helm install harbor harbor/harbor -f values.yaml -n harbor
5、浏览器访问<集群节点ip>+30002访问harbor
更多推荐
所有评论(0)