Skip to content

Commit fcd8c65

Browse files
committed
Added information about Online project hibernation
1 parent 1e5ceb5 commit fcd8c65

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

architecture/core_concepts/projects_and_users.adoc

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,26 @@ include any application objects for access by multiple projects, such as
146146
templates and images. These objects should be those that do not require
147147
communication between the pods.
148148

149-
150-
151-
149+
ifdef::openshift-online[]
150+
[[projects-hibenation]]
151+
=== Project Hibernation
152+
In {product-title} Starter, a project exceeding 16 cumulative quota-hours of
153+
usage in a rolling 24-hour period must sleep, or _hibernate_, for the next 18 hours.
154+
155+
In {product-title} Pro, projects do not hibernate.
156+
157+
Quota-hours are calculated as the maximum between percentage of terminating and
158+
non-terminating pod resource quota consumed, multiplied by the running time of
159+
those pods. For example, 2 terminating pods each using half of the available
160+
memory quota for 1 hour will be counted as 1 terminating quota-hour.
161+
162+
When the project is in hibernation, the replica count is set to `0` and all
163+
individual pods are deleted. All PVCs and PVs in the project are left untouched.
164+
After the hibernation period is over, a project is put in an idled state, where
165+
the replica count is `0`, but the force-sleep resource quota is removed. Upon
166+
receiving network traffic, the project's replica counts will be restored to
167+
their pre-hibernation value and pods will be created.
168+
169+
If network traffic does not restore a project's replica counts, then you may
170+
have to manually scale up the deployment.
171+
endif::[]

0 commit comments

Comments
 (0)