前提:通过storageclass+nfs动态创建pv

帮助: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

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐