前提
安装好了 DockerDesktop, 启用了Kubernetes
安装helm
brew install helm
安装 nginx-ingress-controller
helm upgrade --install ingress-nginx ingress-nginx --repo https://kubernetes.github.io/ingress-nginx --namespace ingress-nginx --create-namespace
安装本地版 harbor
helm repo add harbor https://helm.goharbor.io
helm install my-release harbor/harbor --set expose.type=nodePort --set expose.tls.enabled=false
#vim /etc/hosts
127.0.0.1 core.harbor.domain

http://core.harbor.domain/harbor:30002
http://localhost:30002
login: admin
password: Harbor12345

ref:
https://serverascode.com/2020/04/28/local-harbor-install.html
网友评论