More doc reorg
@ -13,18 +13,26 @@ This section describes how to install Harbor and perform the required initial co
|
||||
- [Run the Installer Script](install_config/installation/run_installer_script.md)
|
||||
- [Troubleshooting Harbor Installation
|
||||
](install_config/installation/troubleshoot_installation.md)
|
||||
|
||||
You can also use Helm to install Harbor on a Kubernetes cluster, to make it highly available. For information about installing Harbor with Helm on a Kubernetes cluster, see the [Harbor High Availability Guide](https://github.com/goharbor/harbor-helm/blob/master/docs/High%20Availability.md) in the https://github.com/goharbor/harbor-helm repository.
|
||||
- [Configuring Harbor](install_config/configuration/_index.md)
|
||||
- [Reconfigure Harbor and Manage the Harbor Lifecycle](install_config/configuration/reconfigure_manage_lifecycle.md)
|
||||
- [Configure HTTPS Access to Harbor](install_config/configuration/configure_https.md)
|
||||
- [Customize the Harbor Token Service](install_config/configuration/customize_token_service.md)
|
||||
- [Access Harbor Logs](install_config/configuration/access_logs.md)
|
||||
|
||||
|
||||
## Harbor Administration
|
||||
|
||||
This section describes how to use, upgrade, and maintain Harbor after deployment. These day 2 operations are performed by the Harbor Administrator.
|
||||
This section describes how to use and maintain Harbor after deployment. These day 2 operations are performed by the Harbor Administrator.
|
||||
|
||||
- [](administration/)
|
||||
- [](administration/)
|
||||
- [](administration/)
|
||||
- [Managing Users](administration/managing_users/_index.md)
|
||||
- [Harbor Role Based Access Control (RBAC)](administration/managing_users/configure_rbac.md)
|
||||
- [Configure Harbor User Settings at the Command Line](administration/managing_users/configure_user_settings_cli.md)
|
||||
- [Manage Roles by LDAP Group](administration/managing_users/manage_role_by_ldap_group.md)
|
||||
- [Upgrading Harbor](administration/upgrade/_index.md)
|
||||
- [Upgrade Harbor and Migrate Data](administration/upgrade/upgrade_migrate_data.md)
|
||||
- [Roll Back an Upgrade](administration/upgrade/roll_back_upgrade.md)
|
||||
|
||||
## Working with Harbor Projects
|
||||
|
||||
|
4
docs/harbor-doc-reorg/administration/_index.md
Normal file
@ -0,0 +1,4 @@
|
||||
# Harbor Administration
|
||||
|
||||
- [Managing Users](managing_users/_index.md)
|
||||
- [Upgrading Harbor](upgrade/_index.md)
|
@ -0,0 +1,5 @@
|
||||
# Managing Users
|
||||
|
||||
- [Harbor Role Based Access Control (RBAC)](configure_rbac.md)
|
||||
- [Configure Harbor User Settings at the Command Line](configure_user_settings_cli.md)
|
||||
- [Manage Roles by LDAP Group](manage_role_by_ldap_group.md)
|
@ -1,4 +1,4 @@
|
||||
# Role Based Access Control (RBAC)
|
||||
# Harbor Role Based Access Control (RBAC)
|
||||
|
||||
![rbac](../img/rbac.png)
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Config Harbor user settings by command line
|
||||
# Configure Harbor User Settings at the Command Line
|
||||
|
||||
After release 1.8.0, all user settings are separated from system settings, it can not be configured in config file anymore. Users need to configure it with admin privileges in web console or via HTTP request.
|
||||
|
@ -1,4 +1,4 @@
|
||||
## Introduction
|
||||
# Manage Roles by LDAP Group
|
||||
|
||||
This guide provides instructions to manage roles by LDAP/AD group. You can import an LDAP/AD group to Harbor and assign project roles to it. All LDAP/AD users in this LDAP/AD group have assigned roles.
|
||||
|
4
docs/harbor-doc-reorg/administration/upgrade/_index.md
Normal file
@ -0,0 +1,4 @@
|
||||
# Upgrading Harbor
|
||||
|
||||
- [Upgrade Harbor and Migrate Data](upgrade_migrate_data.md)
|
||||
- [Roll Back an Upgrade](roll_back_upgrade.md)
|
@ -0,0 +1,34 @@
|
||||
# Roll Back an Upgrade
|
||||
|
||||
If, for any reason, you want to roll back to the previous version of Harbor, perform the following steps:
|
||||
|
||||
1. Stop and remove the current Harbor service if it is still running.
|
||||
|
||||
```sh
|
||||
cd harbor
|
||||
docker-compose down
|
||||
```
|
||||
|
||||
2. Remove current Harbor instance.
|
||||
|
||||
```sh
|
||||
rm -rf harbor
|
||||
```
|
||||
|
||||
3. Restore the older version package of Harbor.
|
||||
|
||||
```sh
|
||||
mv /my_backup_dir/harbor harbor
|
||||
```
|
||||
|
||||
4. Restore database, copy the data files from backup directory to you data volume, by default `/data/database`.
|
||||
|
||||
5. Restart Harbor service using the previous configuration.
|
||||
If previous version of Harbor was installed by a release build:
|
||||
|
||||
```sh
|
||||
cd harbor
|
||||
./install.sh
|
||||
```
|
||||
|
||||
**NOTE**: While you can roll back an upgrade to the state before you started the upgrade, Harbor does not support downgrades.
|
@ -1,4 +1,4 @@
|
||||
# Harbor Upgrade and Migration Guide
|
||||
# Upgrade Harbor and Migrate Data
|
||||
|
||||
This guide covers upgrade and migration to version 1.9.0. This guide only covers migration from v1.7.x and later to the current version. If you are upgrading from an earlier version, refer to the migration guide in the `release-1.7.0` branch to upgrade to v1.7.x first, then follow this guide to perform the migration to this version.
|
||||
|
||||
@ -14,7 +14,7 @@ Since the migration might alter the database schema and the settings of `harbor.
|
||||
- With the introduction of storage and artifact quotas in version 1.9.0, migration from 1.7.x and 1.8.x might take a few minutes. This is because the `core` walks through all blobs in the registry and populates the database with information about the layers and artifacts in projects.
|
||||
- With the introduction of storage and artifact quotas in version 1.9.0, replication between version 1.9.0 and a previous version of Harbor does not work. You must upgrade all Harbor nodes to 1.9.0 if you have configured replication between them.
|
||||
|
||||
## Upgrading Harbor and Migrating Data
|
||||
## Procedure
|
||||
|
||||
1. Log in to the host that Harbor runs on, stop and remove existing Harbor instance if it is still running:
|
||||
|
||||
@ -61,39 +61,4 @@ Since the migration might alter the database schema and the settings of `harbor.
|
||||
|
||||
**NOTE:** The schema upgrade and data migration of the database is performed by core when Harbor starts, if the migration fails, please check the log of core to debug.
|
||||
|
||||
6. Under the directory `./harbor`, run the `./install.sh` script to install the new Harbor instance. If you choose to install Harbor with components such as Notary, Clair, and chartmuseum, refer to [Installation & Configuration Guide](../docs/installation_guide.md) for more information.
|
||||
|
||||
## Roll Back from an Upgrade
|
||||
|
||||
If, for any reason, you want to roll back to the previous version of Harbor, perform the following steps:
|
||||
|
||||
1. Stop and remove the current Harbor service if it is still running.
|
||||
|
||||
```sh
|
||||
cd harbor
|
||||
docker-compose down
|
||||
```
|
||||
|
||||
2. Remove current Harbor instance.
|
||||
|
||||
```sh
|
||||
rm -rf harbor
|
||||
```
|
||||
|
||||
3. Restore the older version package of Harbor.
|
||||
|
||||
```sh
|
||||
mv /my_backup_dir/harbor harbor
|
||||
```
|
||||
|
||||
4. Restore database, copy the data files from backup directory to you data volume, by default `/data/database`.
|
||||
|
||||
5. Restart Harbor service using the previous configuration.
|
||||
If previous version of Harbor was installed by a release build:
|
||||
|
||||
```sh
|
||||
cd harbor
|
||||
./install.sh
|
||||
```
|
||||
|
||||
**NOTE**: While you can roll back an upgrade to the state before you started the upgrade, Harbor does not support downgrades.
|
||||
6. Under the directory `./harbor`, run the `./install.sh` script to install the new Harbor instance. If you choose to install Harbor with components such as Notary, Clair, and chartmuseum, refer to [Installation & Configuration Guide](../docs/installation_guide.md) for more information.
|
BIN
docs/harbor-doc-reorg/img/360.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
docs/harbor-doc-reorg/img/UserMaDai.jpg
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
docs/harbor-doc-reorg/img/Yanrong.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
docs/harbor-doc-reorg/img/add_labels_to_images.png
Normal file
After Width: | Height: | Size: 231 KiB |
BIN
docs/harbor-doc-reorg/img/add_member.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
docs/harbor-doc-reorg/img/api_explorer_btn.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
docs/harbor-doc-reorg/img/authorize.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
docs/harbor-doc-reorg/img/axatp.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
docs/harbor-doc-reorg/img/bar_chart.png
Normal file
After Width: | Height: | Size: 195 KiB |
BIN
docs/harbor-doc-reorg/img/beegoLogo.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
5
docs/harbor-doc-reorg/img/bell-outline-badged.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg version="1.1" width="36" height="36" viewBox="0 0 36 36" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>bell-outline-badged</title>
|
||||
<path class="clr-i-outline--badged clr-i-outline-path-1--badged" d="M18,34.28A2.67,2.67,0,0,0,20.58,32H15.32A2.67,2.67,0,0,0,18,34.28Z"></path><path class="clr-i-outline--badged clr-i-outline-path-2--badged" d="M32.51,27.83A14.4,14.4,0,0,1,30,24.9a12.63,12.63,0,0,1-1.35-4.81V15.15a10.92,10.92,0,0,0-.16-1.79,7.44,7.44,0,0,1-2.24-.84,8.89,8.89,0,0,1,.4,2.64v4.94a14.24,14.24,0,0,0,1.65,5.85,16.17,16.17,0,0,0,2.44,3H5.13a16.17,16.17,0,0,0,2.44-3,14.24,14.24,0,0,0,1.65-5.85V15.15A8.8,8.8,0,0,1,18,6.31a8.61,8.61,0,0,1,4.76,1.44A7.49,7.49,0,0,1,22.5,6c0-.21,0-.42,0-.63a10.58,10.58,0,0,0-3.32-1V3.11a1.33,1.33,0,1,0-2.67,0V4.42A10.81,10.81,0,0,0,7.21,15.15v4.94A12.63,12.63,0,0,1,5.86,24.9a14.4,14.4,0,0,1-2.47,2.93,1,1,0,0,0-.34.75v1.36a1,1,0,0,0,1,1h27.8a1,1,0,0,0,1-1V28.58A1,1,0,0,0,32.51,27.83Z"></path><circle class="clr-i-outline--badged clr-i-outline-path-1--badged clr-i-badge" cx="30" cy="6" r="5"></circle>
|
||||
<rect x="0" y="0" width="36" height="36" fill-opacity="0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
BIN
docs/harbor-doc-reorg/img/beyondsoft.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
docs/harbor-doc-reorg/img/bingocloud.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
docs/harbor-doc-reorg/img/bocoit.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
docs/harbor-doc-reorg/img/boer.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
docs/harbor-doc-reorg/img/browse_project.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
docs/harbor-doc-reorg/img/browse_project_repositories.png
Normal file
After Width: | Height: | Size: 208 KiB |
BIN
docs/harbor-doc-reorg/img/build_history.png
Normal file
After Width: | Height: | Size: 934 KiB |
BIN
docs/harbor-doc-reorg/img/caicloud.png
Normal file
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 95 KiB |
BIN
docs/harbor-doc-reorg/img/chartrepo/chart_dependencies.png
Normal file
After Width: | Height: | Size: 86 KiB |
BIN
docs/harbor-doc-reorg/img/chartrepo/chart_details.png
Normal file
After Width: | Height: | Size: 220 KiB |
BIN
docs/harbor-doc-reorg/img/chartrepo/chart_values.png
Normal file
After Width: | Height: | Size: 308 KiB |
After Width: | Height: | Size: 212 KiB |
BIN
docs/harbor-doc-reorg/img/chartrepo/list_chart_versions.png
Normal file
After Width: | Height: | Size: 167 KiB |
BIN
docs/harbor-doc-reorg/img/chartrepo/list_charts.png
Normal file
After Width: | Height: | Size: 187 KiB |
BIN
docs/harbor-doc-reorg/img/chartrepo/upload_charts.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
docs/harbor-doc-reorg/img/china-mobile.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
docs/harbor-doc-reorg/img/clair_not_ready.png
Normal file
After Width: | Height: | Size: 156 KiB |
BIN
docs/harbor-doc-reorg/img/clair_not_ready2.png
Normal file
After Width: | Height: | Size: 173 KiB |
BIN
docs/harbor-doc-reorg/img/clair_ready.png
Normal file
After Width: | Height: | Size: 155 KiB |
BIN
docs/harbor-doc-reorg/img/cloudchef.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
docs/harbor-doc-reorg/img/cloudstar.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
docs/harbor-doc-reorg/img/content_trust.png
Normal file
After Width: | Height: | Size: 198 KiB |
BIN
docs/harbor-doc-reorg/img/create_project.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
docs/harbor-doc-reorg/img/create_rule.png
Normal file
After Width: | Height: | Size: 118 KiB |
BIN
docs/harbor-doc-reorg/img/cve-whitelist1.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
docs/harbor-doc-reorg/img/cve-whitelist2.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
docs/harbor-doc-reorg/img/cve-whitelist3.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
docs/harbor-doc-reorg/img/cve-whitelist4.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
docs/harbor-doc-reorg/img/cve-whitelist5.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
docs/harbor-doc-reorg/img/cve-whitelist6.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
docs/harbor-doc-reorg/img/dataman.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
docs/harbor-doc-reorg/img/datayes.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
docs/harbor-doc-reorg/img/delete_rule.png
Normal file
After Width: | Height: | Size: 104 KiB |
BIN
docs/harbor-doc-reorg/img/demos/content_trust.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
docs/harbor-doc-reorg/img/demos/image_replication.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
docs/harbor-doc-reorg/img/demos/rbac.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
docs/harbor-doc-reorg/img/demos/vul_scan.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
docs/harbor-doc-reorg/img/dianrong.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
docs/harbor-doc-reorg/img/download_harbor_certs.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
docs/harbor-doc-reorg/img/edit_description.png
Normal file
After Width: | Height: | Size: 153 KiB |
BIN
docs/harbor-doc-reorg/img/filter_images_by_label.png
Normal file
After Width: | Height: | Size: 232 KiB |
BIN
docs/harbor-doc-reorg/img/gc_details.png
Normal file
After Width: | Height: | Size: 444 KiB |
BIN
docs/harbor-doc-reorg/img/gc_history.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
docs/harbor-doc-reorg/img/gc_now.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
docs/harbor-doc-reorg/img/gc_now2.png
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
docs/harbor-doc-reorg/img/gc_policy.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
docs/harbor-doc-reorg/img/group/ldap_group_addgroup.png
Normal file
After Width: | Height: | Size: 169 KiB |
BIN
docs/harbor-doc-reorg/img/group/ldap_group_addgroup_dialog.png
Normal file
After Width: | Height: | Size: 99 KiB |
BIN
docs/harbor-doc-reorg/img/group/ldap_group_config.png
Normal file
After Width: | Height: | Size: 234 KiB |
BIN
docs/harbor-doc-reorg/img/ha/Architecture.png
Normal file
After Width: | Height: | Size: 192 KiB |
BIN
docs/harbor-doc-reorg/img/ha/LabInstallation.png
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
docs/harbor-doc-reorg/img/harbor-arch.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
docs/harbor-doc-reorg/img/harbor_logo.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
docs/harbor-doc-reorg/img/hydsoft.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
docs/harbor-doc-reorg/img/ifre.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
docs/harbor-doc-reorg/img/jd.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
docs/harbor-doc-reorg/img/jobservice/js-arch.png
Normal file
After Width: | Height: | Size: 116 KiB |
BIN
docs/harbor-doc-reorg/img/jobservice/js-deploy.png
Normal file
After Width: | Height: | Size: 100 KiB |
BIN
docs/harbor-doc-reorg/img/ldap_auth.png
Normal file
After Width: | Height: | Size: 250 KiB |
BIN
docs/harbor-doc-reorg/img/list_stop_executions.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
docs/harbor-doc-reorg/img/list_tasks.png
Normal file
After Width: | Height: | Size: 250 KiB |
BIN
docs/harbor-doc-reorg/img/log_search_advanced.png
Normal file
After Width: | Height: | Size: 168 KiB |
BIN
docs/harbor-doc-reorg/img/log_viewer.png
Normal file
After Width: | Height: | Size: 340 KiB |
BIN
docs/harbor-doc-reorg/img/manage_global_level_labels.png
Normal file
After Width: | Height: | Size: 192 KiB |
BIN
docs/harbor-doc-reorg/img/manage_project_level_labels.png
Normal file
After Width: | Height: | Size: 205 KiB |
BIN
docs/harbor-doc-reorg/img/manage_registry.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
docs/harbor-doc-reorg/img/manage_replication.png
Normal file
After Width: | Height: | Size: 102 KiB |
BIN
docs/harbor-doc-reorg/img/new_add_member.png
Normal file
After Width: | Height: | Size: 213 KiB |
BIN
docs/harbor-doc-reorg/img/new_auth.png
Normal file
After Width: | Height: | Size: 191 KiB |
BIN
docs/harbor-doc-reorg/img/new_browse_project.png
Normal file
After Width: | Height: | Size: 168 KiB |
BIN
docs/harbor-doc-reorg/img/new_config_email.png
Normal file
After Width: | Height: | Size: 220 KiB |
BIN
docs/harbor-doc-reorg/img/new_config_token.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
docs/harbor-doc-reorg/img/new_create_policy.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
docs/harbor-doc-reorg/img/new_create_project.png
Normal file
After Width: | Height: | Size: 95 KiB |