1、安装官方文档通过Helm部署Harbor(Harbor docs | Deploying Harbor with High Availability via Helm (goharbor.io))
----->nodePort方式暴露服务;
----->按提示填写commonName
----->持久化存储:storageClass: "rook-ceph-block"
----->用户名admin/密码Harbor12345
# vim values.yaml
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:
certSource: auto
auto:
# The common name used to generate the certificate, it's necessary
# when the type isn't "ingress"
commonName: "mizy"
persistentVolumeClaim:
registry:
# Use the existing PVC which must be created manually before bound,
# and specify the "subPath" if the PVC is shared with other components
existingClaim: ""
# Specify the "storageClass" used to provision the volume. Or the default
# StorageClass will be used (the default).
# Set it to "-" to disable dynamic provisioning
storageClass: "rook-ceph-block"
subPath: ""
accessMode: ReadWriteOnce
size: 200Gi
annotations: {}
2、
标签:Set,Harbor,笔记,-----,nodePort,k8s,type,storageClass From: https://blog.51cto.com/u_3029920/5753597