{"id":9425,"date":"2025-10-11T05:16:48","date_gmt":"2025-10-10T23:46:48","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=9425"},"modified":"2025-10-11T05:17:30","modified_gmt":"2025-10-10T23:47:30","slug":"how-to-add-a-disk-quota-for-harbor-projects","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-add-a-disk-quota-for-harbor-projects\/","title":{"rendered":"How to Add a Disk Quota for Harbor Projects?"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\"><strong>Introduction:<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In Harbor, disk quotas help administrators control the amount of storage each project can use. By setting quotas, we can prevent individual projects from consuming excessive disk space, ensuring optimal performance and fair resource distribution across all users. Harbor (v2.9.0 and later) supports setting quotas through both the <strong>web interface<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Prerequisites:<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Must log in to Harbor using admin access.<\/li>\n\n\n\n<li>Sufficient Backend Storage<\/li>\n\n\n\n<li>The Project Quotas feature is available in Harbor version <strong>2.0<\/strong> or later.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step1:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Log in to the <strong>Harbor portal<\/strong> using an <strong>admin<\/strong> account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-1.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"690\" height=\"826\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-1.png\" alt=\"\" class=\"wp-image-9427\" style=\"width:203px;height:auto\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-1.png 690w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-1-251x300.png 251w\" sizes=\"(max-width: 690px) 100vw, 690px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From the left sidebar, navigate to <strong>Administration \u2192 Project Quotas<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-2.png\"><img decoding=\"async\" width=\"406\" height=\"698\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-2.png\" alt=\"\" class=\"wp-image-9428\" style=\"width:156px;height:auto\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-2.png 406w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-2-174x300.png 174w\" sizes=\"(max-width: 406px) 100vw, 406px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Project Quotas<\/strong> page lists all existing projects with their respective owners and storage usage.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-4.png\"><img decoding=\"async\" width=\"1024\" height=\"385\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-4-1024x385.png\" alt=\"\" class=\"wp-image-9430\" style=\"width:500px;height:auto\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-4-1024x385.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-4-300x113.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-4-768x289.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-4-1536x578.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-4-797x300.png 797w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-4.png 1602w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 4:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select the project(s) you want to modify and click the <strong>Edit<\/strong> button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"383\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-5-1024x383.png\" alt=\"\" class=\"wp-image-9431\" style=\"width:486px;height:auto\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-5-1024x383.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-5-300x112.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-5-768x287.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-5-1536x574.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-5-802x300.png 802w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-5.png 1621w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 5:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enter the new quota limit (e.g., <code>25 GiB<\/code>, <code>50 GiB<\/code>, etc.).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"393\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-6-1024x393.png\" alt=\"\" class=\"wp-image-9432\" style=\"width:491px;height:auto\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-6-1024x393.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-6-300x115.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-6-768x294.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-6-1536x589.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-6-782x300.png 782w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-6.png 1604w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 6:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click <strong>Save<\/strong> to apply the change.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Configuring project quotas in Harbor is a straightforward and effective way to manage storage usage across your container registry. Using the <strong>Project Quotas<\/strong> interface (as shown in the screenshot), administrators can easily track usage, enforce limits, and prevent storage overconsumption.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: In Harbor, disk quotas help administrators control the amount of storage each project can use. By setting quotas, we [&hellip;]<\/p>\n","protected":false},"author":496,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[],"class_list":["post-9425","post","type-post","status-publish","format-standard","hentry","category-web-architecture","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-2s1","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/9425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/496"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=9425"}],"version-history":[{"count":4,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/9425\/revisions"}],"predecessor-version":[{"id":9436,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/9425\/revisions\/9436"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=9425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=9425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=9425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}