Skip to content

Commit

Permalink
Merge pull request #10713 from goharbor/fix-images
Browse files Browse the repository at this point in the history
Fixed image links
  • Loading branch information
michmike committed Feb 12, 2020
2 parents 3a67859 + c16db08 commit 5e34ba0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions docs/1.10/administration/configure-project-quotas.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ By default, all projects have unlimited quotas for both tags and storage use.

1. Select the **Project Quotas** view.

![Project quotas](../../img/project-quota1.png)
![Project quotas](../img/project-quota1.png)
1. To set global default quotas on all projects, click **Edit**.

![Project quotas](../../img/project-quota2.png)
![Project quotas](../img/project-quota2.png)

1. For **Default artifact count**, enter the maximum number of tags that any project can contain at a given time, or enter `-1` to set the default to unlimited.
1. For **Default storage consumption**, enter the maximum quantity of storage that any project can consume, selecting `MB`, `GB`, or `TB` from the drop-down menu, or enter `-1` to set the default to unlimited.
![Project quotas](../../img/project-quota3.png)
![Project quotas](../img/project-quota3.png)

1. Click **OK**.
1. To set quotas on an individual project, click the 3 vertical dots next to a project and select **Edit**.
![Project quotas](../../img/project-quota4.png)
![Project quotas](../img/project-quota4.png)
1. For **Default artifact count**, enter the maximum number of tags that this individual project can contain, or enter `-1` to set the default to unlimited.
1. For **Default storage consumption**, enter the maximum quantity of storage that this individual project can consume, selecting `MB`, `GB`, or `TB` from the drop-down menu.

After you set quotas, you can see how much of their quotas each project has consumed.

![Project quotas](../../img/project-quota5.png)
![Project quotas](../img/project-quota5.png)

### How Harbor Calculates Resource Usage

Expand Down
6 changes: 3 additions & 3 deletions docs/1.10/administration/garbage-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ When you delete images from Harbor, space is not automatically freed up. You mus
1. Expand **Administration**, and select **Garbage Collection**.
1. Select the **'Garbage Collection'** tab.

![Garbage collection](../../img/garbage-collection.png)
![Garbage collection](../img/garbage-collection.png)

1. To run garbage collection immediately, click **GC Now**.

Expand All @@ -25,7 +25,7 @@ To avoid triggering the garbage collection process too frequently, the availabil
1. Select the **'Garbage Collection'** tab.
1. Use the drop down-menu to select how often to run garbage collection.

![Schedule garbage collection](../../img/gc-policy.png)
![Schedule garbage collection](../img/gc-policy.png)

* **None**: No garbage collection is scheduled.
* **Hourly**: Run garbage collection at the beginning of every hour.
Expand All @@ -35,6 +35,6 @@ To avoid triggering the garbage collection process too frequently, the availabil
1. Click **Save**.
1. Select the **History** tab to view records of the 10 most recent garbage collection runs.

![Garbage collection history](../../img/gc-history.png)
![Garbage collection history](../img/gc-history.png)

1. Click on the **Logs** link to view the related logs.
8 changes: 4 additions & 4 deletions docs/1.10/administration/general-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ You can configure Harbor to connect to an email server, set the registry in read

You can configure Harbor to connect to an email server. The email server is only used to send out responses to users who request to reset their password.

![browse project](../../img/new-config-email.png)
![browse project](../img/new-config-email.png)

## Make the Registry Read Only

You can set Harbor to read-only mode. In read-only mode, Harbor allows `docker pull` but prevents `docker push` and the deletion of repositories and tags.

![Read-only mode](../../img/read-only.png)
![Read-only mode](../img/read-only.png)

If it set to true, deleting repositories, tags and pushing images are not permitted.

![browse project](../../img/read-only-enable.png)
![browse project](../img/read-only-enable.png)

```sh
docker push 10.117.169.182/demo/ubuntu:14.04
Expand All @@ -32,4 +32,4 @@ denied: The system is in read only mode. Any modification is prohibited.

Use the **Project Creation** drop-down menu to set which users can create projects. Select **Everyone** to allow all users to create projects. Select **Admin Only** to allow only users with the Harbor system administrator role to create projects.

![browse project](../../img/new-proj-create.png)
![browse project](../img/new-proj-create.png)

0 comments on commit 5e34ba0

Please sign in to comment.