Skip to content

Commit 6ea8edc

Browse files
committed
Added information about Online project hibernation
1 parent bc9eaef commit 6ea8edc

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

architecture/core_concepts/projects_and_users.adoc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,30 @@ endif::[]
134134
Developers and administrators can xref:../../dev_guide/projects.adoc#dev-guide-projects[interact
135135
with projects] using xref:../../cli_reference/index.adoc#cli-reference-index[the CLI] or the
136136
xref:../infrastructure_components/web_console.adoc#architecture-infrastructure-components-web-console[web console].
137+
138+
ifdef::openshift-online[]
139+
[[projects-hibenation]]
140+
=== Project Hibernation
141+
In {product-title} Starter, a project exceeding 54 cumulative quota-hours of
142+
usage in a rolling 72-hour period must sleep for the next 18 hours. Also, a
143+
project that has been inactive for more than 30 minutes will be idled. When a
144+
project's network activity falls below a configured threshold, a project is
145+
deemed inactive. When a project is idled, the replica count is set to `0` and
146+
all pods are deleted. All persistent volumes (PVs) and persistent volume claims
147+
(PVCs) in the project are left untouched. Upon receiving network traffic, the
148+
replica count will be scaled back to whatever it was before being idled.
149+
150+
Quota-hours are calculated as the maximum between percentage of terminating and
151+
non-terminating pod resource quota consumed, multiplied by the running time of
152+
those pods. For example, 2 terminating pods each using half of the available
153+
memory quota for 1 hour will be counted as 1 terminating quota-hour.
154+
155+
When the project is in force-sleep, the replica count is set to `0` and all
156+
individual pods are deleted. All PVCs and PVs in the project are left untouched.
157+
After the force-sleep period is over, a project is put in an idled state, where
158+
the replica count is `0`, but the force-sleep resource quota is removed. Upon
159+
receiving network traffic, the project's replica counts will be restored to
160+
their pre-sleep value and pods will be created.
161+
162+
In {product-title} Pro, projects do not hibernate.
163+
endif::[]

0 commit comments

Comments
 (0)