You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/blog/setting-up-harbor-as-a-local-container-registry-in-hpe-private-cloud-ai.md
+29-13Lines changed: 29 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,43 +33,59 @@ The following sections describe in detail how to deploy *Harbor* into PCAI using
33
33
34
34
### Harbor Deployment via PCAI *Import Framework*
35
35
36
-
The *Harbor* Helm charts have been available from GitHub repository [*pcai-helm-examples*](https://github.com/GuopingJia/pcai-helm-examples/tree/main/harbor). Based on the latest Helm charts from the official [Harbor site](https://helm.goharbor.io/harbor-1.17.0.tgz), a few required YAML manifest files, together with changes to the values.yaml, have been added to be easily deployed into HPE PCAI. In particular, we increase the *Harbor* registry size from the default *5G* to *500G*:
36
+
Based on the latest Helm charts from the official [*Harbor* site](https://helm.goharbor.io/harbor-1.17.0.tgz), the following required YAML manifest files have been added:
37
+
38
+
**virtualService.yaml*: an Istio *VirtualService* configuration file to define routing rules for incoming requests.
39
+
**kyverno-cluster-policy*: a Kyverno *ClusterPolicy* file to add the required labels to the deployment.
40
+
41
+
The default *values.yaml* file has been also updated with the following contents:
42
+
43
+
* appended an *ezua* section to define the *Istio Gateway* and expose a service endpoint:
The updated *Harbor* Helm charts have been available from GitHub repository [*pcai-helm-examples*](https://github.com/GuopingJia/pcai-helm-examples/tree/main/harbor).
60
+
Using updated Helm charts, *Harbor* can be easily deployed into PCAI via the *Import Framework*:
43
61
44
62

45
63
46
64
2. Harbor UI access via its endpoint
47
65
48
-
After Harbor is installed through PCAI *Import Framework*, there is an **Imported***Harbor* tile being added under*Tools & Frameworks*. A virtual service endpoint, e.g., *https://harbor.ingress.pcai0104.ld7.hpecolo.net* is configured.
49
-
66
+
After *Harbor* is installed through PCAI *Import Framework*, an **Imported***Harbor* tile is added to*Tools & Frameworks*, under *Data Science* tab. A virtual service endpoint, e.g., *https://harbor.ingress.pcai0104.ld7.hpecolo.net*, has been configured and exposed for *Harbor* access.
67
+
50
68

51
69
52
-
Simply clicking *Open* button, or copying the endpoint and pointing it in the browser, the *Harbor* login page is loaded:
70
+
Simply clicking *Open* button, or copying the endpoint URL to the browser, the *Harbor* login page shows up in a new window:
53
71
54
72

55
73
56
74
Using the default Harbor *admin* user credentials, you can log into *Harbor* projects page:
57
75
58
76

59
77
60
-
By default, there is a public project *library* pre-created.
61
-
62
-
#### Harbor Project per Customer
78
+
#### Harbor project and user creation
63
79
64
-
Harbor manages images through projects. You need create your project by clicking *+ NEW PRORJECT*:
80
+
*Harbor* manages container images through projects. A project contains all image repositories of an application. Images cannot be pushed to *Harbor* before a project is created. By default, there is a public project *library* pre-created. You can create your project by clicking *+ NEW PRORJECT*:
65
81
66
82

67
83
68
-
The preconfigured *admin*user is the default member to each project with *Project Admin* role.
84
+
You should always create a private project to restrict any user to pull images from the project. You can further add quota to limit project usage of registry capacity. The *demo* project is created using the default unlimited (-1) quota.
69
85
70
-

86
+
You can then create users and add them as the members to a project using RBAC.
71
87
72
-
There are two new users, *pcai-developer*, & *pcai-admin*, have been created:
88
+
Two users, *pcai-developer*, & *pcai-admin*, are created:
0 commit comments