部署Harbor
GitHub - goharbor/harbor-helm: The helm chart to deploy Harbor
helm方式安装
helm repo add harbor https://helm.goharbor.io
helm repo update
下载安装包并修改
helm fetch harbor/harbor
tar -zxf ~/harbor-*.tgz
vi harbor/values.yaml
配置信息替换,k8s暴露类型NodePort
expose.type:nodePort
expose.tls.enabled:false
externalURL: http://192.168.3.192:30002 #此端口和配置文件http harbor服务保持一致,否则docker login会报错
expose:
# Set how to expose the service. Set the type as "ingress", "clusterIP", "nodePort" or "loadBalancer"
# and fill the information in the corresponding section
type: nodePort
tls:
enabled: false
# Enable TLS or not.
# D


2221

被折叠的 条评论
为什么被折叠?



